Skip to content

IgorStetsiuk/Slider

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slider

Simple pure js slider with options

Options object

defaults settings

 {  itemsPerPage: 1,
    itemsToSlide: 1,
    bullets: false,
    arrows: true,
    infinity: false,
    transition: 'ease-out',
    duration: 1500,
    autoPlay: false
 }
 

itemsPerPage(number)

The number of slides to be shown.

itemsToSlide(number)

The number of slides which will be slide away

bullets(boolean)

True if you want to show bullets under slider-container otherwise false

arrows(boolean)

Show left and right arrow or not

infinity (number)

Loop the slides around

transition (string)

Function which will be used to switching between slides

duration (number)

Slide transition duration in milliseconds

autoPlay (boolean)

If this feature is enable arrows and bullets will we disabled Set interval according to duration

About

pure js slider

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published