]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add doc comments for new historyHandled param 9674/head
authorKevin Ball <kmball11@gmail.com>
Mon, 23 Jan 2017 17:57:04 +0000 (09:57 -0800)
committerKevin Ball <kmball11@gmail.com>
Mon, 23 Jan 2017 17:57:04 +0000 (09:57 -0800)
js/foundation.tabs.js

index 9df528d9779d242f8f5aada49272b8e76690bd2b..adda044d4bdd01cbfde22783b1254c666df62a1e 100644 (file)
@@ -210,6 +210,7 @@ class Tabs {
   /**
    * Opens the tab `$targetContent` defined by `$target`. Collapses active tab.
    * @param {jQuery} $target - Tab to open.
+   * @param {boolean} historyHandled - browser has already handled a history update
    * @fires Tabs#change
    * @function
    */
@@ -302,6 +303,7 @@ class Tabs {
   /**
    * Public method for selecting a content pane to display.
    * @param {jQuery | String} elem - jQuery object or string of the id of the pane to display.
+   * @param {boolean} historyHandled - browser has already handled a history update
    * @function
    */
   selectTab(elem, historyHandled) {