diff --git a/README.md b/README.md index bc130fd..d91801e 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,7 @@ Swipe can take an optional second parameter – an object of key/value settings: | **speed** | Integer | 300 | speed of prev and next transitions in milliseconds. | | **auto** | Integer | 0 | when specified, start an auto-playing slideshow (time in milliseconds between slide change). | | **continuous** | Boolean | true | create an infinite feel with no endpoints. | +| **partial** | Boolean or Number | false | to show the previous and next slides partially. Either you can pass as `true` or any number in the between `.01` to `.19` | | **autoRestart** | Boolean | false | auto restart slideshow after user's touch event or next/prev calls. | | **disableScroll** | Boolean | false | prevent any touch events on this container from scrolling the page. | | **stopPropagation** | Boolean | false | stop event propagation. | 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 - +