0.0.7 • Published 5 years ago
vue-fly-scroll v0.0.7
Vue Fly Scroll
Basic Usage
Import as a component:
import VueFlyScroll from 'vue-fly-scroll';
components: {
VueFlyScroll;
}Basic template structure:
<vue-fly-scroll>
<template v-slot:background>
// here goes fixed content
</template>
<template v-slot:foreground>
// here goes scrollable content
</template>
</vue-fly-scroll>Events
<vue-fly-scroll
@index="$event"
/>| Event | Description |
|---|---|
| index | ... |
| progress | ... |
| offset | ... |
| activeSections | ... |
| direction | ... |
| delayedProgress | ... |
| delayedOffset | ... |
Name reference
https://en.wikipedia.org/wiki/Fly_system