@gomah/vue-lory
Version:
Vue Slider Component is based on lory
55 lines (39 loc) ⢠929 B
Markdown
# lory
ā Touch enabled minimalistic slider for Vue, it is based on [lory](https://github.com/meandmax/lory).
## Installation
```console
$ npm install vue-lory --save
```
## Examples
```vue
<template>
<lory :options="{ enableMouseEvents: true, infinite: 1 }">
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<prev slot="actions"></prev>
<next slot="actions"></next>
</lory>
</template>
<script>
import { Lory, Item, Prev, Next } from 'vue-lory'
export default {
components: {
Lory,
Item,
Prev,
Next
}
}
</script>
```
## Badges


---
> [fundon.me](https://fundon.me) ·
> GitHub [@fundon](https://github.com/fundon) ·
> Twitter [@_fundon](https://twitter.com/_fundon)