2.1.0 • Published 3 years ago
riot-scroll-animation v2.1.0
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>