1.1.9 • Published 7 years ago

veer-vue-slider v1.1.9

Weekly downloads
7
License
MIT
Repository
github
Last release
7 years ago

veer-vue-slider

About

Veer is a simple Vue Js (v2) slider that attempts to handle whatever you want to throw at it. Please let me know what scenarios throw this thing off so I can adjust.

Installation

yarn add veer-vue-slider

or

npm install --save-dev veer-vue-slider

Basic Usage

In your javascript or component:

import Vue from 'vue'

import Veer from './components/Veer'

new Vue({
  el: '#app',
  components: { Veer }
})

In your HTML or .vue template:

<div id="app">
  <veer>
    <img src="/static/davide-cantelli-139887.jpg">
    <img src="/static/eugene-lim-260668.jpg">
    <img src="/static/paul-earle-183430.jpg">
  </veer>
</div>

Options

You can pass your options through in an object through the options prop.

  <veer :options="{autoplay:false}">
    ...
  </veer>

Below are the available options and the defaults

autoplay: true,
mode: 'fade',
initialDelay: 0,
speed: 4000,
showPrevNext: true,
showPages: true,
pageClass: 'veer-pages',
arrowClass: 'veer-arrows',
width: 'auto',
height: 'auto'

Examples

Clone the project and run

npm run dev

Modify the index.html file

1.1.9

7 years ago

1.1.8

7 years ago

1.1.7

7 years ago

1.1.6

7 years ago

1.1.5

7 years ago

1.1.4

7 years ago

1.1.3

7 years ago

1.1.2

7 years ago

1.1.1

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago