From: Daniel Ruf Date: Sat, 16 Jun 2018 07:15:56 +0000 (+0200) Subject: Use pull request #10950 from DanielRuf/docs/orbit-slide-direction for v6.5.0 X-Git-Tag: v6.5.0-rc.1^2~134 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02bb99adff379375c1d4775d33c634232c7ea8de;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Use pull request #10950 from DanielRuf/docs/orbit-slide-direction for v6.5.0 48792666f docs: make clear how isLTR in Orbit.changeSlide defines the slide animation behavior Signed-off-by: Nicolas Coden --- 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