Releases: ganlanyuan/tiny-slider
v2.8.1
- Fixed: a SASS syntax issue #226
- Fixed: a QuotaExceededError issue #224
- Fixed: a
nav
issue for autoWidth slider by settingnavAsThumbnails: true
- Fixed: a layout issue when slider is frozen after resize #228
- Changed:
edgePadding
forfixedWidth
slider is now the same as other types of sliders - Deleted: tiny-slider.module.js which is almost the same with tiny-slider.js
v2.8.0
-
Added:
autoWidth
#150 -
Added: fractional number support for
items
/slideBy
#217 -
Improved: refine
indexMax
forfixedWidth
andautoWidth
-
Improved: add a new div to hide overflowed slides
-
Fixed: an edgePadding calculation issue when slider has gutter
-
Fixed: update
navCurrentIndexCached
at the right place -
Fixed:
touch/mouseDrag
forgallery
mode #219 -
Fixed: some other issues related to
vpOuter
,vpInner
and more
v2.7.4
-
Added: events
newBreakpointStart
,newBreakpointEnd
#183 -
Changed: goto() now use index start from 1
-
Improved: use a new method to detect browser support of percentage width on both parent and child elements instead of merely check subpixel layout support #190
-
Fixed: an timing issue in MS Edge when do container transform
-
Fixed: an issue in navInit
-
Fixed: an index issue in goTo() for loop carousel
-
Fixed: a wrong event on
touchmove/dragmove
-
Fixed: an error when localStorage access was blocked #215
-
Fixed: a page overlapping issue in
gallery
mode when click nav -
Fixed: functions
getImageArray()
andgetMaxSlideHeight()
-
Fixed: a layout issue on MS Edge browsers #190
-
Fixed:
vpInner
in sliderInit() -
Fixed: update the time of firing
touchEnd/dragEnd
event -
Fixed: a vertical slider height issue when images didn't finish loading
v2.7.3
- Added: option
useLocalStorage
. - Improved: use 3d transforms which enable GPU and make the slider smoother. #162
- Improved: removed unnecessary
innerWrapper
inlinetransition-duration
style. - Fixed: some issues related to lazyload when
loop: false
, hasedgePadding
set and slides are few thanitems
. #172 - Fixed: a syntax issue in
getInnerWrapperStyles()
which cause theedgePadding
offixedWidth
slider couldn't been set properly in slider initialization. #210
v2.7.2
v2.7.1
v2.7.0
- Added: new option
prevButton
,nextButton
,swipeAngle
,fixedWidthViewportWidth
#194 - Improved: clone needed slides only. This greatly reduce the cloned slides number in most cases. #175
- Improved: continuously clicking/touching/draging #171
- Improved: move
transition-duration
to stylesheet - Improved: optimize resizing, touching, draging related functions
- Improved: update image loading check strategy
- Improved: add
sheet
to info Object - Fixed: gallery mode:
loop: false
is available now #146 #188 - Fixed: gallery: remove default
autoHeight: true
#180 - Fixed: a syntax issue when generating nav
- Fixed: remove slide amount check #170
- Fixed: a vertical slider resize issue #179
- Fixed: mouseup doesn't release the slider #186
- Fixed: form can not be clicked when mouseDrag is on #164
- Fixed: an issue with localStorage
v2.6.0
- Added:
rebuild()
method to rebuild the slider after it's destroyed;isOn
property to indicate if the slider is live or destroyed. - Improved:
autoplay
will not restart on window resize even ifautoplay: true
if it's paused by user. - Fixed: slider doesn't work with
drag
event if it's initialized inside adisplay: none
parent element. #148 - Fixed: an issue when do
destroy()
in conjunction with window resizing. #144 #159 - Fixed: an issue in IE "Assignment to read-only properties is not allowed". #123 #149
v2.5.2
v2.5.1
- Added:
play
,pause
functions forautoplay
. #137
var slider = tns({
autoplay: true,
…
});
document.querySelector('.stop').addEventListener('click', function () {
slider.pause();
});