slidev-component-scroll
v1.1.0
Published
Scroll navigation component for Slidev
Downloads
14
Readme
slidev-component-scroll
Scroll navigation component for Slidev
.
Navigate through the slides using the mouse wheel.
Installation
npm i slidev-component-scroll
Configuration
Define this package into your slidev addons.
In your slides metadata (using frontmatter):
---
addons:
- slidev-component-scroll
---
Or in your package.json
:
{
"slidev": {
"addons": [
"slidev-component-scroll"
]
}
}
Usage
Create a ./global-top.vue
file in your Slidev
project and use the component:
<template>
<Scroll/>
</template>
Components
Scroll
Component for the scroll feature:
<Scroll/>