1.0.0 • Published 7 years ago

lhbzr-slider v1.0.0

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

LHBZR's Slider

JS Standard Style MIT License

A slider written in ECMAScript 6 combined with GreenSock Animation Platform.

Installation

npm install lhbzr-slider

Usage

Only what's necessary!

import Slider from 'lhbzr-slider'

const slider = new Slider({
  element: '.slider',
  wrapper: '.slider-wrapper',
  items: '.slider-item',
  navigation: true,
  navigationPrevious: '.slider-button-previous',
  navigationNext: '.slider-button-next',
  current: 0
})

Sites

Some examples of implementations with this slider.

Inspirations

This sliders is heavy inspired by Lucas Bebber's article, to not say that's just a copy.