UNPKG

tiny-slider

Version:

Vanilla javascript slider for all purposes, inspired by Owl Carousel.

17 lines (15 loc) • 371 B
// Element.nextElementSibling (function () { "use strict"; if (!("nextElementSibling" in document.documentElement)) { Object.defineProperty(Element.prototype, "nextElementSibling", { get: function(){ var e = this.nextSibling; while(e && 1 !== e.nodeType) { e = e.nextSibling; } return e; } }); } })();