From 0c3152c88d108a39b6f235300dd56fac81748aa6 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich
Date: Fri, 3 Apr 2020 13:28:38 +0200
Subject: docs: update js api docs
Signed-off-by: Jo-Philipp Wich
---
docs/jsapi/LuCI.ui.html | 156 +++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 155 insertions(+), 1 deletion(-)
(limited to 'docs/jsapi/LuCI.ui.html')
diff --git a/docs/jsapi/LuCI.ui.html b/docs/jsapi/LuCI.ui.html
index 855151253..0d2768f8f 100644
--- a/docs/jsapi/LuCI.ui.html
+++ b/docs/jsapi/LuCI.ui.html
@@ -1048,6 +1048,8 @@
hideModal
+ instantiateView
+
itemlist
pingDevice
@@ -2974,6 +2976,158 @@ handler as-is without the need to bind it first.
+
+
+
+
+
+
+
+
+ instantiateView(path) {Promise.<LuCI.view >}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Load specified view class path and set it up.
+
Transforms the given view path into a class name, requires it
+using LuCI.require()
and asserts that the
+resulting class instance is a descendant of
+LuCI.view
.
+
By instantiating the view class, its corresponding contents are
+rendered and included into the view area. Any runtime errors are
+catched and rendered using LuCI.error()
.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Name
+
+
+ Type
+
+
+
+ Description
+
+
+
+
+
+
+
+
+ path
+
+
+
+
+
+string
+
+
+
+
+
+
+
+
+
+ The view path to render.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Returns:
+
+
+
+
+
+
+
+ Type
+ Description
+
+
+
+
+
+
+
+
+ Promise.<LuCI.view >
+
+
+
+ Returns a promise resolving to the loaded view instance.
+
+
+
+
+
+
+
+
@@ -4290,7 +4444,7 @@ cancelled by the user.
- Documentation generated by JSDoc 3.6.3 on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
+ Documentation generated by JSDoc 3.6.3 on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
--
cgit v1.2.3