Vanilla javascript slider for all purposes.
Added: add classname for cloned slides #533 #559
Added: Add nonce option (CSP) #158 #528
Improved: Use epsilon insted of foFixed #464
Fixed: Fix console error 'Cannot read property 'appendChild' of null' #429
Fixed: Check image.complete in case image has been already loaded #436
Fixed: Check if event is cancelable before calling preventDefault #437
Fixed: Adds type="button" to all
Fixed: Issue with destroying slides with no nav container #383 #384
Fixed: Fix an issue with responsiveness when page is resized below a breakpoint #361 #387
Fixed: Fix an issue with lazyloadSelector
Fixed: Dots nav doesn't display on resize if the page is loaded first on viewport where slider is disabled #375 #512
Fixed: Fix mediaquerySupport helper #504 #570
Fixed: Fix style checking with autoWidth slider when only 1 item is present
Fixed: Fix getIndexMax() for autoWidth
Others: Updated tiny-slider.d.ts; Fixed some typos.
nav
issue with non loop slidersrc
attributes are not setAdded: option center
#271
Added: live region to reflect page change
Improved: totally rebuild nav
functions. nav
is now static. #290
Changed: stop forcing outer slider autoHeight
to be true
Changed: slidePositions
now include the end edge of the last element
Fixed: a function declaration issue in strict mode #332
Fixed: an issue with lazyload
which leaves images at opacity 0.6 #346
Fixed: a viewport calculation error because of the scrollbar change after the slider initialization.
Fixed: an issue with autoHeight
in Edge browser #341
Fixed: an issue that passive listener is not used when scrolling in cases it could be used #342
Fixed: an issue which hides active nav
item when customize nav
is used
Fixed: a possible QuotaExceededError #224
Removed: key functions with keys up
, down
, pageup
, pagedown
, home
and end
to prevent conflict with other page actions
Removed: unnecessary tabindex="0", type="button"
Added: new options preventScrollOnTouch
(#324, #162), preventActionWhenRunning
(#318), lazyloadSelector
(#270), controlsPosition
, navPosition
, autoplayPosition
(#314)
Added: displayIndex
to info object #304
Added: eventName to the callback function of the custom events #280
Added: class "failed" to images failing to load when lazyload
is on
Imporved: stop autoplay
on drag/touch #298
Fixed: slide width in vertical
sliders in some old browsers
Fixed: an issue with customized controls
Fixed: an issue when touch/drag start
Fixed: getIndexMax()
for fixedWidth
Fixed: getClientWidth()
Fixed: an touch issue in ios safari/chrome when autoWidth
is on #315
Fixed: class "loaded" is added when image fail to load #284
Fixed: an issue in nav click event listener #316
Fixed: an accessibility issue with nav
because the using of aria-select
#92
Fixed: an edgePadding
error in responsive field when its value is 0
#111
Fixed: a gallery gutter issue
Fixed: an issue in initTools()
when use customized controls
Fixed: the "Buttons must have discernible text" error for page buttons #308
Fixed: lazyload
on IE11 #306
Fixed: left
values of slides in gallery
mode in some browsers
Fixed: a controlsContainer
issue #325
srcset
support when lazy load images. #265 (Thanks @marcaj)margin-left
attribute on gallery
slides.autoHeight
on resize.items
. #259gallery
mode by setting active sliders as relative positioned. #260startAutoplay()
excute 2 times when set autoHeight: true
. #258destroy()
. #255destroy()
.vertical
slider issue in initialization. #251destroy()
when option container
is an Object. #250transformCore()
.version
property to tns
.id
attribute to outer wrapper. #249slidePositions
in slider initialization when styles are not fully applied.refresh
to refresh vertical slider when it's switched from display: none
to display: block
#242resize
event listener only when neededautoHeight: true
#235fixedWidth
slider issue when viewport is smaller than slide widthrebuild()
localStorage
related issueresponsive
issue by converting breakpoint strings to numbers in for-in loops #234tns
directly in the <script>
index
in goTo
#230transformCore()
for IE8-9onPanMove()