diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-04-16 15:41:31 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-04-16 15:41:31 +0200 |
commit | a8366b01b7c8a7314c9423821ee361cb566c628e (patch) | |
tree | 58a4dd4d92b93fb1862a5545a40892545653e6c7 /docs/jsapi/ui.js.html | |
parent | 111670245e04fc13ad99336df8c2627566ec4b2f (diff) |
docs: update js api docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'docs/jsapi/ui.js.html')
-rw-r--r-- | docs/jsapi/ui.js.html | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/docs/jsapi/ui.js.html b/docs/jsapi/ui.js.html index d20fe4056b..b58cf93f94 100644 --- a/docs/jsapi/ui.js.html +++ b/docs/jsapi/ui.js.html @@ -3062,6 +3062,8 @@ <span class="subtitle">Methods</span> + <li data-name="LuCI.ui.menu#flushCache"><a href="LuCI.ui.menu.html#flushCache">flushCache</a></li> + <li data-name="LuCI.ui.menu#getChildren"><a href="LuCI.ui.menu.html#getChildren">getChildren</a></li> <li data-name="LuCI.ui.menu#load"><a href="LuCI.ui.menu.html#load">load</a></li> @@ -6306,6 +6308,14 @@ var UIMenu = baseclass.singleton(/** @lends LuCI.ui.menu.prototype */ { }, /** + * Flush the internal menu cache to force loading a new structure on the + * next page load. + */ + flushCache: function() { + session.setLocalData('menu', null); + }, + + /** * @param {LuCI.ui.menu.MenuNode} [node] * The menu node to retrieve the children for. Defaults to the menu's * internal root node if omitted. @@ -7722,7 +7732,7 @@ return UI; <footer> - Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 16 2020 13:30:42 GMT+0200 (Central European Summer Time) + Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time) </footer> </div> </div> |