lhbzr-slider

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i lhbzr-slider

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • lhbzr