riot-scroll-animation
v2.1.0
Published
RIOT plugin for data-scroll-animation
Downloads
13
Readme
riot plugin for data-scroll-animation
Installation
npm install data-scroll-animation
Usage
Anywhere before riot component mount:
import "riot-scroll-animation";
Then inside the component export specify the hasDataScrollAnimation
property
<component>
<!-- component -->
<script>
export default {
hasDataScrollAnimation: true,
/* other properties and methods*/
}
</script>
</component>