/slidev-component-scroll

Scroll navigation component for Slidev

Primary LanguageVueMIT LicenseMIT

slidev-component-scroll

NPM version

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/>