Configure Scroll-Reveal?
abattenburg opened this issue · 2 comments
abattenburg commented
Thanks for the excellent library! Is there anyway to change scroll reveal defaults? For example the overall duration?
tserkov commented
Absolutely! Just pass a valid ScrollReveal configuration object to the directive as a value, like so:
<section v-scroll-reveal="{ duration: 200 }">
<h1>Tada!</h1>
</section>
If this doesn't answer your question, please feel free to re-open the issue.
abattenburg commented
Awesome, thanks for the simple example!