vues-lory

0.0.7 • Public • Published

lory

☀ Touch enabled minimalistic slider for Vue, it is based on lory.

Installation

$ npm install vues-lory --save

Examples

<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  ·  GitHub @fundon  ·  Twitter @_fundon

Package Sidebar

Install

npm i vues-lory

Weekly Downloads

5

Version

0.0.7

License

MIT

Last publish

Collaborators

  • suyanlu