Tiny Slider Versions Save

Vanilla javascript slider for all purposes.

v2.8.1

5 years ago
  • Fixed: a SASS syntax issue #226
  • Fixed: a QuotaExceededError issue #224
  • Fixed: a nav issue for autoWidth slider by setting navAsThumbnails: true
  • Fixed: a layout issue when slider is frozen after resize #228
  • Changed: edgePadding for fixedWidth 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

5 years ago
  • Added: autoWidth #150

  • Added: fractional number support for items/slideBy #217

  • Improved: refine indexMax for fixedWidth and autoWidth

  • 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 for gallery mode #219

  • Fixed: some other issues related to vpOuter, vpInner and more

v2.7.4

5 years ago
  • 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() and getMaxSlideHeight()

  • 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

5 years ago
  • Added: option useLocalStorage.
  • Improved: use 3d transforms which enable GPU and make the slider smoother. #162
  • Improved: removed unnecessary innerWrapper inline transition-duration style.
  • Fixed: some issues related to lazyload when loop: false, has edgePadding set and slides are few than items. #172
  • Fixed: a syntax issue in getInnerWrapperStyles() which cause the edgePadding of fixedWidth slider couldn't been set properly in slider initialization. #210

v2.7.2

5 years ago
  • Fixed: add rewind support for gallery mode.
  • Fixed: some issues for gallery mode. #206

v2.7.1

5 years ago
  • Fix an issue in getItemsMax() #201

v2.7.0

5 years ago
  • 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

6 years ago
  • 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 if autoplay: true if it's paused by user.
  • Fixed: slider doesn't work with drag event if it's initialized inside a display: 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

6 years ago
  • Improved: navAsThumbnails now works on native nav. #143
  • Fixed: localStorage is null on some versions of Chrome Mobile. #134
  • Fixed: rewind now can go backward on the first slide. #141
  • Fixed: some issues on gallery mode on resize. #140

v2.5.1

6 years ago
  • Added: play, pause functions for autoplay. #137
var slider = tns({
  autoplay: true,
  … 
});

document.querySelector('.stop').addEventListener('click', function () {
  slider.pause();
});
  • Improved: startIndex now can be defined in responsive field. #138
  • Fixed: outlet animation fail to run. #135 #139
  • Fixed: an index issue in gallery mode.