comic-viewer
A comic viewer built on Riot.js.
See this demo.
Configure via attributes
title
: set title if needed (default empty)first-page-spread
: setyes
to make the first view double-faced (defaultno
)direction
: setcomic
for LtoR (defaultmanga
)pages
: set image urls likeimages/[000-003].jpg
.[000-003]
will expand to000
001
002
003
.height
: set height of viewwidth
: set width of view (default 100%)
Note: pages
attribute is always required.
License
MIT © Tsutomu Kawamura