From 7b0086fbc4a94b1b00e101fb1ba74e65177ab38e Mon Sep 17 00:00:00 2001 From: Intizar Ahmad Date: Mon, 29 Nov 2021 20:16:50 +0530 Subject: [PATCH 1/7] show previous and next slide partially --- build/swipe.min.js | 2 +- docs/index.html | 5 +- docs/style.css | 2 +- swipe.js | 127 +++++++++++++++++++++++++++++++++++++-------- 4 files changed, 109 insertions(+), 27 deletions(-) diff --git a/build/swipe.min.js b/build/swipe.min.js index a51b134..c946556 100644 --- a/build/swipe.min.js +++ b/build/swipe.min.js @@ -1 +1 @@ -!function(t,e){t=t||{},"function"==typeof define&&define.amd?define([],function(){return t.Swipe=e(),t.Swipe}):"object"==typeof module&&module.exports?module.exports=e():t.Swipe=e()}(this,function(){var e,Q="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||this,W=Q.document;function Swipe(r,a){"use strict";function e(){}function n(t){return!!t&&("boolean"!=typeof t.cancelable||t.cancelable)}var o,t,s={},u={},l=(a=a||{}).auto||0,i=!1,c=function(t){setTimeout(t||e,0)};Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(t){for(var e=(this.document||this.ownerDocument).querySelectorAll(t),n=e.length;0<=--n&&e.item(n)!==this;);return-1m/2,i=!E&&0p/2,i=!y&&0License - +