matthewp / comic-reader

A comic reader web component
https://pkg.spooky.click/comic-reader/
9 stars 1 forks source link

Allow transition duration to be set #24

Open matthewp opened 5 years ago

matthewp commented 5 years ago

From the outside. This is for page transitions.

comic-reader {
  --page-transition-duration: 0.1s;
}
matthewp commented 5 years ago

This should be documented, probably want a section for CSS customization.

Need to note that none is invalid here, as currently we rely on animation events to recycle the canvas nodes.

matthewp commented 5 years ago

Going to start working on the website. Debating if I should move all documentation there are not. Will hold off on this until that is decided.