@gomah/vue-lory

0.0.7 • Public • Published

lory

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

Installation

$ npm install vue-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

/@gomah/vue-lory/

    Package Sidebar

    Install

    npm i @gomah/vue-lory

    Weekly Downloads

    3

    Version

    0.0.7

    License

    MIT

    Unpacked Size

    5.82 kB

    Total Files

    9

    Last publish

    Collaborators

    • gomah