1.0.0 • Published 7 years ago
lhbzr-slider v1.0.0
LHBZR's Slider
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.
1.0.0
7 years ago