1.0.0 • Published 2 years ago
motion-io v1.0.0
MotionIO
Animation components using AnimeJS and Intersection Observer for Vanilla JS and Vue.
Props - Motion ( Vue )
Prop | Type | Required | Default | Notes |
---|---|---|---|---|
once | Boolean | false | false | |
observerRoot | Object | false | { root: null, rootMargin: '0px' } | |
threshold | Function / Array / Number | false | 0.5 | |
children | Array / Boolean | false | false | |
custom | Object | false | null | |
delay | Number / Function | false | 0 | |
duration | Number / Function | false | 1000 (ms) | |
easing | String / Function | false | 'linear' | |
preset | String | false | 'fadeIn' | |
svg | Boolean | false | false | |
stagger | Array / Number | false | null |
Note
Readme is a work-in-progress. More to come.
1.0.0
2 years ago