3 ms·
> Wait, so you could actually do all of that and then let it interact with APIs as well? With epub? I hope not! > I guess it depends on what reader you're tar
by inetknght 6y ago
> Wait, so you could actually do all of that and then let it interact with APIs as well?
With epub? I hope not!
> I guess it depends on what reader you're targetting then. A quick cursory search shows that not all of them support JS. Makes sense to me.
Any epub reader supporting javascript would very much be an antifeature.
- smnrchrds 6y agoIt would be a gem in the hands of someone like Bret Victor.
- GRiMe2D 6y agoEPUB3.0 spec includes Javascript. So probably much of existing readers support Javascript. IRRC, iBook on Mac also supports javascript, but it is activated after user clicking. https://www.w3.org/publishing/epub3/epub-contentdocs.html#sec-scripted-content https://www.w3.org/publishing/epub3/epub-contentdocs.html#se...