]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
docs: make clear how isLTR in Orbit.changeSlide defines the slide animation behavior 10950/head
authorDaniel Ruf <daniel@daniel-ruf.de>
Sat, 17 Feb 2018 14:42:14 +0000 (15:42 +0100)
committerDaniel Ruf <daniel@daniel-ruf.de>
Sat, 17 Feb 2018 14:48:19 +0000 (15:48 +0100)
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