From: Daniel Ruf Date: Sat, 17 Feb 2018 14:42:14 +0000 (+0100) Subject: docs: make clear how isLTR in Orbit.changeSlide defines the slide animation behavior X-Git-Tag: v6.6.0~43^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48792666f;p=thirdparty%2Ffoundation%2Ffoundation-sites.git docs: make clear how isLTR in Orbit.changeSlide defines the slide animation behavior --- diff --git a/js/foundation.orbit.js b/js/foundation.orbit.js index 38b837904..a754d7ad7 100644 --- a/js/foundation.orbit.js +++ b/js/foundation.orbit.js @@ -303,7 +303,7 @@ class Orbit extends Plugin { /** * Changes the current slide to a new one. * @function - * @param {Boolean} isLTR - flag if the slide should move left to right. + * @param {Boolean} isLTR - if true the slide moves from right to left, if false the slide moves from left to right. * @param {jQuery} chosenSlide - the jQuery element of the slide to show next, if one is selected. * @param {Number} idx - the index of the new slide in its collection, if one chosen. * @fires Orbit#slidechange