Releases
v1.0.0
First Major Release
Breaking changes
Initialization method is now a function instead of a constructor
e.g. new SimpleSlider()
-> simpleslider.getSlider()
Renamed option properties
transitionDuration
-> duration
transitionProperty
-> prop
transitionDelay
-> delay
startValue
-> init
visibleValue
-> show
endValue
-> end
autoPlay
-> reversed value into paused
No more access to internal properties
actualIndex
is now a currentIndex()
method
Container is now set via a container
property of options, init function only takes one parameter now
Default values uses now %
values instead of px
unit
is now a option property instead of being figured out from other values
Improvements
Dropped OOP approach in favor of a more functional programming oriented
Distribution file is now less than half the size from v0.6.x
sitting at 1.13kb minified/gzipped
Each slider only uses a single animation loop for both inserting and removing slides
Additions
Added a reverse()
method that change the order of sliding elements and the direction of animation
Added a children
option that allows to select which children of the container element should be used as slides
Added a way of running initialization func with no options, hooking the container to an element in the dom using data-simple-slider
data attribute
Added saucelabs browser functional tests for future PRs
Fixes
visibility change event listener is now cleared on dispose()
New infrastructure
Source code in ES2015+ compiled using babel
Unit tests now uses webpack + jest
Functional tests run on zuul + jasmine that allow us to run functional tests on multiple browsers in saucelabs
Dropped develop
branch, now there's a v0.x.x-legacy
branch that allows to keep supporting v0
You can’t perform that action at this time.