]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Use pull request #10950 from DanielRuf/docs/orbit-slide-direction for v6.5.0
authorDaniel Ruf <daniel@daniel-ruf.de>
Sat, 16 Jun 2018 07:15:56 +0000 (09:15 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sat, 16 Jun 2018 07:15:56 +0000 (09:15 +0200)
48792666f docs: make clear how isLTR in Orbit.changeSlide defines the slide animation behavior

Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
js/foundation.orbit.js

index 38b83790489fceb65bfe62c2939bc8db9749a1a4..a754d7ad784f4b8370b007227d57b6fad2fa8611 100644 (file)
@@ -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