Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bespoyasov/vue-scroller

Vue component wrapper for Scroller.
https://github.com/bespoyasov/vue-scroller

component drag-and-drop scroller ui vue vue-component

Last synced: 3 months ago
JSON representation

Vue component wrapper for Scroller.

Awesome Lists containing this project

README

        

# Vue Scroller

Vue wrapper component for [Scroller](https://github.com/bespoyasov/scroller).

## Installation

`npm install vue-prokrutchik`

## Usage

```html

import Scroller from "vue-prokrutchik";

export default {
components: {
Scroller,
},
data() {
return {
position: 150,
duration: 250,

scrollbar: "visible",
navigation: "visible",
align: "center",

onItemClick: (event) => {
/* event is Touch event or MouseEvent */
},
};
},
};


First Item

Second Item

Third Item

@import "vue-prokrutchik/style.css";

```

## Configuration

For more configuration options, check out [Scroller settings](https://github.com/bespoyasov/scroller#configuration).