🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

veer-vue-slider

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

veer-vue-slider

Slider for VueJS 2

1.1.9
latest
Source
npm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

vue

FAQs

Package last updated on 11 Aug 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts