Track Vue.js components visibility during scroll.
https://alexananiev.com/vuesible (will be available soon)
npm install vuesible --save
or
yarn add vuesible
This is a 'pilot' version. Naming, API, etc. might be changed dramatically in following versions.
import Vuesible from 'vuesible'
export default {
mixins: [Vuesible()]
}
<my-component @appeared="doStuff()"/>
Major
- appeared
- fully-appeared
- disapeared
- partially-disapeared
- top-edge-appeared
- top-edge-disappeared
- bottom-edge-appeared
- bottom-edge-disappeared