From: Kevin Ball Date: Mon, 23 Jan 2017 17:57:04 +0000 (-0800) Subject: Add doc comments for new historyHandled param X-Git-Tag: 6.3.1~27^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F9674%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Add doc comments for new historyHandled param --- diff --git a/js/foundation.tabs.js b/js/foundation.tabs.js index 9df528d97..adda044d4 100644 --- a/js/foundation.tabs.js +++ b/js/foundation.tabs.js @@ -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) {