docs: update js api docs
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
f9d61213fb
commit
0c3152c88d
40 changed files with 308 additions and 44 deletions
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -2942,7 +2944,7 @@ and the values extracted from the <code>args</code> array beginning with
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -4500,7 +4502,7 @@ ignored, else not.</p>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -4087,7 +4089,7 @@ the failure reason.</td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -2115,7 +2117,7 @@ Note: Header-Names are case-insensitive.</p>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -6043,7 +6045,7 @@ else <code>null</code>.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -4060,7 +4062,7 @@ when it is down or absent.</td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -3041,7 +3043,7 @@ is used as hint.</td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -6124,7 +6126,7 @@ configuration.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -3407,7 +3409,7 @@ configuration.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -5900,7 +5902,7 @@ configuration.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -7755,7 +7757,7 @@ conjunction with <code>quality</code> to calculate a quality percentage.</p></td
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -2498,7 +2500,7 @@ run to begin with.</td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -3433,7 +3435,7 @@ instances as sole argument during the HTTP request transfer.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -2617,7 +2619,7 @@ else <code>null</code>.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -2575,7 +2577,7 @@ using <code>String()</code> and treated as response text.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -3845,7 +3847,7 @@ to the <code>expect</code> and <code>filter</code> declarations.</td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -5393,7 +5395,7 @@ associated name as arguments.</p>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -3084,7 +3086,7 @@ converted to a string and treated as validation error message.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -3231,7 +3233,7 @@ it is required for HTML based form submissions.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -3261,7 +3263,7 @@ choice value as second argument.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -3164,7 +3166,7 @@ forcibly set to <code>true</code>.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -3962,7 +3964,7 @@ expression. Only applicable when <code>create</code> is <code>true</code>.</p></
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -3339,7 +3341,7 @@ it to remain unselected.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -3188,7 +3190,7 @@ ACL setup for the current session.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -2942,7 +2944,7 @@ trigger validation runs, e.g. when programmatically altering values.</p>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -3291,7 +3293,7 @@ selected yet. Only applicable to the <code>select</code> widget type.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -3240,7 +3242,7 @@ contents.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -3168,7 +3170,7 @@ corresponding <code><input></code> element is empty.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -2352,7 +2354,7 @@ is removed.</p>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -2974,6 +2976,158 @@ handler as-is without the need to bind it first.</p>
|
|||
|
||||
|
||||
|
||||
</dd>
|
||||
|
||||
|
||||
|
||||
<dt>
|
||||
<div class="nameContainer">
|
||||
<h4 class="name" id="instantiateView">
|
||||
|
||||
instantiateView<span class="signature">(path)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.<<a href="LuCI.view.html">LuCI.view</a>>}</span>
|
||||
</h4>
|
||||
|
||||
|
||||
<div class="tag-source">
|
||||
<a href="ui.js.html">ui.js</a>, <a href="ui.js.html#line4289">line 4289</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</dt>
|
||||
<dd>
|
||||
|
||||
|
||||
<div class="description">
|
||||
<p>Load specified view class path and set it up.</p>
|
||||
<p>Transforms the given view path into a class name, requires it
|
||||
using <a href="LuCI.html#require"><code>LuCI.require()</code></a> and asserts that the
|
||||
resulting class instance is a descendant of
|
||||
<a href="LuCI.view.html"><code>LuCI.view</code></a>.</p>
|
||||
<p>By instantiating the view class, its corresponding contents are
|
||||
rendered and included into the view area. Any runtime errors are
|
||||
catched and rendered using <a href="LuCI.html#error"><code>LuCI.error()</code></a>.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Name</th>
|
||||
|
||||
|
||||
<th>Type</th>
|
||||
|
||||
|
||||
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="name"><code>path</code></td>
|
||||
|
||||
|
||||
<td class="type">
|
||||
|
||||
|
||||
<span class="param-type">string</span>
|
||||
|
||||
|
||||
|
||||
</td>
|
||||
|
||||
|
||||
|
||||
<td class="description last">
|
||||
|
||||
<p>The view path to render.</p></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
<dl class="details">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h5>Returns:</h5>
|
||||
|
||||
|
||||
|
||||
<table class="params">
|
||||
<thead>
|
||||
<tr>
|
||||
|
||||
<th>Type</th>
|
||||
<th class="last">Description</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<tr>
|
||||
|
||||
<td class="type">
|
||||
|
||||
Promise.<<a href="LuCI.view.html">LuCI.view</a>>
|
||||
|
||||
|
||||
</td>
|
||||
<td class="description last">Returns a promise resolving to the loaded view instance.</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
|
||||
</dd>
|
||||
|
||||
|
||||
|
@ -4290,7 +4444,7 @@ cancelled by the user.</td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -2099,7 +2101,7 @@ DOM node.</p></td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -2703,7 +2705,7 @@ to a <code>Node</code> value.</td>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -2667,7 +2669,7 @@ when invoked.</p>
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -2141,7 +2143,7 @@ return FileSystem;
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -1728,7 +1730,7 @@
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -2039,7 +2041,7 @@
|
|||
* response objects using the `response.headers` property.
|
||||
*/
|
||||
var Headers = Class.extend(/** @lends LuCI.headers.prototype */ {
|
||||
__name__: 'LuCI.Headers',
|
||||
__name__: 'LuCI.headers',
|
||||
__init__: function(xhr) {
|
||||
var hdrs = this.headers = {};
|
||||
xhr.getAllResponseHeaders().split(/\r\n/).forEach(function(line) {
|
||||
|
@ -2092,7 +2094,7 @@
|
|||
* The `Response` class is an internal utility class representing HTTP responses.
|
||||
*/
|
||||
var Response = Class.extend({
|
||||
__name__: 'LuCI.Response',
|
||||
__name__: 'LuCI.response',
|
||||
__init__: function(xhr, url, duration, headers, content) {
|
||||
/**
|
||||
* Describes whether the response is successful (status codes `200..299`) or not
|
||||
|
@ -2914,7 +2916,7 @@
|
|||
* external JavaScript, use `L.require("dom").then(...)`.
|
||||
*/
|
||||
var DOM = Class.singleton(/* @lends LuCI.dom.prototype */ {
|
||||
__name__: 'LuCI.DOM',
|
||||
__name__: 'LuCI.dom',
|
||||
|
||||
/**
|
||||
* Tests whether the given argument is a valid DOM `Node`.
|
||||
|
@ -3535,7 +3537,7 @@
|
|||
* set of methods to inherit from.
|
||||
*/
|
||||
var View = Class.extend(/* @lends LuCI.view.prototype */ {
|
||||
__name__: 'LuCI.View',
|
||||
__name__: 'LuCI.view',
|
||||
|
||||
__init__: function() {
|
||||
var vp = document.getElementById('view');
|
||||
|
@ -4924,7 +4926,7 @@
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -5838,7 +5840,7 @@ return Network;
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -2191,7 +2193,7 @@ return baseclass.extend(/** @lends LuCI.rpc.prototype */ {
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -2656,7 +2658,7 @@ return baseclass.extend(/** @lends LuCI.uci.prototype */ {
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1048,6 +1048,8 @@
|
|||
|
||||
<li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
|
||||
|
||||
<li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
|
||||
|
@ -5970,6 +5972,38 @@ var UI = baseclass.extend(/** @lends LuCI.ui.prototype */ {
|
|||
}, this.varargs(arguments, 2, ctx));
|
||||
},
|
||||
|
||||
/**
|
||||
* Load specified view class path and set it up.
|
||||
*
|
||||
* Transforms the given view path into a class name, requires it
|
||||
* using [LuCI.require()]{@link LuCI#require} and asserts that the
|
||||
* resulting class instance is a descendant of
|
||||
* [LuCI.view]{@link 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()]{@link LuCI#error}.
|
||||
*
|
||||
* @param {string} path
|
||||
* The view path to render.
|
||||
*
|
||||
* @returns {Promise<LuCI.view>}
|
||||
* Returns a promise resolving to the loaded view instance.
|
||||
*/
|
||||
instantiateView: function(path) {
|
||||
var className = 'view.%s'.format(path.replace(/\//g, '.'));
|
||||
|
||||
return L.require(className).then(function(view) {
|
||||
if (!(view instanceof View))
|
||||
throw new TypeError('Loaded class %s is not a descendant of View'.format(className));
|
||||
|
||||
return view;
|
||||
}).catch(function(err) {
|
||||
dom.content(document.querySelector('#view'), null);
|
||||
L.error(err);
|
||||
});
|
||||
},
|
||||
|
||||
AbstractElement: UIElement,
|
||||
|
||||
/* Widgets */
|
||||
|
@ -5998,7 +6032,7 @@ return UI;
|
|||
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Thu Apr 02 2020 21:30:57 GMT+0200 (Central European Summer Time)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue