5 <title>Source: luci.js
</title>
8 <script src=
"scripts/prettify/prettify.js"></script>
9 <script src=
"scripts/prettify/lang-css.js"></script>
10 <script src=
"scripts/jquery.min.js"></script>
12 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
14 <link type=
"text/css" rel=
"stylesheet" href=
"styles/prettify-tomorrow.css">
15 <link type=
"text/css" rel=
"stylesheet" href=
"styles/bootstrap.min.css">
16 <link type=
"text/css" rel=
"stylesheet" href=
"styles/jaguar.css">
20 var config = {
"monospaceLinks":true,
"cleverLinks":true,
"default":{
"outputSourceFiles":true}};
27 <div id=
"wrap" class=
"clearfix">
29 <div class=
"navigation">
30 <h3 class=
"applicationName"><a href=
"index.html"></a></h3>
33 <input id=
"search" type=
"text" class=
"form-control input-sm" placeholder=
"Search Documentations">
37 <li class=
"item" data-name=
"LuCI">
39 <a href=
"LuCI.html">LuCI
</a>
42 <ul class=
"members itemMembers">
44 <span class=
"subtitle">Members
</span>
46 <li data-name=
"LuCI#Class"><a href=
"LuCI.html#Class">Class
</a></li>
48 <li data-name=
"LuCI#dom"><a href=
"LuCI.html#dom">dom
</a></li>
50 <li data-name=
"LuCI#env"><a href=
"LuCI.html#env">env
</a></li>
52 <li data-name=
"LuCI#naturalCompare"><a href=
"LuCI.html#naturalCompare">naturalCompare
</a></li>
54 <li data-name=
"LuCI#Poll"><a href=
"LuCI.html#Poll">Poll
</a></li>
56 <li data-name=
"LuCI#Request"><a href=
"LuCI.html#Request">Request
</a></li>
58 <li data-name=
"LuCI#view"><a href=
"LuCI.html#view">view
</a></li>
61 <ul class=
"typedefs itemMembers">
63 <span class=
"subtitle">Typedefs
</span>
65 <li data-name=
"LuCI.requestCallbackFn"><a href=
"LuCI.html#.requestCallbackFn">requestCallbackFn
</a></li>
68 <ul class=
"typedefs itemMembers">
71 <ul class=
"methods itemMembers">
73 <span class=
"subtitle">Methods
</span>
75 <li data-name=
"LuCI#bind"><a href=
"LuCI.html#bind">bind
</a></li>
77 <li data-name=
"LuCI#error"><a href=
"LuCI.html#error">error
</a></li>
79 <li data-name=
"LuCI#fspath"><a href=
"LuCI.html#fspath">fspath
</a></li>
81 <li data-name=
"LuCI#get"><a href=
"LuCI.html#get">get
</a></li>
83 <li data-name=
"LuCI#halt"><a href=
"LuCI.html#halt">halt
</a></li>
85 <li data-name=
"LuCI#hasSystemFeature"><a href=
"LuCI.html#hasSystemFeature">hasSystemFeature
</a></li>
87 <li data-name=
"LuCI#hasViewPermission"><a href=
"LuCI.html#hasViewPermission">hasViewPermission
</a></li>
89 <li data-name=
"LuCI#isObject"><a href=
"LuCI.html#isObject">isObject
</a></li>
91 <li data-name=
"LuCI#location"><a href=
"LuCI.html#location">location
</a></li>
93 <li data-name=
"LuCI#media"><a href=
"LuCI.html#media">media
</a></li>
95 <li data-name=
"LuCI#path"><a href=
"LuCI.html#path">path
</a></li>
97 <li data-name=
"LuCI#poll"><a href=
"LuCI.html#poll">poll
</a></li>
99 <li data-name=
"LuCI#post"><a href=
"LuCI.html#post">post
</a></li>
101 <li data-name=
"LuCI#raise"><a href=
"LuCI.html#raise">raise
</a></li>
103 <li data-name=
"LuCI#require"><a href=
"LuCI.html#require">require
</a></li>
105 <li data-name=
"LuCI#resolveDefault"><a href=
"LuCI.html#resolveDefault">resolveDefault
</a></li>
107 <li data-name=
"LuCI#resource"><a href=
"LuCI.html#resource">resource
</a></li>
109 <li data-name=
"LuCI#run"><a href=
"LuCI.html#run">run
</a></li>
111 <li data-name=
"LuCI#sortedArray"><a href=
"LuCI.html#sortedArray">sortedArray
</a></li>
113 <li data-name=
"LuCI#sortedKeys"><a href=
"LuCI.html#sortedKeys">sortedKeys
</a></li>
115 <li data-name=
"LuCI#stop"><a href=
"LuCI.html#stop">stop
</a></li>
117 <li data-name=
"LuCI#toArray"><a href=
"LuCI.html#toArray">toArray
</a></li>
119 <li data-name=
"LuCI#url"><a href=
"LuCI.html#url">url
</a></li>
122 <ul class=
"events itemMembers">
127 <li class=
"item" data-name=
"LuCI.baseclass">
129 <a href=
"LuCI.baseclass.html">LuCI.baseclass
</a>
132 <ul class=
"members itemMembers">
135 <ul class=
"typedefs itemMembers">
138 <ul class=
"typedefs itemMembers">
141 <ul class=
"methods itemMembers">
143 <span class=
"subtitle">Methods
</span>
145 <li data-name=
"LuCI.baseclass.extend"><a href=
"LuCI.baseclass.html#.extend">extend
</a></li>
147 <li data-name=
"LuCI.baseclass.instantiate"><a href=
"LuCI.baseclass.html#.instantiate">instantiate
</a></li>
149 <li data-name=
"LuCI.baseclass.isSubclass"><a href=
"LuCI.baseclass.html#.isSubclass">isSubclass
</a></li>
151 <li data-name=
"LuCI.baseclass.singleton"><a href=
"LuCI.baseclass.html#.singleton">singleton
</a></li>
153 <li data-name=
"LuCI.baseclass#super"><a href=
"LuCI.baseclass.html#super">super
</a></li>
155 <li data-name=
"LuCI.baseclass#varargs"><a href=
"LuCI.baseclass.html#varargs">varargs
</a></li>
158 <ul class=
"events itemMembers">
163 <li class=
"item" data-name=
"LuCI.dom">
165 <a href=
"LuCI.dom.html">LuCI.dom
</a>
168 <ul class=
"members itemMembers">
171 <ul class=
"typedefs itemMembers">
173 <span class=
"subtitle">Typedefs
</span>
175 <li data-name=
"LuCI.dom~ignoreCallbackFn"><a href=
"LuCI.dom.html#~ignoreCallbackFn">ignoreCallbackFn
</a></li>
178 <ul class=
"typedefs itemMembers">
181 <ul class=
"methods itemMembers">
183 <span class=
"subtitle">Methods
</span>
185 <li data-name=
"LuCI.dom#append"><a href=
"LuCI.dom.html#append">append
</a></li>
187 <li data-name=
"LuCI.dom#attr"><a href=
"LuCI.dom.html#attr">attr
</a></li>
189 <li data-name=
"LuCI.dom#bindClassInstance"><a href=
"LuCI.dom.html#bindClassInstance">bindClassInstance
</a></li>
191 <li data-name=
"LuCI.dom#callClassMethod"><a href=
"LuCI.dom.html#callClassMethod">callClassMethod
</a></li>
193 <li data-name=
"LuCI.dom#content"><a href=
"LuCI.dom.html#content">content
</a></li>
195 <li data-name=
"LuCI.dom#create"><a href=
"LuCI.dom.html#create">create
</a></li>
197 <li data-name=
"LuCI.dom#data"><a href=
"LuCI.dom.html#data">data
</a></li>
199 <li data-name=
"LuCI.dom#elem"><a href=
"LuCI.dom.html#elem">elem
</a></li>
201 <li data-name=
"LuCI.dom#findClassInstance"><a href=
"LuCI.dom.html#findClassInstance">findClassInstance
</a></li>
203 <li data-name=
"LuCI.dom#isEmpty"><a href=
"LuCI.dom.html#isEmpty">isEmpty
</a></li>
205 <li data-name=
"LuCI.dom#matches"><a href=
"LuCI.dom.html#matches">matches
</a></li>
207 <li data-name=
"LuCI.dom#parent"><a href=
"LuCI.dom.html#parent">parent
</a></li>
209 <li data-name=
"LuCI.dom#parse"><a href=
"LuCI.dom.html#parse">parse
</a></li>
212 <ul class=
"events itemMembers">
217 <li class=
"item" data-name=
"LuCI.form">
219 <a href=
"LuCI.form.html">LuCI.form
</a>
222 <ul class=
"members itemMembers">
225 <ul class=
"typedefs itemMembers">
228 <ul class=
"typedefs itemMembers">
231 <ul class=
"methods itemMembers">
234 <ul class=
"events itemMembers">
239 <li class=
"item" data-name=
"LuCI.form.AbstractElement">
241 <a href=
"LuCI.form.AbstractElement.html">LuCI.form.AbstractElement
</a>
244 <ul class=
"members itemMembers">
247 <ul class=
"typedefs itemMembers">
250 <ul class=
"typedefs itemMembers">
253 <ul class=
"methods itemMembers">
255 <span class=
"subtitle">Methods
</span>
257 <li data-name=
"LuCI.form.AbstractElement#append"><a href=
"LuCI.form.AbstractElement.html#append">append
</a></li>
259 <li data-name=
"LuCI.form.AbstractElement#parse"><a href=
"LuCI.form.AbstractElement.html#parse">parse
</a></li>
261 <li data-name=
"LuCI.form.AbstractElement#render"><a href=
"LuCI.form.AbstractElement.html#render">render
</a></li>
263 <li data-name=
"LuCI.form.AbstractElement#stripTags"><a href=
"LuCI.form.AbstractElement.html#stripTags">stripTags
</a></li>
265 <li data-name=
"LuCI.form.AbstractElement#titleFn"><a href=
"LuCI.form.AbstractElement.html#titleFn">titleFn
</a></li>
268 <ul class=
"events itemMembers">
273 <li class=
"item" data-name=
"LuCI.form.AbstractSection">
275 <a href=
"LuCI.form.AbstractSection.html">LuCI.form.AbstractSection
</a>
278 <ul class=
"members itemMembers">
280 <span class=
"subtitle">Members
</span>
282 <li data-name=
"LuCI.form.AbstractSection##parentoption"><a href=
"LuCI.form.AbstractSection.html#parentoption">parentoption
</a></li>
285 <ul class=
"typedefs itemMembers">
288 <ul class=
"typedefs itemMembers">
291 <ul class=
"methods itemMembers">
293 <span class=
"subtitle">Methods
</span>
295 <li data-name=
"LuCI.form.AbstractSection#append"><a href=
"LuCI.form.AbstractSection.html#append">append
</a></li>
297 <li data-name=
"LuCI.form.AbstractSection#cfgsections"><a href=
"LuCI.form.AbstractSection.html#cfgsections">cfgsections
</a></li>
299 <li data-name=
"LuCI.form.AbstractSection#cfgvalue"><a href=
"LuCI.form.AbstractSection.html#cfgvalue">cfgvalue
</a></li>
301 <li data-name=
"LuCI.form.AbstractSection#filter"><a href=
"LuCI.form.AbstractSection.html#filter">filter
</a></li>
303 <li data-name=
"LuCI.form.AbstractSection#formvalue"><a href=
"LuCI.form.AbstractSection.html#formvalue">formvalue
</a></li>
305 <li data-name=
"LuCI.form.AbstractSection#getOption"><a href=
"LuCI.form.AbstractSection.html#getOption">getOption
</a></li>
307 <li data-name=
"LuCI.form.AbstractSection#getUIElement"><a href=
"LuCI.form.AbstractSection.html#getUIElement">getUIElement
</a></li>
309 <li data-name=
"LuCI.form.AbstractSection#load"><a href=
"LuCI.form.AbstractSection.html#load">load
</a></li>
311 <li data-name=
"LuCI.form.AbstractSection#option"><a href=
"LuCI.form.AbstractSection.html#option">option
</a></li>
313 <li data-name=
"LuCI.form.AbstractSection#parse"><a href=
"LuCI.form.AbstractSection.html#parse">parse
</a></li>
315 <li data-name=
"LuCI.form.AbstractSection#render"><a href=
"LuCI.form.AbstractSection.html#render">render
</a></li>
317 <li data-name=
"LuCI.form.AbstractSection#stripTags"><a href=
"LuCI.form.AbstractSection.html#stripTags">stripTags
</a></li>
319 <li data-name=
"LuCI.form.AbstractSection#tab"><a href=
"LuCI.form.AbstractSection.html#tab">tab
</a></li>
321 <li data-name=
"LuCI.form.AbstractSection#taboption"><a href=
"LuCI.form.AbstractSection.html#taboption">taboption
</a></li>
323 <li data-name=
"LuCI.form.AbstractSection#titleFn"><a href=
"LuCI.form.AbstractSection.html#titleFn">titleFn
</a></li>
326 <ul class=
"events itemMembers">
331 <li class=
"item" data-name=
"LuCI.form.AbstractValue">
333 <a href=
"LuCI.form.AbstractValue.html">LuCI.form.AbstractValue
</a>
336 <ul class=
"members itemMembers">
338 <span class=
"subtitle">Members
</span>
340 <li data-name=
"LuCI.form.AbstractValue##datatype"><a href=
"LuCI.form.AbstractValue.html#datatype">datatype
</a></li>
342 <li data-name=
"LuCI.form.AbstractValue##default"><a href=
"LuCI.form.AbstractValue.html#default">default
</a></li>
344 <li data-name=
"LuCI.form.AbstractValue##editable"><a href=
"LuCI.form.AbstractValue.html#editable">editable
</a></li>
346 <li data-name=
"LuCI.form.AbstractValue##modalonly"><a href=
"LuCI.form.AbstractValue.html#modalonly">modalonly
</a></li>
348 <li data-name=
"LuCI.form.AbstractValue##onchange"><a href=
"LuCI.form.AbstractValue.html#onchange">onchange
</a></li>
350 <li data-name=
"LuCI.form.AbstractValue##optional"><a href=
"LuCI.form.AbstractValue.html#optional">optional
</a></li>
352 <li data-name=
"LuCI.form.AbstractValue##readonly"><a href=
"LuCI.form.AbstractValue.html#readonly">readonly
</a></li>
354 <li data-name=
"LuCI.form.AbstractValue##retain"><a href=
"LuCI.form.AbstractValue.html#retain">retain
</a></li>
356 <li data-name=
"LuCI.form.AbstractValue##rmempty"><a href=
"LuCI.form.AbstractValue.html#rmempty">rmempty
</a></li>
358 <li data-name=
"LuCI.form.AbstractValue##uciconfig"><a href=
"LuCI.form.AbstractValue.html#uciconfig">uciconfig
</a></li>
360 <li data-name=
"LuCI.form.AbstractValue##ucioption"><a href=
"LuCI.form.AbstractValue.html#ucioption">ucioption
</a></li>
362 <li data-name=
"LuCI.form.AbstractValue##ucisection"><a href=
"LuCI.form.AbstractValue.html#ucisection">ucisection
</a></li>
364 <li data-name=
"LuCI.form.AbstractValue##validate"><a href=
"LuCI.form.AbstractValue.html#validate">validate
</a></li>
366 <li data-name=
"LuCI.form.AbstractValue##width"><a href=
"LuCI.form.AbstractValue.html#width">width
</a></li>
369 <ul class=
"typedefs itemMembers">
372 <ul class=
"typedefs itemMembers">
375 <ul class=
"methods itemMembers">
377 <span class=
"subtitle">Methods
</span>
379 <li data-name=
"LuCI.form.AbstractValue#append"><a href=
"LuCI.form.AbstractValue.html#append">append
</a></li>
381 <li data-name=
"LuCI.form.AbstractValue#cbid"><a href=
"LuCI.form.AbstractValue.html#cbid">cbid
</a></li>
383 <li data-name=
"LuCI.form.AbstractValue#cfgvalue"><a href=
"LuCI.form.AbstractValue.html#cfgvalue">cfgvalue
</a></li>
385 <li data-name=
"LuCI.form.AbstractValue#depends"><a href=
"LuCI.form.AbstractValue.html#depends">depends
</a></li>
387 <li data-name=
"LuCI.form.AbstractValue#formvalue"><a href=
"LuCI.form.AbstractValue.html#formvalue">formvalue
</a></li>
389 <li data-name=
"LuCI.form.AbstractValue#getUIElement"><a href=
"LuCI.form.AbstractValue.html#getUIElement">getUIElement
</a></li>
391 <li data-name=
"LuCI.form.AbstractValue#getValidationError"><a href=
"LuCI.form.AbstractValue.html#getValidationError">getValidationError
</a></li>
393 <li data-name=
"LuCI.form.AbstractValue#isActive"><a href=
"LuCI.form.AbstractValue.html#isActive">isActive
</a></li>
395 <li data-name=
"LuCI.form.AbstractValue#isValid"><a href=
"LuCI.form.AbstractValue.html#isValid">isValid
</a></li>
397 <li data-name=
"LuCI.form.AbstractValue#load"><a href=
"LuCI.form.AbstractValue.html#load">load
</a></li>
399 <li data-name=
"LuCI.form.AbstractValue#parse"><a href=
"LuCI.form.AbstractValue.html#parse">parse
</a></li>
401 <li data-name=
"LuCI.form.AbstractValue#remove"><a href=
"LuCI.form.AbstractValue.html#remove">remove
</a></li>
403 <li data-name=
"LuCI.form.AbstractValue#render"><a href=
"LuCI.form.AbstractValue.html#render">render
</a></li>
405 <li data-name=
"LuCI.form.AbstractValue#stripTags"><a href=
"LuCI.form.AbstractValue.html#stripTags">stripTags
</a></li>
407 <li data-name=
"LuCI.form.AbstractValue#textvalue"><a href=
"LuCI.form.AbstractValue.html#textvalue">textvalue
</a></li>
409 <li data-name=
"LuCI.form.AbstractValue#titleFn"><a href=
"LuCI.form.AbstractValue.html#titleFn">titleFn
</a></li>
411 <li data-name=
"LuCI.form.AbstractValue#validate"><a href=
"LuCI.form.AbstractValue.html#validate">validate
</a></li>
413 <li data-name=
"LuCI.form.AbstractValue#write"><a href=
"LuCI.form.AbstractValue.html#write">write
</a></li>
416 <ul class=
"events itemMembers">
421 <li class=
"item" data-name=
"LuCI.form.ButtonValue">
423 <a href=
"LuCI.form.ButtonValue.html">LuCI.form.ButtonValue
</a>
426 <ul class=
"members itemMembers">
428 <span class=
"subtitle">Members
</span>
430 <li data-name=
"LuCI.form.ButtonValue##inputstyle"><a href=
"LuCI.form.ButtonValue.html#inputstyle">inputstyle
</a></li>
432 <li data-name=
"LuCI.form.ButtonValue##inputtitle"><a href=
"LuCI.form.ButtonValue.html#inputtitle">inputtitle
</a></li>
434 <li data-name=
"LuCI.form.ButtonValue##onclick"><a href=
"LuCI.form.ButtonValue.html#onclick">onclick
</a></li>
436 <li data-name=
"LuCI.form.ButtonValue#datatype"><a href=
"LuCI.form.ButtonValue.html#datatype">datatype
</a></li>
438 <li data-name=
"LuCI.form.ButtonValue#default"><a href=
"LuCI.form.ButtonValue.html#default">default
</a></li>
440 <li data-name=
"LuCI.form.ButtonValue#editable"><a href=
"LuCI.form.ButtonValue.html#editable">editable
</a></li>
442 <li data-name=
"LuCI.form.ButtonValue#modalonly"><a href=
"LuCI.form.ButtonValue.html#modalonly">modalonly
</a></li>
444 <li data-name=
"LuCI.form.ButtonValue#onchange"><a href=
"LuCI.form.ButtonValue.html#onchange">onchange
</a></li>
446 <li data-name=
"LuCI.form.ButtonValue#optional"><a href=
"LuCI.form.ButtonValue.html#optional">optional
</a></li>
448 <li data-name=
"LuCI.form.ButtonValue#password"><a href=
"LuCI.form.ButtonValue.html#password">password
</a></li>
450 <li data-name=
"LuCI.form.ButtonValue#placeholder"><a href=
"LuCI.form.ButtonValue.html#placeholder">placeholder
</a></li>
452 <li data-name=
"LuCI.form.ButtonValue#readonly"><a href=
"LuCI.form.ButtonValue.html#readonly">readonly
</a></li>
454 <li data-name=
"LuCI.form.ButtonValue#retain"><a href=
"LuCI.form.ButtonValue.html#retain">retain
</a></li>
456 <li data-name=
"LuCI.form.ButtonValue#rmempty"><a href=
"LuCI.form.ButtonValue.html#rmempty">rmempty
</a></li>
458 <li data-name=
"LuCI.form.ButtonValue#uciconfig"><a href=
"LuCI.form.ButtonValue.html#uciconfig">uciconfig
</a></li>
460 <li data-name=
"LuCI.form.ButtonValue#ucioption"><a href=
"LuCI.form.ButtonValue.html#ucioption">ucioption
</a></li>
462 <li data-name=
"LuCI.form.ButtonValue#ucisection"><a href=
"LuCI.form.ButtonValue.html#ucisection">ucisection
</a></li>
464 <li data-name=
"LuCI.form.ButtonValue#validate"><a href=
"LuCI.form.ButtonValue.html#validate">validate
</a></li>
466 <li data-name=
"LuCI.form.ButtonValue#width"><a href=
"LuCI.form.ButtonValue.html#width">width
</a></li>
469 <ul class=
"typedefs itemMembers">
472 <ul class=
"typedefs itemMembers">
475 <ul class=
"methods itemMembers">
477 <span class=
"subtitle">Methods
</span>
479 <li data-name=
"LuCI.form.ButtonValue#append"><a href=
"LuCI.form.ButtonValue.html#append">append
</a></li>
481 <li data-name=
"LuCI.form.ButtonValue#cbid"><a href=
"LuCI.form.ButtonValue.html#cbid">cbid
</a></li>
483 <li data-name=
"LuCI.form.ButtonValue#cfgvalue"><a href=
"LuCI.form.ButtonValue.html#cfgvalue">cfgvalue
</a></li>
485 <li data-name=
"LuCI.form.ButtonValue#depends"><a href=
"LuCI.form.ButtonValue.html#depends">depends
</a></li>
487 <li data-name=
"LuCI.form.ButtonValue#formvalue"><a href=
"LuCI.form.ButtonValue.html#formvalue">formvalue
</a></li>
489 <li data-name=
"LuCI.form.ButtonValue#getUIElement"><a href=
"LuCI.form.ButtonValue.html#getUIElement">getUIElement
</a></li>
491 <li data-name=
"LuCI.form.ButtonValue#getValidationError"><a href=
"LuCI.form.ButtonValue.html#getValidationError">getValidationError
</a></li>
493 <li data-name=
"LuCI.form.ButtonValue#isActive"><a href=
"LuCI.form.ButtonValue.html#isActive">isActive
</a></li>
495 <li data-name=
"LuCI.form.ButtonValue#isValid"><a href=
"LuCI.form.ButtonValue.html#isValid">isValid
</a></li>
497 <li data-name=
"LuCI.form.ButtonValue#load"><a href=
"LuCI.form.ButtonValue.html#load">load
</a></li>
499 <li data-name=
"LuCI.form.ButtonValue#parse"><a href=
"LuCI.form.ButtonValue.html#parse">parse
</a></li>
501 <li data-name=
"LuCI.form.ButtonValue#remove"><a href=
"LuCI.form.ButtonValue.html#remove">remove
</a></li>
503 <li data-name=
"LuCI.form.ButtonValue#stripTags"><a href=
"LuCI.form.ButtonValue.html#stripTags">stripTags
</a></li>
505 <li data-name=
"LuCI.form.ButtonValue#textvalue"><a href=
"LuCI.form.ButtonValue.html#textvalue">textvalue
</a></li>
507 <li data-name=
"LuCI.form.ButtonValue#titleFn"><a href=
"LuCI.form.ButtonValue.html#titleFn">titleFn
</a></li>
509 <li data-name=
"LuCI.form.ButtonValue#value"><a href=
"LuCI.form.ButtonValue.html#value">value
</a></li>
511 <li data-name=
"LuCI.form.ButtonValue#write"><a href=
"LuCI.form.ButtonValue.html#write">write
</a></li>
514 <ul class=
"events itemMembers">
519 <li class=
"item" data-name=
"LuCI.form.DummyValue">
521 <a href=
"LuCI.form.DummyValue.html">LuCI.form.DummyValue
</a>
524 <ul class=
"members itemMembers">
526 <span class=
"subtitle">Members
</span>
528 <li data-name=
"LuCI.form.DummyValue##hidden"><a href=
"LuCI.form.DummyValue.html#hidden">hidden
</a></li>
530 <li data-name=
"LuCI.form.DummyValue##href"><a href=
"LuCI.form.DummyValue.html#href">href
</a></li>
532 <li data-name=
"LuCI.form.DummyValue##rawhtml"><a href=
"LuCI.form.DummyValue.html#rawhtml">rawhtml
</a></li>
534 <li data-name=
"LuCI.form.DummyValue#datatype"><a href=
"LuCI.form.DummyValue.html#datatype">datatype
</a></li>
536 <li data-name=
"LuCI.form.DummyValue#default"><a href=
"LuCI.form.DummyValue.html#default">default
</a></li>
538 <li data-name=
"LuCI.form.DummyValue#editable"><a href=
"LuCI.form.DummyValue.html#editable">editable
</a></li>
540 <li data-name=
"LuCI.form.DummyValue#modalonly"><a href=
"LuCI.form.DummyValue.html#modalonly">modalonly
</a></li>
542 <li data-name=
"LuCI.form.DummyValue#onchange"><a href=
"LuCI.form.DummyValue.html#onchange">onchange
</a></li>
544 <li data-name=
"LuCI.form.DummyValue#optional"><a href=
"LuCI.form.DummyValue.html#optional">optional
</a></li>
546 <li data-name=
"LuCI.form.DummyValue#password"><a href=
"LuCI.form.DummyValue.html#password">password
</a></li>
548 <li data-name=
"LuCI.form.DummyValue#placeholder"><a href=
"LuCI.form.DummyValue.html#placeholder">placeholder
</a></li>
550 <li data-name=
"LuCI.form.DummyValue#readonly"><a href=
"LuCI.form.DummyValue.html#readonly">readonly
</a></li>
552 <li data-name=
"LuCI.form.DummyValue#retain"><a href=
"LuCI.form.DummyValue.html#retain">retain
</a></li>
554 <li data-name=
"LuCI.form.DummyValue#rmempty"><a href=
"LuCI.form.DummyValue.html#rmempty">rmempty
</a></li>
556 <li data-name=
"LuCI.form.DummyValue#uciconfig"><a href=
"LuCI.form.DummyValue.html#uciconfig">uciconfig
</a></li>
558 <li data-name=
"LuCI.form.DummyValue#ucioption"><a href=
"LuCI.form.DummyValue.html#ucioption">ucioption
</a></li>
560 <li data-name=
"LuCI.form.DummyValue#ucisection"><a href=
"LuCI.form.DummyValue.html#ucisection">ucisection
</a></li>
562 <li data-name=
"LuCI.form.DummyValue#validate"><a href=
"LuCI.form.DummyValue.html#validate">validate
</a></li>
564 <li data-name=
"LuCI.form.DummyValue#width"><a href=
"LuCI.form.DummyValue.html#width">width
</a></li>
567 <ul class=
"typedefs itemMembers">
570 <ul class=
"typedefs itemMembers">
573 <ul class=
"methods itemMembers">
575 <span class=
"subtitle">Methods
</span>
577 <li data-name=
"LuCI.form.DummyValue#append"><a href=
"LuCI.form.DummyValue.html#append">append
</a></li>
579 <li data-name=
"LuCI.form.DummyValue#cbid"><a href=
"LuCI.form.DummyValue.html#cbid">cbid
</a></li>
581 <li data-name=
"LuCI.form.DummyValue#cfgvalue"><a href=
"LuCI.form.DummyValue.html#cfgvalue">cfgvalue
</a></li>
583 <li data-name=
"LuCI.form.DummyValue#depends"><a href=
"LuCI.form.DummyValue.html#depends">depends
</a></li>
585 <li data-name=
"LuCI.form.DummyValue#formvalue"><a href=
"LuCI.form.DummyValue.html#formvalue">formvalue
</a></li>
587 <li data-name=
"LuCI.form.DummyValue#getUIElement"><a href=
"LuCI.form.DummyValue.html#getUIElement">getUIElement
</a></li>
589 <li data-name=
"LuCI.form.DummyValue#getValidationError"><a href=
"LuCI.form.DummyValue.html#getValidationError">getValidationError
</a></li>
591 <li data-name=
"LuCI.form.DummyValue#isActive"><a href=
"LuCI.form.DummyValue.html#isActive">isActive
</a></li>
593 <li data-name=
"LuCI.form.DummyValue#isValid"><a href=
"LuCI.form.DummyValue.html#isValid">isValid
</a></li>
595 <li data-name=
"LuCI.form.DummyValue#load"><a href=
"LuCI.form.DummyValue.html#load">load
</a></li>
597 <li data-name=
"LuCI.form.DummyValue#parse"><a href=
"LuCI.form.DummyValue.html#parse">parse
</a></li>
599 <li data-name=
"LuCI.form.DummyValue#remove"><a href=
"LuCI.form.DummyValue.html#remove">remove
</a></li>
601 <li data-name=
"LuCI.form.DummyValue#stripTags"><a href=
"LuCI.form.DummyValue.html#stripTags">stripTags
</a></li>
603 <li data-name=
"LuCI.form.DummyValue#textvalue"><a href=
"LuCI.form.DummyValue.html#textvalue">textvalue
</a></li>
605 <li data-name=
"LuCI.form.DummyValue#titleFn"><a href=
"LuCI.form.DummyValue.html#titleFn">titleFn
</a></li>
607 <li data-name=
"LuCI.form.DummyValue#value"><a href=
"LuCI.form.DummyValue.html#value">value
</a></li>
609 <li data-name=
"LuCI.form.DummyValue#write"><a href=
"LuCI.form.DummyValue.html#write">write
</a></li>
612 <ul class=
"events itemMembers">
617 <li class=
"item" data-name=
"LuCI.form.DynamicList">
619 <a href=
"LuCI.form.DynamicList.html">LuCI.form.DynamicList
</a>
622 <ul class=
"members itemMembers">
624 <span class=
"subtitle">Members
</span>
626 <li data-name=
"LuCI.form.DynamicList#datatype"><a href=
"LuCI.form.DynamicList.html#datatype">datatype
</a></li>
628 <li data-name=
"LuCI.form.DynamicList#default"><a href=
"LuCI.form.DynamicList.html#default">default
</a></li>
630 <li data-name=
"LuCI.form.DynamicList#editable"><a href=
"LuCI.form.DynamicList.html#editable">editable
</a></li>
632 <li data-name=
"LuCI.form.DynamicList#modalonly"><a href=
"LuCI.form.DynamicList.html#modalonly">modalonly
</a></li>
634 <li data-name=
"LuCI.form.DynamicList#onchange"><a href=
"LuCI.form.DynamicList.html#onchange">onchange
</a></li>
636 <li data-name=
"LuCI.form.DynamicList#optional"><a href=
"LuCI.form.DynamicList.html#optional">optional
</a></li>
638 <li data-name=
"LuCI.form.DynamicList#password"><a href=
"LuCI.form.DynamicList.html#password">password
</a></li>
640 <li data-name=
"LuCI.form.DynamicList#placeholder"><a href=
"LuCI.form.DynamicList.html#placeholder">placeholder
</a></li>
642 <li data-name=
"LuCI.form.DynamicList#readonly"><a href=
"LuCI.form.DynamicList.html#readonly">readonly
</a></li>
644 <li data-name=
"LuCI.form.DynamicList#retain"><a href=
"LuCI.form.DynamicList.html#retain">retain
</a></li>
646 <li data-name=
"LuCI.form.DynamicList#rmempty"><a href=
"LuCI.form.DynamicList.html#rmempty">rmempty
</a></li>
648 <li data-name=
"LuCI.form.DynamicList#uciconfig"><a href=
"LuCI.form.DynamicList.html#uciconfig">uciconfig
</a></li>
650 <li data-name=
"LuCI.form.DynamicList#ucioption"><a href=
"LuCI.form.DynamicList.html#ucioption">ucioption
</a></li>
652 <li data-name=
"LuCI.form.DynamicList#ucisection"><a href=
"LuCI.form.DynamicList.html#ucisection">ucisection
</a></li>
654 <li data-name=
"LuCI.form.DynamicList#validate"><a href=
"LuCI.form.DynamicList.html#validate">validate
</a></li>
656 <li data-name=
"LuCI.form.DynamicList#width"><a href=
"LuCI.form.DynamicList.html#width">width
</a></li>
659 <ul class=
"typedefs itemMembers">
662 <ul class=
"typedefs itemMembers">
665 <ul class=
"methods itemMembers">
667 <span class=
"subtitle">Methods
</span>
669 <li data-name=
"LuCI.form.DynamicList#append"><a href=
"LuCI.form.DynamicList.html#append">append
</a></li>
671 <li data-name=
"LuCI.form.DynamicList#cbid"><a href=
"LuCI.form.DynamicList.html#cbid">cbid
</a></li>
673 <li data-name=
"LuCI.form.DynamicList#cfgvalue"><a href=
"LuCI.form.DynamicList.html#cfgvalue">cfgvalue
</a></li>
675 <li data-name=
"LuCI.form.DynamicList#depends"><a href=
"LuCI.form.DynamicList.html#depends">depends
</a></li>
677 <li data-name=
"LuCI.form.DynamicList#formvalue"><a href=
"LuCI.form.DynamicList.html#formvalue">formvalue
</a></li>
679 <li data-name=
"LuCI.form.DynamicList#getUIElement"><a href=
"LuCI.form.DynamicList.html#getUIElement">getUIElement
</a></li>
681 <li data-name=
"LuCI.form.DynamicList#getValidationError"><a href=
"LuCI.form.DynamicList.html#getValidationError">getValidationError
</a></li>
683 <li data-name=
"LuCI.form.DynamicList#isActive"><a href=
"LuCI.form.DynamicList.html#isActive">isActive
</a></li>
685 <li data-name=
"LuCI.form.DynamicList#isValid"><a href=
"LuCI.form.DynamicList.html#isValid">isValid
</a></li>
687 <li data-name=
"LuCI.form.DynamicList#load"><a href=
"LuCI.form.DynamicList.html#load">load
</a></li>
689 <li data-name=
"LuCI.form.DynamicList#parse"><a href=
"LuCI.form.DynamicList.html#parse">parse
</a></li>
691 <li data-name=
"LuCI.form.DynamicList#remove"><a href=
"LuCI.form.DynamicList.html#remove">remove
</a></li>
693 <li data-name=
"LuCI.form.DynamicList#stripTags"><a href=
"LuCI.form.DynamicList.html#stripTags">stripTags
</a></li>
695 <li data-name=
"LuCI.form.DynamicList#textvalue"><a href=
"LuCI.form.DynamicList.html#textvalue">textvalue
</a></li>
697 <li data-name=
"LuCI.form.DynamicList#titleFn"><a href=
"LuCI.form.DynamicList.html#titleFn">titleFn
</a></li>
699 <li data-name=
"LuCI.form.DynamicList#value"><a href=
"LuCI.form.DynamicList.html#value">value
</a></li>
701 <li data-name=
"LuCI.form.DynamicList#write"><a href=
"LuCI.form.DynamicList.html#write">write
</a></li>
704 <ul class=
"events itemMembers">
709 <li class=
"item" data-name=
"LuCI.form.FileUpload">
711 <a href=
"LuCI.form.FileUpload.html">LuCI.form.FileUpload
</a>
714 <ul class=
"members itemMembers">
716 <span class=
"subtitle">Members
</span>
718 <li data-name=
"LuCI.form.FileUpload##enable_remove"><a href=
"LuCI.form.FileUpload.html#enable_remove">enable_remove
</a></li>
720 <li data-name=
"LuCI.form.FileUpload##enable_upload"><a href=
"LuCI.form.FileUpload.html#enable_upload">enable_upload
</a></li>
722 <li data-name=
"LuCI.form.FileUpload##root_directory"><a href=
"LuCI.form.FileUpload.html#root_directory">root_directory
</a></li>
724 <li data-name=
"LuCI.form.FileUpload##show_hidden"><a href=
"LuCI.form.FileUpload.html#show_hidden">show_hidden
</a></li>
726 <li data-name=
"LuCI.form.FileUpload#datatype"><a href=
"LuCI.form.FileUpload.html#datatype">datatype
</a></li>
728 <li data-name=
"LuCI.form.FileUpload#default"><a href=
"LuCI.form.FileUpload.html#default">default
</a></li>
730 <li data-name=
"LuCI.form.FileUpload#editable"><a href=
"LuCI.form.FileUpload.html#editable">editable
</a></li>
732 <li data-name=
"LuCI.form.FileUpload#modalonly"><a href=
"LuCI.form.FileUpload.html#modalonly">modalonly
</a></li>
734 <li data-name=
"LuCI.form.FileUpload#onchange"><a href=
"LuCI.form.FileUpload.html#onchange">onchange
</a></li>
736 <li data-name=
"LuCI.form.FileUpload#optional"><a href=
"LuCI.form.FileUpload.html#optional">optional
</a></li>
738 <li data-name=
"LuCI.form.FileUpload#password"><a href=
"LuCI.form.FileUpload.html#password">password
</a></li>
740 <li data-name=
"LuCI.form.FileUpload#placeholder"><a href=
"LuCI.form.FileUpload.html#placeholder">placeholder
</a></li>
742 <li data-name=
"LuCI.form.FileUpload#readonly"><a href=
"LuCI.form.FileUpload.html#readonly">readonly
</a></li>
744 <li data-name=
"LuCI.form.FileUpload#retain"><a href=
"LuCI.form.FileUpload.html#retain">retain
</a></li>
746 <li data-name=
"LuCI.form.FileUpload#rmempty"><a href=
"LuCI.form.FileUpload.html#rmempty">rmempty
</a></li>
748 <li data-name=
"LuCI.form.FileUpload#uciconfig"><a href=
"LuCI.form.FileUpload.html#uciconfig">uciconfig
</a></li>
750 <li data-name=
"LuCI.form.FileUpload#ucioption"><a href=
"LuCI.form.FileUpload.html#ucioption">ucioption
</a></li>
752 <li data-name=
"LuCI.form.FileUpload#ucisection"><a href=
"LuCI.form.FileUpload.html#ucisection">ucisection
</a></li>
754 <li data-name=
"LuCI.form.FileUpload#validate"><a href=
"LuCI.form.FileUpload.html#validate">validate
</a></li>
756 <li data-name=
"LuCI.form.FileUpload#width"><a href=
"LuCI.form.FileUpload.html#width">width
</a></li>
759 <ul class=
"typedefs itemMembers">
762 <ul class=
"typedefs itemMembers">
765 <ul class=
"methods itemMembers">
767 <span class=
"subtitle">Methods
</span>
769 <li data-name=
"LuCI.form.FileUpload#append"><a href=
"LuCI.form.FileUpload.html#append">append
</a></li>
771 <li data-name=
"LuCI.form.FileUpload#cbid"><a href=
"LuCI.form.FileUpload.html#cbid">cbid
</a></li>
773 <li data-name=
"LuCI.form.FileUpload#cfgvalue"><a href=
"LuCI.form.FileUpload.html#cfgvalue">cfgvalue
</a></li>
775 <li data-name=
"LuCI.form.FileUpload#depends"><a href=
"LuCI.form.FileUpload.html#depends">depends
</a></li>
777 <li data-name=
"LuCI.form.FileUpload#formvalue"><a href=
"LuCI.form.FileUpload.html#formvalue">formvalue
</a></li>
779 <li data-name=
"LuCI.form.FileUpload#getUIElement"><a href=
"LuCI.form.FileUpload.html#getUIElement">getUIElement
</a></li>
781 <li data-name=
"LuCI.form.FileUpload#getValidationError"><a href=
"LuCI.form.FileUpload.html#getValidationError">getValidationError
</a></li>
783 <li data-name=
"LuCI.form.FileUpload#isActive"><a href=
"LuCI.form.FileUpload.html#isActive">isActive
</a></li>
785 <li data-name=
"LuCI.form.FileUpload#isValid"><a href=
"LuCI.form.FileUpload.html#isValid">isValid
</a></li>
787 <li data-name=
"LuCI.form.FileUpload#load"><a href=
"LuCI.form.FileUpload.html#load">load
</a></li>
789 <li data-name=
"LuCI.form.FileUpload#parse"><a href=
"LuCI.form.FileUpload.html#parse">parse
</a></li>
791 <li data-name=
"LuCI.form.FileUpload#remove"><a href=
"LuCI.form.FileUpload.html#remove">remove
</a></li>
793 <li data-name=
"LuCI.form.FileUpload#stripTags"><a href=
"LuCI.form.FileUpload.html#stripTags">stripTags
</a></li>
795 <li data-name=
"LuCI.form.FileUpload#textvalue"><a href=
"LuCI.form.FileUpload.html#textvalue">textvalue
</a></li>
797 <li data-name=
"LuCI.form.FileUpload#titleFn"><a href=
"LuCI.form.FileUpload.html#titleFn">titleFn
</a></li>
799 <li data-name=
"LuCI.form.FileUpload#value"><a href=
"LuCI.form.FileUpload.html#value">value
</a></li>
801 <li data-name=
"LuCI.form.FileUpload#write"><a href=
"LuCI.form.FileUpload.html#write">write
</a></li>
804 <ul class=
"events itemMembers">
809 <li class=
"item" data-name=
"LuCI.form.FlagValue">
811 <a href=
"LuCI.form.FlagValue.html">LuCI.form.FlagValue
</a>
814 <ul class=
"members itemMembers">
816 <span class=
"subtitle">Members
</span>
818 <li data-name=
"LuCI.form.FlagValue##disabled"><a href=
"LuCI.form.FlagValue.html#disabled">disabled
</a></li>
820 <li data-name=
"LuCI.form.FlagValue##enabled"><a href=
"LuCI.form.FlagValue.html#enabled">enabled
</a></li>
822 <li data-name=
"LuCI.form.FlagValue##tooltip"><a href=
"LuCI.form.FlagValue.html#tooltip">tooltip
</a></li>
824 <li data-name=
"LuCI.form.FlagValue##tooltipicon"><a href=
"LuCI.form.FlagValue.html#tooltipicon">tooltipicon
</a></li>
826 <li data-name=
"LuCI.form.FlagValue#datatype"><a href=
"LuCI.form.FlagValue.html#datatype">datatype
</a></li>
828 <li data-name=
"LuCI.form.FlagValue#default"><a href=
"LuCI.form.FlagValue.html#default">default
</a></li>
830 <li data-name=
"LuCI.form.FlagValue#editable"><a href=
"LuCI.form.FlagValue.html#editable">editable
</a></li>
832 <li data-name=
"LuCI.form.FlagValue#modalonly"><a href=
"LuCI.form.FlagValue.html#modalonly">modalonly
</a></li>
834 <li data-name=
"LuCI.form.FlagValue#onchange"><a href=
"LuCI.form.FlagValue.html#onchange">onchange
</a></li>
836 <li data-name=
"LuCI.form.FlagValue#optional"><a href=
"LuCI.form.FlagValue.html#optional">optional
</a></li>
838 <li data-name=
"LuCI.form.FlagValue#password"><a href=
"LuCI.form.FlagValue.html#password">password
</a></li>
840 <li data-name=
"LuCI.form.FlagValue#placeholder"><a href=
"LuCI.form.FlagValue.html#placeholder">placeholder
</a></li>
842 <li data-name=
"LuCI.form.FlagValue#readonly"><a href=
"LuCI.form.FlagValue.html#readonly">readonly
</a></li>
844 <li data-name=
"LuCI.form.FlagValue#retain"><a href=
"LuCI.form.FlagValue.html#retain">retain
</a></li>
846 <li data-name=
"LuCI.form.FlagValue#rmempty"><a href=
"LuCI.form.FlagValue.html#rmempty">rmempty
</a></li>
848 <li data-name=
"LuCI.form.FlagValue#uciconfig"><a href=
"LuCI.form.FlagValue.html#uciconfig">uciconfig
</a></li>
850 <li data-name=
"LuCI.form.FlagValue#ucioption"><a href=
"LuCI.form.FlagValue.html#ucioption">ucioption
</a></li>
852 <li data-name=
"LuCI.form.FlagValue#ucisection"><a href=
"LuCI.form.FlagValue.html#ucisection">ucisection
</a></li>
854 <li data-name=
"LuCI.form.FlagValue#validate"><a href=
"LuCI.form.FlagValue.html#validate">validate
</a></li>
856 <li data-name=
"LuCI.form.FlagValue#width"><a href=
"LuCI.form.FlagValue.html#width">width
</a></li>
859 <ul class=
"typedefs itemMembers">
862 <ul class=
"typedefs itemMembers">
865 <ul class=
"methods itemMembers">
867 <span class=
"subtitle">Methods
</span>
869 <li data-name=
"LuCI.form.FlagValue#append"><a href=
"LuCI.form.FlagValue.html#append">append
</a></li>
871 <li data-name=
"LuCI.form.FlagValue#cbid"><a href=
"LuCI.form.FlagValue.html#cbid">cbid
</a></li>
873 <li data-name=
"LuCI.form.FlagValue#cfgvalue"><a href=
"LuCI.form.FlagValue.html#cfgvalue">cfgvalue
</a></li>
875 <li data-name=
"LuCI.form.FlagValue#depends"><a href=
"LuCI.form.FlagValue.html#depends">depends
</a></li>
877 <li data-name=
"LuCI.form.FlagValue#formvalue"><a href=
"LuCI.form.FlagValue.html#formvalue">formvalue
</a></li>
879 <li data-name=
"LuCI.form.FlagValue#getUIElement"><a href=
"LuCI.form.FlagValue.html#getUIElement">getUIElement
</a></li>
881 <li data-name=
"LuCI.form.FlagValue#getValidationError"><a href=
"LuCI.form.FlagValue.html#getValidationError">getValidationError
</a></li>
883 <li data-name=
"LuCI.form.FlagValue#isActive"><a href=
"LuCI.form.FlagValue.html#isActive">isActive
</a></li>
885 <li data-name=
"LuCI.form.FlagValue#isValid"><a href=
"LuCI.form.FlagValue.html#isValid">isValid
</a></li>
887 <li data-name=
"LuCI.form.FlagValue#load"><a href=
"LuCI.form.FlagValue.html#load">load
</a></li>
889 <li data-name=
"LuCI.form.FlagValue#parse"><a href=
"LuCI.form.FlagValue.html#parse">parse
</a></li>
891 <li data-name=
"LuCI.form.FlagValue#remove"><a href=
"LuCI.form.FlagValue.html#remove">remove
</a></li>
893 <li data-name=
"LuCI.form.FlagValue#stripTags"><a href=
"LuCI.form.FlagValue.html#stripTags">stripTags
</a></li>
895 <li data-name=
"LuCI.form.FlagValue#textvalue"><a href=
"LuCI.form.FlagValue.html#textvalue">textvalue
</a></li>
897 <li data-name=
"LuCI.form.FlagValue#titleFn"><a href=
"LuCI.form.FlagValue.html#titleFn">titleFn
</a></li>
899 <li data-name=
"LuCI.form.FlagValue#value"><a href=
"LuCI.form.FlagValue.html#value">value
</a></li>
901 <li data-name=
"LuCI.form.FlagValue#write"><a href=
"LuCI.form.FlagValue.html#write">write
</a></li>
904 <ul class=
"events itemMembers">
909 <li class=
"item" data-name=
"LuCI.form.GridSection">
911 <a href=
"LuCI.form.GridSection.html">LuCI.form.GridSection
</a>
914 <ul class=
"members itemMembers">
916 <span class=
"subtitle">Members
</span>
918 <li data-name=
"LuCI.form.GridSection#addbtntitle"><a href=
"LuCI.form.GridSection.html#addbtntitle">addbtntitle
</a></li>
920 <li data-name=
"LuCI.form.GridSection#addremove"><a href=
"LuCI.form.GridSection.html#addremove">addremove
</a></li>
922 <li data-name=
"LuCI.form.GridSection#anonymous"><a href=
"LuCI.form.GridSection.html#anonymous">anonymous
</a></li>
924 <li data-name=
"LuCI.form.GridSection#extedit"><a href=
"LuCI.form.GridSection.html#extedit">extedit
</a></li>
926 <li data-name=
"LuCI.form.GridSection#max_cols"><a href=
"LuCI.form.GridSection.html#max_cols">max_cols
</a></li>
928 <li data-name=
"LuCI.form.GridSection#modaltitle"><a href=
"LuCI.form.GridSection.html#modaltitle">modaltitle
</a></li>
930 <li data-name=
"LuCI.form.GridSection#nodescriptions"><a href=
"LuCI.form.GridSection.html#nodescriptions">nodescriptions
</a></li>
932 <li data-name=
"LuCI.form.GridSection#parentoption"><a href=
"LuCI.form.GridSection.html#parentoption">parentoption
</a></li>
934 <li data-name=
"LuCI.form.GridSection#rowcolors"><a href=
"LuCI.form.GridSection.html#rowcolors">rowcolors
</a></li>
936 <li data-name=
"LuCI.form.GridSection#sectiontitle"><a href=
"LuCI.form.GridSection.html#sectiontitle">sectiontitle
</a></li>
938 <li data-name=
"LuCI.form.GridSection#sortable"><a href=
"LuCI.form.GridSection.html#sortable">sortable
</a></li>
940 <li data-name=
"LuCI.form.GridSection#tabbed"><a href=
"LuCI.form.GridSection.html#tabbed">tabbed
</a></li>
942 <li data-name=
"LuCI.form.GridSection#uciconfig"><a href=
"LuCI.form.GridSection.html#uciconfig">uciconfig
</a></li>
945 <ul class=
"typedefs itemMembers">
948 <ul class=
"typedefs itemMembers">
951 <ul class=
"methods itemMembers">
953 <span class=
"subtitle">Methods
</span>
955 <li data-name=
"LuCI.form.GridSection#addModalOptions"><a href=
"LuCI.form.GridSection.html#addModalOptions">addModalOptions
</a></li>
957 <li data-name=
"LuCI.form.GridSection#append"><a href=
"LuCI.form.GridSection.html#append">append
</a></li>
959 <li data-name=
"LuCI.form.GridSection#cfgvalue"><a href=
"LuCI.form.GridSection.html#cfgvalue">cfgvalue
</a></li>
961 <li data-name=
"LuCI.form.GridSection#filter"><a href=
"LuCI.form.GridSection.html#filter">filter
</a></li>
963 <li data-name=
"LuCI.form.GridSection#formvalue"><a href=
"LuCI.form.GridSection.html#formvalue">formvalue
</a></li>
965 <li data-name=
"LuCI.form.GridSection#getOption"><a href=
"LuCI.form.GridSection.html#getOption">getOption
</a></li>
967 <li data-name=
"LuCI.form.GridSection#getUIElement"><a href=
"LuCI.form.GridSection.html#getUIElement">getUIElement
</a></li>
969 <li data-name=
"LuCI.form.GridSection#load"><a href=
"LuCI.form.GridSection.html#load">load
</a></li>
971 <li data-name=
"LuCI.form.GridSection#option"><a href=
"LuCI.form.GridSection.html#option">option
</a></li>
973 <li data-name=
"LuCI.form.GridSection#parse"><a href=
"LuCI.form.GridSection.html#parse">parse
</a></li>
975 <li data-name=
"LuCI.form.GridSection#stripTags"><a href=
"LuCI.form.GridSection.html#stripTags">stripTags
</a></li>
977 <li data-name=
"LuCI.form.GridSection#tab"><a href=
"LuCI.form.GridSection.html#tab">tab
</a></li>
979 <li data-name=
"LuCI.form.GridSection#taboption"><a href=
"LuCI.form.GridSection.html#taboption">taboption
</a></li>
981 <li data-name=
"LuCI.form.GridSection#titleFn"><a href=
"LuCI.form.GridSection.html#titleFn">titleFn
</a></li>
984 <ul class=
"events itemMembers">
989 <li class=
"item" data-name=
"LuCI.form.HiddenValue">
991 <a href=
"LuCI.form.HiddenValue.html">LuCI.form.HiddenValue
</a>
994 <ul class=
"members itemMembers">
996 <span class=
"subtitle">Members
</span>
998 <li data-name=
"LuCI.form.HiddenValue#datatype"><a href=
"LuCI.form.HiddenValue.html#datatype">datatype
</a></li>
1000 <li data-name=
"LuCI.form.HiddenValue#default"><a href=
"LuCI.form.HiddenValue.html#default">default
</a></li>
1002 <li data-name=
"LuCI.form.HiddenValue#editable"><a href=
"LuCI.form.HiddenValue.html#editable">editable
</a></li>
1004 <li data-name=
"LuCI.form.HiddenValue#modalonly"><a href=
"LuCI.form.HiddenValue.html#modalonly">modalonly
</a></li>
1006 <li data-name=
"LuCI.form.HiddenValue#onchange"><a href=
"LuCI.form.HiddenValue.html#onchange">onchange
</a></li>
1008 <li data-name=
"LuCI.form.HiddenValue#optional"><a href=
"LuCI.form.HiddenValue.html#optional">optional
</a></li>
1010 <li data-name=
"LuCI.form.HiddenValue#password"><a href=
"LuCI.form.HiddenValue.html#password">password
</a></li>
1012 <li data-name=
"LuCI.form.HiddenValue#placeholder"><a href=
"LuCI.form.HiddenValue.html#placeholder">placeholder
</a></li>
1014 <li data-name=
"LuCI.form.HiddenValue#readonly"><a href=
"LuCI.form.HiddenValue.html#readonly">readonly
</a></li>
1016 <li data-name=
"LuCI.form.HiddenValue#retain"><a href=
"LuCI.form.HiddenValue.html#retain">retain
</a></li>
1018 <li data-name=
"LuCI.form.HiddenValue#rmempty"><a href=
"LuCI.form.HiddenValue.html#rmempty">rmempty
</a></li>
1020 <li data-name=
"LuCI.form.HiddenValue#uciconfig"><a href=
"LuCI.form.HiddenValue.html#uciconfig">uciconfig
</a></li>
1022 <li data-name=
"LuCI.form.HiddenValue#ucioption"><a href=
"LuCI.form.HiddenValue.html#ucioption">ucioption
</a></li>
1024 <li data-name=
"LuCI.form.HiddenValue#ucisection"><a href=
"LuCI.form.HiddenValue.html#ucisection">ucisection
</a></li>
1026 <li data-name=
"LuCI.form.HiddenValue#validate"><a href=
"LuCI.form.HiddenValue.html#validate">validate
</a></li>
1028 <li data-name=
"LuCI.form.HiddenValue#width"><a href=
"LuCI.form.HiddenValue.html#width">width
</a></li>
1031 <ul class=
"typedefs itemMembers">
1034 <ul class=
"typedefs itemMembers">
1037 <ul class=
"methods itemMembers">
1039 <span class=
"subtitle">Methods
</span>
1041 <li data-name=
"LuCI.form.HiddenValue#append"><a href=
"LuCI.form.HiddenValue.html#append">append
</a></li>
1043 <li data-name=
"LuCI.form.HiddenValue#cbid"><a href=
"LuCI.form.HiddenValue.html#cbid">cbid
</a></li>
1045 <li data-name=
"LuCI.form.HiddenValue#cfgvalue"><a href=
"LuCI.form.HiddenValue.html#cfgvalue">cfgvalue
</a></li>
1047 <li data-name=
"LuCI.form.HiddenValue#depends"><a href=
"LuCI.form.HiddenValue.html#depends">depends
</a></li>
1049 <li data-name=
"LuCI.form.HiddenValue#formvalue"><a href=
"LuCI.form.HiddenValue.html#formvalue">formvalue
</a></li>
1051 <li data-name=
"LuCI.form.HiddenValue#getUIElement"><a href=
"LuCI.form.HiddenValue.html#getUIElement">getUIElement
</a></li>
1053 <li data-name=
"LuCI.form.HiddenValue#getValidationError"><a href=
"LuCI.form.HiddenValue.html#getValidationError">getValidationError
</a></li>
1055 <li data-name=
"LuCI.form.HiddenValue#isActive"><a href=
"LuCI.form.HiddenValue.html#isActive">isActive
</a></li>
1057 <li data-name=
"LuCI.form.HiddenValue#isValid"><a href=
"LuCI.form.HiddenValue.html#isValid">isValid
</a></li>
1059 <li data-name=
"LuCI.form.HiddenValue#load"><a href=
"LuCI.form.HiddenValue.html#load">load
</a></li>
1061 <li data-name=
"LuCI.form.HiddenValue#parse"><a href=
"LuCI.form.HiddenValue.html#parse">parse
</a></li>
1063 <li data-name=
"LuCI.form.HiddenValue#remove"><a href=
"LuCI.form.HiddenValue.html#remove">remove
</a></li>
1065 <li data-name=
"LuCI.form.HiddenValue#stripTags"><a href=
"LuCI.form.HiddenValue.html#stripTags">stripTags
</a></li>
1067 <li data-name=
"LuCI.form.HiddenValue#textvalue"><a href=
"LuCI.form.HiddenValue.html#textvalue">textvalue
</a></li>
1069 <li data-name=
"LuCI.form.HiddenValue#titleFn"><a href=
"LuCI.form.HiddenValue.html#titleFn">titleFn
</a></li>
1071 <li data-name=
"LuCI.form.HiddenValue#value"><a href=
"LuCI.form.HiddenValue.html#value">value
</a></li>
1073 <li data-name=
"LuCI.form.HiddenValue#write"><a href=
"LuCI.form.HiddenValue.html#write">write
</a></li>
1076 <ul class=
"events itemMembers">
1081 <li class=
"item" data-name=
"LuCI.form.JSONMap">
1082 <span class=
"title">
1083 <a href=
"LuCI.form.JSONMap.html">LuCI.form.JSONMap
</a>
1086 <ul class=
"members itemMembers">
1088 <span class=
"subtitle">Members
</span>
1090 <li data-name=
"LuCI.form.JSONMap#readonly"><a href=
"LuCI.form.JSONMap.html#readonly">readonly
</a></li>
1093 <ul class=
"typedefs itemMembers">
1096 <ul class=
"typedefs itemMembers">
1099 <ul class=
"methods itemMembers">
1101 <span class=
"subtitle">Methods
</span>
1103 <li data-name=
"LuCI.form.JSONMap#append"><a href=
"LuCI.form.JSONMap.html#append">append
</a></li>
1105 <li data-name=
"LuCI.form.JSONMap#chain"><a href=
"LuCI.form.JSONMap.html#chain">chain
</a></li>
1107 <li data-name=
"LuCI.form.JSONMap#findElement"><a href=
"LuCI.form.JSONMap.html#findElement">findElement
</a></li>
1109 <li data-name=
"LuCI.form.JSONMap#findElements"><a href=
"LuCI.form.JSONMap.html#findElements">findElements
</a></li>
1111 <li data-name=
"LuCI.form.JSONMap#load"><a href=
"LuCI.form.JSONMap.html#load">load
</a></li>
1113 <li data-name=
"LuCI.form.JSONMap#lookupOption"><a href=
"LuCI.form.JSONMap.html#lookupOption">lookupOption
</a></li>
1115 <li data-name=
"LuCI.form.JSONMap#parse"><a href=
"LuCI.form.JSONMap.html#parse">parse
</a></li>
1117 <li data-name=
"LuCI.form.JSONMap#render"><a href=
"LuCI.form.JSONMap.html#render">render
</a></li>
1119 <li data-name=
"LuCI.form.JSONMap#reset"><a href=
"LuCI.form.JSONMap.html#reset">reset
</a></li>
1121 <li data-name=
"LuCI.form.JSONMap#save"><a href=
"LuCI.form.JSONMap.html#save">save
</a></li>
1123 <li data-name=
"LuCI.form.JSONMap#section"><a href=
"LuCI.form.JSONMap.html#section">section
</a></li>
1125 <li data-name=
"LuCI.form.JSONMap#stripTags"><a href=
"LuCI.form.JSONMap.html#stripTags">stripTags
</a></li>
1127 <li data-name=
"LuCI.form.JSONMap#titleFn"><a href=
"LuCI.form.JSONMap.html#titleFn">titleFn
</a></li>
1130 <ul class=
"events itemMembers">
1135 <li class=
"item" data-name=
"LuCI.form.ListValue">
1136 <span class=
"title">
1137 <a href=
"LuCI.form.ListValue.html">LuCI.form.ListValue
</a>
1140 <ul class=
"members itemMembers">
1142 <span class=
"subtitle">Members
</span>
1144 <li data-name=
"LuCI.form.ListValue##orientation"><a href=
"LuCI.form.ListValue.html#orientation">orientation
</a></li>
1146 <li data-name=
"LuCI.form.ListValue##size"><a href=
"LuCI.form.ListValue.html#size">size
</a></li>
1148 <li data-name=
"LuCI.form.ListValue##widget"><a href=
"LuCI.form.ListValue.html#widget">widget
</a></li>
1150 <li data-name=
"LuCI.form.ListValue#datatype"><a href=
"LuCI.form.ListValue.html#datatype">datatype
</a></li>
1152 <li data-name=
"LuCI.form.ListValue#default"><a href=
"LuCI.form.ListValue.html#default">default
</a></li>
1154 <li data-name=
"LuCI.form.ListValue#editable"><a href=
"LuCI.form.ListValue.html#editable">editable
</a></li>
1156 <li data-name=
"LuCI.form.ListValue#modalonly"><a href=
"LuCI.form.ListValue.html#modalonly">modalonly
</a></li>
1158 <li data-name=
"LuCI.form.ListValue#onchange"><a href=
"LuCI.form.ListValue.html#onchange">onchange
</a></li>
1160 <li data-name=
"LuCI.form.ListValue#optional"><a href=
"LuCI.form.ListValue.html#optional">optional
</a></li>
1162 <li data-name=
"LuCI.form.ListValue#password"><a href=
"LuCI.form.ListValue.html#password">password
</a></li>
1164 <li data-name=
"LuCI.form.ListValue#placeholder"><a href=
"LuCI.form.ListValue.html#placeholder">placeholder
</a></li>
1166 <li data-name=
"LuCI.form.ListValue#readonly"><a href=
"LuCI.form.ListValue.html#readonly">readonly
</a></li>
1168 <li data-name=
"LuCI.form.ListValue#retain"><a href=
"LuCI.form.ListValue.html#retain">retain
</a></li>
1170 <li data-name=
"LuCI.form.ListValue#rmempty"><a href=
"LuCI.form.ListValue.html#rmempty">rmempty
</a></li>
1172 <li data-name=
"LuCI.form.ListValue#uciconfig"><a href=
"LuCI.form.ListValue.html#uciconfig">uciconfig
</a></li>
1174 <li data-name=
"LuCI.form.ListValue#ucioption"><a href=
"LuCI.form.ListValue.html#ucioption">ucioption
</a></li>
1176 <li data-name=
"LuCI.form.ListValue#ucisection"><a href=
"LuCI.form.ListValue.html#ucisection">ucisection
</a></li>
1178 <li data-name=
"LuCI.form.ListValue#validate"><a href=
"LuCI.form.ListValue.html#validate">validate
</a></li>
1180 <li data-name=
"LuCI.form.ListValue#width"><a href=
"LuCI.form.ListValue.html#width">width
</a></li>
1183 <ul class=
"typedefs itemMembers">
1186 <ul class=
"typedefs itemMembers">
1189 <ul class=
"methods itemMembers">
1191 <span class=
"subtitle">Methods
</span>
1193 <li data-name=
"LuCI.form.ListValue#append"><a href=
"LuCI.form.ListValue.html#append">append
</a></li>
1195 <li data-name=
"LuCI.form.ListValue#cbid"><a href=
"LuCI.form.ListValue.html#cbid">cbid
</a></li>
1197 <li data-name=
"LuCI.form.ListValue#cfgvalue"><a href=
"LuCI.form.ListValue.html#cfgvalue">cfgvalue
</a></li>
1199 <li data-name=
"LuCI.form.ListValue#depends"><a href=
"LuCI.form.ListValue.html#depends">depends
</a></li>
1201 <li data-name=
"LuCI.form.ListValue#formvalue"><a href=
"LuCI.form.ListValue.html#formvalue">formvalue
</a></li>
1203 <li data-name=
"LuCI.form.ListValue#getUIElement"><a href=
"LuCI.form.ListValue.html#getUIElement">getUIElement
</a></li>
1205 <li data-name=
"LuCI.form.ListValue#getValidationError"><a href=
"LuCI.form.ListValue.html#getValidationError">getValidationError
</a></li>
1207 <li data-name=
"LuCI.form.ListValue#isActive"><a href=
"LuCI.form.ListValue.html#isActive">isActive
</a></li>
1209 <li data-name=
"LuCI.form.ListValue#isValid"><a href=
"LuCI.form.ListValue.html#isValid">isValid
</a></li>
1211 <li data-name=
"LuCI.form.ListValue#load"><a href=
"LuCI.form.ListValue.html#load">load
</a></li>
1213 <li data-name=
"LuCI.form.ListValue#parse"><a href=
"LuCI.form.ListValue.html#parse">parse
</a></li>
1215 <li data-name=
"LuCI.form.ListValue#remove"><a href=
"LuCI.form.ListValue.html#remove">remove
</a></li>
1217 <li data-name=
"LuCI.form.ListValue#stripTags"><a href=
"LuCI.form.ListValue.html#stripTags">stripTags
</a></li>
1219 <li data-name=
"LuCI.form.ListValue#textvalue"><a href=
"LuCI.form.ListValue.html#textvalue">textvalue
</a></li>
1221 <li data-name=
"LuCI.form.ListValue#titleFn"><a href=
"LuCI.form.ListValue.html#titleFn">titleFn
</a></li>
1223 <li data-name=
"LuCI.form.ListValue#value"><a href=
"LuCI.form.ListValue.html#value">value
</a></li>
1225 <li data-name=
"LuCI.form.ListValue#write"><a href=
"LuCI.form.ListValue.html#write">write
</a></li>
1228 <ul class=
"events itemMembers">
1233 <li class=
"item" data-name=
"LuCI.form.Map">
1234 <span class=
"title">
1235 <a href=
"LuCI.form.Map.html">LuCI.form.Map
</a>
1238 <ul class=
"members itemMembers">
1240 <span class=
"subtitle">Members
</span>
1242 <li data-name=
"LuCI.form.Map##readonly"><a href=
"LuCI.form.Map.html#readonly">readonly
</a></li>
1245 <ul class=
"typedefs itemMembers">
1248 <ul class=
"typedefs itemMembers">
1251 <ul class=
"methods itemMembers">
1253 <span class=
"subtitle">Methods
</span>
1255 <li data-name=
"LuCI.form.Map#append"><a href=
"LuCI.form.Map.html#append">append
</a></li>
1257 <li data-name=
"LuCI.form.Map#chain"><a href=
"LuCI.form.Map.html#chain">chain
</a></li>
1259 <li data-name=
"LuCI.form.Map#findElement"><a href=
"LuCI.form.Map.html#findElement">findElement
</a></li>
1261 <li data-name=
"LuCI.form.Map#findElements"><a href=
"LuCI.form.Map.html#findElements">findElements
</a></li>
1263 <li data-name=
"LuCI.form.Map#load"><a href=
"LuCI.form.Map.html#load">load
</a></li>
1265 <li data-name=
"LuCI.form.Map#lookupOption"><a href=
"LuCI.form.Map.html#lookupOption">lookupOption
</a></li>
1267 <li data-name=
"LuCI.form.Map#parse"><a href=
"LuCI.form.Map.html#parse">parse
</a></li>
1269 <li data-name=
"LuCI.form.Map#render"><a href=
"LuCI.form.Map.html#render">render
</a></li>
1271 <li data-name=
"LuCI.form.Map#reset"><a href=
"LuCI.form.Map.html#reset">reset
</a></li>
1273 <li data-name=
"LuCI.form.Map#save"><a href=
"LuCI.form.Map.html#save">save
</a></li>
1275 <li data-name=
"LuCI.form.Map#section"><a href=
"LuCI.form.Map.html#section">section
</a></li>
1277 <li data-name=
"LuCI.form.Map#stripTags"><a href=
"LuCI.form.Map.html#stripTags">stripTags
</a></li>
1279 <li data-name=
"LuCI.form.Map#titleFn"><a href=
"LuCI.form.Map.html#titleFn">titleFn
</a></li>
1282 <ul class=
"events itemMembers">
1287 <li class=
"item" data-name=
"LuCI.form.MultiValue">
1288 <span class=
"title">
1289 <a href=
"LuCI.form.MultiValue.html">LuCI.form.MultiValue
</a>
1292 <ul class=
"members itemMembers">
1294 <span class=
"subtitle">Members
</span>
1296 <li data-name=
"LuCI.form.MultiValue##display_size"><a href=
"LuCI.form.MultiValue.html#display_size">display_size
</a></li>
1298 <li data-name=
"LuCI.form.MultiValue##dropdown_size"><a href=
"LuCI.form.MultiValue.html#dropdown_size">dropdown_size
</a></li>
1300 <li data-name=
"LuCI.form.MultiValue#datatype"><a href=
"LuCI.form.MultiValue.html#datatype">datatype
</a></li>
1302 <li data-name=
"LuCI.form.MultiValue#default"><a href=
"LuCI.form.MultiValue.html#default">default
</a></li>
1304 <li data-name=
"LuCI.form.MultiValue#editable"><a href=
"LuCI.form.MultiValue.html#editable">editable
</a></li>
1306 <li data-name=
"LuCI.form.MultiValue#modalonly"><a href=
"LuCI.form.MultiValue.html#modalonly">modalonly
</a></li>
1308 <li data-name=
"LuCI.form.MultiValue#onchange"><a href=
"LuCI.form.MultiValue.html#onchange">onchange
</a></li>
1310 <li data-name=
"LuCI.form.MultiValue#optional"><a href=
"LuCI.form.MultiValue.html#optional">optional
</a></li>
1312 <li data-name=
"LuCI.form.MultiValue#password"><a href=
"LuCI.form.MultiValue.html#password">password
</a></li>
1314 <li data-name=
"LuCI.form.MultiValue#placeholder"><a href=
"LuCI.form.MultiValue.html#placeholder">placeholder
</a></li>
1316 <li data-name=
"LuCI.form.MultiValue#readonly"><a href=
"LuCI.form.MultiValue.html#readonly">readonly
</a></li>
1318 <li data-name=
"LuCI.form.MultiValue#retain"><a href=
"LuCI.form.MultiValue.html#retain">retain
</a></li>
1320 <li data-name=
"LuCI.form.MultiValue#rmempty"><a href=
"LuCI.form.MultiValue.html#rmempty">rmempty
</a></li>
1322 <li data-name=
"LuCI.form.MultiValue#uciconfig"><a href=
"LuCI.form.MultiValue.html#uciconfig">uciconfig
</a></li>
1324 <li data-name=
"LuCI.form.MultiValue#ucioption"><a href=
"LuCI.form.MultiValue.html#ucioption">ucioption
</a></li>
1326 <li data-name=
"LuCI.form.MultiValue#ucisection"><a href=
"LuCI.form.MultiValue.html#ucisection">ucisection
</a></li>
1328 <li data-name=
"LuCI.form.MultiValue#validate"><a href=
"LuCI.form.MultiValue.html#validate">validate
</a></li>
1330 <li data-name=
"LuCI.form.MultiValue#width"><a href=
"LuCI.form.MultiValue.html#width">width
</a></li>
1333 <ul class=
"typedefs itemMembers">
1336 <ul class=
"typedefs itemMembers">
1339 <ul class=
"methods itemMembers">
1341 <span class=
"subtitle">Methods
</span>
1343 <li data-name=
"LuCI.form.MultiValue#append"><a href=
"LuCI.form.MultiValue.html#append">append
</a></li>
1345 <li data-name=
"LuCI.form.MultiValue#cbid"><a href=
"LuCI.form.MultiValue.html#cbid">cbid
</a></li>
1347 <li data-name=
"LuCI.form.MultiValue#cfgvalue"><a href=
"LuCI.form.MultiValue.html#cfgvalue">cfgvalue
</a></li>
1349 <li data-name=
"LuCI.form.MultiValue#depends"><a href=
"LuCI.form.MultiValue.html#depends">depends
</a></li>
1351 <li data-name=
"LuCI.form.MultiValue#formvalue"><a href=
"LuCI.form.MultiValue.html#formvalue">formvalue
</a></li>
1353 <li data-name=
"LuCI.form.MultiValue#getUIElement"><a href=
"LuCI.form.MultiValue.html#getUIElement">getUIElement
</a></li>
1355 <li data-name=
"LuCI.form.MultiValue#getValidationError"><a href=
"LuCI.form.MultiValue.html#getValidationError">getValidationError
</a></li>
1357 <li data-name=
"LuCI.form.MultiValue#isActive"><a href=
"LuCI.form.MultiValue.html#isActive">isActive
</a></li>
1359 <li data-name=
"LuCI.form.MultiValue#isValid"><a href=
"LuCI.form.MultiValue.html#isValid">isValid
</a></li>
1361 <li data-name=
"LuCI.form.MultiValue#load"><a href=
"LuCI.form.MultiValue.html#load">load
</a></li>
1363 <li data-name=
"LuCI.form.MultiValue#parse"><a href=
"LuCI.form.MultiValue.html#parse">parse
</a></li>
1365 <li data-name=
"LuCI.form.MultiValue#remove"><a href=
"LuCI.form.MultiValue.html#remove">remove
</a></li>
1367 <li data-name=
"LuCI.form.MultiValue#stripTags"><a href=
"LuCI.form.MultiValue.html#stripTags">stripTags
</a></li>
1369 <li data-name=
"LuCI.form.MultiValue#textvalue"><a href=
"LuCI.form.MultiValue.html#textvalue">textvalue
</a></li>
1371 <li data-name=
"LuCI.form.MultiValue#titleFn"><a href=
"LuCI.form.MultiValue.html#titleFn">titleFn
</a></li>
1373 <li data-name=
"LuCI.form.MultiValue#value"><a href=
"LuCI.form.MultiValue.html#value">value
</a></li>
1375 <li data-name=
"LuCI.form.MultiValue#write"><a href=
"LuCI.form.MultiValue.html#write">write
</a></li>
1378 <ul class=
"events itemMembers">
1383 <li class=
"item" data-name=
"LuCI.form.NamedSection">
1384 <span class=
"title">
1385 <a href=
"LuCI.form.NamedSection.html">LuCI.form.NamedSection
</a>
1388 <ul class=
"members itemMembers">
1390 <span class=
"subtitle">Members
</span>
1392 <li data-name=
"LuCI.form.NamedSection##addremove"><a href=
"LuCI.form.NamedSection.html#addremove">addremove
</a></li>
1394 <li data-name=
"LuCI.form.NamedSection##uciconfig"><a href=
"LuCI.form.NamedSection.html#uciconfig">uciconfig
</a></li>
1396 <li data-name=
"LuCI.form.NamedSection#parentoption"><a href=
"LuCI.form.NamedSection.html#parentoption">parentoption
</a></li>
1399 <ul class=
"typedefs itemMembers">
1402 <ul class=
"typedefs itemMembers">
1405 <ul class=
"methods itemMembers">
1407 <span class=
"subtitle">Methods
</span>
1409 <li data-name=
"LuCI.form.NamedSection#append"><a href=
"LuCI.form.NamedSection.html#append">append
</a></li>
1411 <li data-name=
"LuCI.form.NamedSection#cfgsections"><a href=
"LuCI.form.NamedSection.html#cfgsections">cfgsections
</a></li>
1413 <li data-name=
"LuCI.form.NamedSection#cfgvalue"><a href=
"LuCI.form.NamedSection.html#cfgvalue">cfgvalue
</a></li>
1415 <li data-name=
"LuCI.form.NamedSection#filter"><a href=
"LuCI.form.NamedSection.html#filter">filter
</a></li>
1417 <li data-name=
"LuCI.form.NamedSection#formvalue"><a href=
"LuCI.form.NamedSection.html#formvalue">formvalue
</a></li>
1419 <li data-name=
"LuCI.form.NamedSection#getOption"><a href=
"LuCI.form.NamedSection.html#getOption">getOption
</a></li>
1421 <li data-name=
"LuCI.form.NamedSection#getUIElement"><a href=
"LuCI.form.NamedSection.html#getUIElement">getUIElement
</a></li>
1423 <li data-name=
"LuCI.form.NamedSection#load"><a href=
"LuCI.form.NamedSection.html#load">load
</a></li>
1425 <li data-name=
"LuCI.form.NamedSection#option"><a href=
"LuCI.form.NamedSection.html#option">option
</a></li>
1427 <li data-name=
"LuCI.form.NamedSection#parse"><a href=
"LuCI.form.NamedSection.html#parse">parse
</a></li>
1429 <li data-name=
"LuCI.form.NamedSection#render"><a href=
"LuCI.form.NamedSection.html#render">render
</a></li>
1431 <li data-name=
"LuCI.form.NamedSection#stripTags"><a href=
"LuCI.form.NamedSection.html#stripTags">stripTags
</a></li>
1433 <li data-name=
"LuCI.form.NamedSection#tab"><a href=
"LuCI.form.NamedSection.html#tab">tab
</a></li>
1435 <li data-name=
"LuCI.form.NamedSection#taboption"><a href=
"LuCI.form.NamedSection.html#taboption">taboption
</a></li>
1437 <li data-name=
"LuCI.form.NamedSection#titleFn"><a href=
"LuCI.form.NamedSection.html#titleFn">titleFn
</a></li>
1440 <ul class=
"events itemMembers">
1445 <li class=
"item" data-name=
"LuCI.form.SectionValue">
1446 <span class=
"title">
1447 <a href=
"LuCI.form.SectionValue.html">LuCI.form.SectionValue
</a>
1450 <ul class=
"members itemMembers">
1452 <span class=
"subtitle">Members
</span>
1454 <li data-name=
"LuCI.form.SectionValue##subsection"><a href=
"LuCI.form.SectionValue.html#subsection">subsection
</a></li>
1456 <li data-name=
"LuCI.form.SectionValue#datatype"><a href=
"LuCI.form.SectionValue.html#datatype">datatype
</a></li>
1458 <li data-name=
"LuCI.form.SectionValue#default"><a href=
"LuCI.form.SectionValue.html#default">default
</a></li>
1460 <li data-name=
"LuCI.form.SectionValue#editable"><a href=
"LuCI.form.SectionValue.html#editable">editable
</a></li>
1462 <li data-name=
"LuCI.form.SectionValue#modalonly"><a href=
"LuCI.form.SectionValue.html#modalonly">modalonly
</a></li>
1464 <li data-name=
"LuCI.form.SectionValue#onchange"><a href=
"LuCI.form.SectionValue.html#onchange">onchange
</a></li>
1466 <li data-name=
"LuCI.form.SectionValue#optional"><a href=
"LuCI.form.SectionValue.html#optional">optional
</a></li>
1468 <li data-name=
"LuCI.form.SectionValue#password"><a href=
"LuCI.form.SectionValue.html#password">password
</a></li>
1470 <li data-name=
"LuCI.form.SectionValue#placeholder"><a href=
"LuCI.form.SectionValue.html#placeholder">placeholder
</a></li>
1472 <li data-name=
"LuCI.form.SectionValue#readonly"><a href=
"LuCI.form.SectionValue.html#readonly">readonly
</a></li>
1474 <li data-name=
"LuCI.form.SectionValue#retain"><a href=
"LuCI.form.SectionValue.html#retain">retain
</a></li>
1476 <li data-name=
"LuCI.form.SectionValue#rmempty"><a href=
"LuCI.form.SectionValue.html#rmempty">rmempty
</a></li>
1478 <li data-name=
"LuCI.form.SectionValue#uciconfig"><a href=
"LuCI.form.SectionValue.html#uciconfig">uciconfig
</a></li>
1480 <li data-name=
"LuCI.form.SectionValue#ucioption"><a href=
"LuCI.form.SectionValue.html#ucioption">ucioption
</a></li>
1482 <li data-name=
"LuCI.form.SectionValue#ucisection"><a href=
"LuCI.form.SectionValue.html#ucisection">ucisection
</a></li>
1484 <li data-name=
"LuCI.form.SectionValue#validate"><a href=
"LuCI.form.SectionValue.html#validate">validate
</a></li>
1486 <li data-name=
"LuCI.form.SectionValue#width"><a href=
"LuCI.form.SectionValue.html#width">width
</a></li>
1489 <ul class=
"typedefs itemMembers">
1492 <ul class=
"typedefs itemMembers">
1495 <ul class=
"methods itemMembers">
1497 <span class=
"subtitle">Methods
</span>
1499 <li data-name=
"LuCI.form.SectionValue#append"><a href=
"LuCI.form.SectionValue.html#append">append
</a></li>
1501 <li data-name=
"LuCI.form.SectionValue#cbid"><a href=
"LuCI.form.SectionValue.html#cbid">cbid
</a></li>
1503 <li data-name=
"LuCI.form.SectionValue#cfgvalue"><a href=
"LuCI.form.SectionValue.html#cfgvalue">cfgvalue
</a></li>
1505 <li data-name=
"LuCI.form.SectionValue#depends"><a href=
"LuCI.form.SectionValue.html#depends">depends
</a></li>
1507 <li data-name=
"LuCI.form.SectionValue#formvalue"><a href=
"LuCI.form.SectionValue.html#formvalue">formvalue
</a></li>
1509 <li data-name=
"LuCI.form.SectionValue#getUIElement"><a href=
"LuCI.form.SectionValue.html#getUIElement">getUIElement
</a></li>
1511 <li data-name=
"LuCI.form.SectionValue#getValidationError"><a href=
"LuCI.form.SectionValue.html#getValidationError">getValidationError
</a></li>
1513 <li data-name=
"LuCI.form.SectionValue#isActive"><a href=
"LuCI.form.SectionValue.html#isActive">isActive
</a></li>
1515 <li data-name=
"LuCI.form.SectionValue#isValid"><a href=
"LuCI.form.SectionValue.html#isValid">isValid
</a></li>
1517 <li data-name=
"LuCI.form.SectionValue#load"><a href=
"LuCI.form.SectionValue.html#load">load
</a></li>
1519 <li data-name=
"LuCI.form.SectionValue#parse"><a href=
"LuCI.form.SectionValue.html#parse">parse
</a></li>
1521 <li data-name=
"LuCI.form.SectionValue#remove"><a href=
"LuCI.form.SectionValue.html#remove">remove
</a></li>
1523 <li data-name=
"LuCI.form.SectionValue#stripTags"><a href=
"LuCI.form.SectionValue.html#stripTags">stripTags
</a></li>
1525 <li data-name=
"LuCI.form.SectionValue#textvalue"><a href=
"LuCI.form.SectionValue.html#textvalue">textvalue
</a></li>
1527 <li data-name=
"LuCI.form.SectionValue#titleFn"><a href=
"LuCI.form.SectionValue.html#titleFn">titleFn
</a></li>
1529 <li data-name=
"LuCI.form.SectionValue#value"><a href=
"LuCI.form.SectionValue.html#value">value
</a></li>
1531 <li data-name=
"LuCI.form.SectionValue#write"><a href=
"LuCI.form.SectionValue.html#write">write
</a></li>
1534 <ul class=
"events itemMembers">
1539 <li class=
"item" data-name=
"LuCI.form.TableSection">
1540 <span class=
"title">
1541 <a href=
"LuCI.form.TableSection.html">LuCI.form.TableSection
</a>
1544 <ul class=
"members itemMembers">
1546 <span class=
"subtitle">Members
</span>
1548 <li data-name=
"LuCI.form.TableSection##extedit"><a href=
"LuCI.form.TableSection.html#extedit">extedit
</a></li>
1550 <li data-name=
"LuCI.form.TableSection##max_cols"><a href=
"LuCI.form.TableSection.html#max_cols">max_cols
</a></li>
1552 <li data-name=
"LuCI.form.TableSection##modaltitle"><a href=
"LuCI.form.TableSection.html#modaltitle">modaltitle
</a></li>
1554 <li data-name=
"LuCI.form.TableSection##nodescriptions"><a href=
"LuCI.form.TableSection.html#nodescriptions">nodescriptions
</a></li>
1556 <li data-name=
"LuCI.form.TableSection##rowcolors"><a href=
"LuCI.form.TableSection.html#rowcolors">rowcolors
</a></li>
1558 <li data-name=
"LuCI.form.TableSection##sectiontitle"><a href=
"LuCI.form.TableSection.html#sectiontitle">sectiontitle
</a></li>
1560 <li data-name=
"LuCI.form.TableSection##sortable"><a href=
"LuCI.form.TableSection.html#sortable">sortable
</a></li>
1562 <li data-name=
"LuCI.form.TableSection#addbtntitle"><a href=
"LuCI.form.TableSection.html#addbtntitle">addbtntitle
</a></li>
1564 <li data-name=
"LuCI.form.TableSection#addremove"><a href=
"LuCI.form.TableSection.html#addremove">addremove
</a></li>
1566 <li data-name=
"LuCI.form.TableSection#anonymous"><a href=
"LuCI.form.TableSection.html#anonymous">anonymous
</a></li>
1568 <li data-name=
"LuCI.form.TableSection#parentoption"><a href=
"LuCI.form.TableSection.html#parentoption">parentoption
</a></li>
1570 <li data-name=
"LuCI.form.TableSection#tabbed"><a href=
"LuCI.form.TableSection.html#tabbed">tabbed
</a></li>
1572 <li data-name=
"LuCI.form.TableSection#uciconfig"><a href=
"LuCI.form.TableSection.html#uciconfig">uciconfig
</a></li>
1575 <ul class=
"typedefs itemMembers">
1578 <ul class=
"typedefs itemMembers">
1581 <ul class=
"methods itemMembers">
1583 <span class=
"subtitle">Methods
</span>
1585 <li data-name=
"LuCI.form.TableSection#addModalOptions"><a href=
"LuCI.form.TableSection.html#addModalOptions">addModalOptions
</a></li>
1587 <li data-name=
"LuCI.form.TableSection#append"><a href=
"LuCI.form.TableSection.html#append">append
</a></li>
1589 <li data-name=
"LuCI.form.TableSection#cfgvalue"><a href=
"LuCI.form.TableSection.html#cfgvalue">cfgvalue
</a></li>
1591 <li data-name=
"LuCI.form.TableSection#filter"><a href=
"LuCI.form.TableSection.html#filter">filter
</a></li>
1593 <li data-name=
"LuCI.form.TableSection#formvalue"><a href=
"LuCI.form.TableSection.html#formvalue">formvalue
</a></li>
1595 <li data-name=
"LuCI.form.TableSection#getOption"><a href=
"LuCI.form.TableSection.html#getOption">getOption
</a></li>
1597 <li data-name=
"LuCI.form.TableSection#getUIElement"><a href=
"LuCI.form.TableSection.html#getUIElement">getUIElement
</a></li>
1599 <li data-name=
"LuCI.form.TableSection#load"><a href=
"LuCI.form.TableSection.html#load">load
</a></li>
1601 <li data-name=
"LuCI.form.TableSection#option"><a href=
"LuCI.form.TableSection.html#option">option
</a></li>
1603 <li data-name=
"LuCI.form.TableSection#parse"><a href=
"LuCI.form.TableSection.html#parse">parse
</a></li>
1605 <li data-name=
"LuCI.form.TableSection#stripTags"><a href=
"LuCI.form.TableSection.html#stripTags">stripTags
</a></li>
1607 <li data-name=
"LuCI.form.TableSection#tab"><a href=
"LuCI.form.TableSection.html#tab">tab
</a></li>
1609 <li data-name=
"LuCI.form.TableSection#taboption"><a href=
"LuCI.form.TableSection.html#taboption">taboption
</a></li>
1611 <li data-name=
"LuCI.form.TableSection#titleFn"><a href=
"LuCI.form.TableSection.html#titleFn">titleFn
</a></li>
1614 <ul class=
"events itemMembers">
1619 <li class=
"item" data-name=
"LuCI.form.TextValue">
1620 <span class=
"title">
1621 <a href=
"LuCI.form.TextValue.html">LuCI.form.TextValue
</a>
1624 <ul class=
"members itemMembers">
1626 <span class=
"subtitle">Members
</span>
1628 <li data-name=
"LuCI.form.TextValue##cols"><a href=
"LuCI.form.TextValue.html#cols">cols
</a></li>
1630 <li data-name=
"LuCI.form.TextValue##monospace"><a href=
"LuCI.form.TextValue.html#monospace">monospace
</a></li>
1632 <li data-name=
"LuCI.form.TextValue##rows"><a href=
"LuCI.form.TextValue.html#rows">rows
</a></li>
1634 <li data-name=
"LuCI.form.TextValue##wrap"><a href=
"LuCI.form.TextValue.html#wrap">wrap
</a></li>
1636 <li data-name=
"LuCI.form.TextValue#datatype"><a href=
"LuCI.form.TextValue.html#datatype">datatype
</a></li>
1638 <li data-name=
"LuCI.form.TextValue#default"><a href=
"LuCI.form.TextValue.html#default">default
</a></li>
1640 <li data-name=
"LuCI.form.TextValue#editable"><a href=
"LuCI.form.TextValue.html#editable">editable
</a></li>
1642 <li data-name=
"LuCI.form.TextValue#modalonly"><a href=
"LuCI.form.TextValue.html#modalonly">modalonly
</a></li>
1644 <li data-name=
"LuCI.form.TextValue#onchange"><a href=
"LuCI.form.TextValue.html#onchange">onchange
</a></li>
1646 <li data-name=
"LuCI.form.TextValue#optional"><a href=
"LuCI.form.TextValue.html#optional">optional
</a></li>
1648 <li data-name=
"LuCI.form.TextValue#password"><a href=
"LuCI.form.TextValue.html#password">password
</a></li>
1650 <li data-name=
"LuCI.form.TextValue#placeholder"><a href=
"LuCI.form.TextValue.html#placeholder">placeholder
</a></li>
1652 <li data-name=
"LuCI.form.TextValue#readonly"><a href=
"LuCI.form.TextValue.html#readonly">readonly
</a></li>
1654 <li data-name=
"LuCI.form.TextValue#retain"><a href=
"LuCI.form.TextValue.html#retain">retain
</a></li>
1656 <li data-name=
"LuCI.form.TextValue#rmempty"><a href=
"LuCI.form.TextValue.html#rmempty">rmempty
</a></li>
1658 <li data-name=
"LuCI.form.TextValue#uciconfig"><a href=
"LuCI.form.TextValue.html#uciconfig">uciconfig
</a></li>
1660 <li data-name=
"LuCI.form.TextValue#ucioption"><a href=
"LuCI.form.TextValue.html#ucioption">ucioption
</a></li>
1662 <li data-name=
"LuCI.form.TextValue#ucisection"><a href=
"LuCI.form.TextValue.html#ucisection">ucisection
</a></li>
1664 <li data-name=
"LuCI.form.TextValue#validate"><a href=
"LuCI.form.TextValue.html#validate">validate
</a></li>
1666 <li data-name=
"LuCI.form.TextValue#width"><a href=
"LuCI.form.TextValue.html#width">width
</a></li>
1669 <ul class=
"typedefs itemMembers">
1672 <ul class=
"typedefs itemMembers">
1675 <ul class=
"methods itemMembers">
1677 <span class=
"subtitle">Methods
</span>
1679 <li data-name=
"LuCI.form.TextValue#append"><a href=
"LuCI.form.TextValue.html#append">append
</a></li>
1681 <li data-name=
"LuCI.form.TextValue#cbid"><a href=
"LuCI.form.TextValue.html#cbid">cbid
</a></li>
1683 <li data-name=
"LuCI.form.TextValue#cfgvalue"><a href=
"LuCI.form.TextValue.html#cfgvalue">cfgvalue
</a></li>
1685 <li data-name=
"LuCI.form.TextValue#depends"><a href=
"LuCI.form.TextValue.html#depends">depends
</a></li>
1687 <li data-name=
"LuCI.form.TextValue#formvalue"><a href=
"LuCI.form.TextValue.html#formvalue">formvalue
</a></li>
1689 <li data-name=
"LuCI.form.TextValue#getUIElement"><a href=
"LuCI.form.TextValue.html#getUIElement">getUIElement
</a></li>
1691 <li data-name=
"LuCI.form.TextValue#getValidationError"><a href=
"LuCI.form.TextValue.html#getValidationError">getValidationError
</a></li>
1693 <li data-name=
"LuCI.form.TextValue#isActive"><a href=
"LuCI.form.TextValue.html#isActive">isActive
</a></li>
1695 <li data-name=
"LuCI.form.TextValue#isValid"><a href=
"LuCI.form.TextValue.html#isValid">isValid
</a></li>
1697 <li data-name=
"LuCI.form.TextValue#load"><a href=
"LuCI.form.TextValue.html#load">load
</a></li>
1699 <li data-name=
"LuCI.form.TextValue#parse"><a href=
"LuCI.form.TextValue.html#parse">parse
</a></li>
1701 <li data-name=
"LuCI.form.TextValue#remove"><a href=
"LuCI.form.TextValue.html#remove">remove
</a></li>
1703 <li data-name=
"LuCI.form.TextValue#stripTags"><a href=
"LuCI.form.TextValue.html#stripTags">stripTags
</a></li>
1705 <li data-name=
"LuCI.form.TextValue#textvalue"><a href=
"LuCI.form.TextValue.html#textvalue">textvalue
</a></li>
1707 <li data-name=
"LuCI.form.TextValue#titleFn"><a href=
"LuCI.form.TextValue.html#titleFn">titleFn
</a></li>
1709 <li data-name=
"LuCI.form.TextValue#write"><a href=
"LuCI.form.TextValue.html#write">write
</a></li>
1712 <ul class=
"events itemMembers">
1717 <li class=
"item" data-name=
"LuCI.form.TypedSection">
1718 <span class=
"title">
1719 <a href=
"LuCI.form.TypedSection.html">LuCI.form.TypedSection
</a>
1722 <ul class=
"members itemMembers">
1724 <span class=
"subtitle">Members
</span>
1726 <li data-name=
"LuCI.form.TypedSection##addbtntitle"><a href=
"LuCI.form.TypedSection.html#addbtntitle">addbtntitle
</a></li>
1728 <li data-name=
"LuCI.form.TypedSection##addremove"><a href=
"LuCI.form.TypedSection.html#addremove">addremove
</a></li>
1730 <li data-name=
"LuCI.form.TypedSection##anonymous"><a href=
"LuCI.form.TypedSection.html#anonymous">anonymous
</a></li>
1732 <li data-name=
"LuCI.form.TypedSection##tabbed"><a href=
"LuCI.form.TypedSection.html#tabbed">tabbed
</a></li>
1734 <li data-name=
"LuCI.form.TypedSection##uciconfig"><a href=
"LuCI.form.TypedSection.html#uciconfig">uciconfig
</a></li>
1736 <li data-name=
"LuCI.form.TypedSection#parentoption"><a href=
"LuCI.form.TypedSection.html#parentoption">parentoption
</a></li>
1739 <ul class=
"typedefs itemMembers">
1742 <ul class=
"typedefs itemMembers">
1745 <ul class=
"methods itemMembers">
1747 <span class=
"subtitle">Methods
</span>
1749 <li data-name=
"LuCI.form.TypedSection#append"><a href=
"LuCI.form.TypedSection.html#append">append
</a></li>
1751 <li data-name=
"LuCI.form.TypedSection#cfgsections"><a href=
"LuCI.form.TypedSection.html#cfgsections">cfgsections
</a></li>
1753 <li data-name=
"LuCI.form.TypedSection#cfgvalue"><a href=
"LuCI.form.TypedSection.html#cfgvalue">cfgvalue
</a></li>
1755 <li data-name=
"LuCI.form.TypedSection#filter"><a href=
"LuCI.form.TypedSection.html#filter">filter
</a></li>
1757 <li data-name=
"LuCI.form.TypedSection#formvalue"><a href=
"LuCI.form.TypedSection.html#formvalue">formvalue
</a></li>
1759 <li data-name=
"LuCI.form.TypedSection#getOption"><a href=
"LuCI.form.TypedSection.html#getOption">getOption
</a></li>
1761 <li data-name=
"LuCI.form.TypedSection#getUIElement"><a href=
"LuCI.form.TypedSection.html#getUIElement">getUIElement
</a></li>
1763 <li data-name=
"LuCI.form.TypedSection#load"><a href=
"LuCI.form.TypedSection.html#load">load
</a></li>
1765 <li data-name=
"LuCI.form.TypedSection#option"><a href=
"LuCI.form.TypedSection.html#option">option
</a></li>
1767 <li data-name=
"LuCI.form.TypedSection#parse"><a href=
"LuCI.form.TypedSection.html#parse">parse
</a></li>
1769 <li data-name=
"LuCI.form.TypedSection#render"><a href=
"LuCI.form.TypedSection.html#render">render
</a></li>
1771 <li data-name=
"LuCI.form.TypedSection#stripTags"><a href=
"LuCI.form.TypedSection.html#stripTags">stripTags
</a></li>
1773 <li data-name=
"LuCI.form.TypedSection#tab"><a href=
"LuCI.form.TypedSection.html#tab">tab
</a></li>
1775 <li data-name=
"LuCI.form.TypedSection#taboption"><a href=
"LuCI.form.TypedSection.html#taboption">taboption
</a></li>
1777 <li data-name=
"LuCI.form.TypedSection#titleFn"><a href=
"LuCI.form.TypedSection.html#titleFn">titleFn
</a></li>
1780 <ul class=
"events itemMembers">
1785 <li class=
"item" data-name=
"LuCI.form.Value">
1786 <span class=
"title">
1787 <a href=
"LuCI.form.Value.html">LuCI.form.Value
</a>
1790 <ul class=
"members itemMembers">
1792 <span class=
"subtitle">Members
</span>
1794 <li data-name=
"LuCI.form.Value##password"><a href=
"LuCI.form.Value.html#password">password
</a></li>
1796 <li data-name=
"LuCI.form.Value##placeholder"><a href=
"LuCI.form.Value.html#placeholder">placeholder
</a></li>
1798 <li data-name=
"LuCI.form.Value#datatype"><a href=
"LuCI.form.Value.html#datatype">datatype
</a></li>
1800 <li data-name=
"LuCI.form.Value#default"><a href=
"LuCI.form.Value.html#default">default
</a></li>
1802 <li data-name=
"LuCI.form.Value#editable"><a href=
"LuCI.form.Value.html#editable">editable
</a></li>
1804 <li data-name=
"LuCI.form.Value#modalonly"><a href=
"LuCI.form.Value.html#modalonly">modalonly
</a></li>
1806 <li data-name=
"LuCI.form.Value#onchange"><a href=
"LuCI.form.Value.html#onchange">onchange
</a></li>
1808 <li data-name=
"LuCI.form.Value#optional"><a href=
"LuCI.form.Value.html#optional">optional
</a></li>
1810 <li data-name=
"LuCI.form.Value#readonly"><a href=
"LuCI.form.Value.html#readonly">readonly
</a></li>
1812 <li data-name=
"LuCI.form.Value#retain"><a href=
"LuCI.form.Value.html#retain">retain
</a></li>
1814 <li data-name=
"LuCI.form.Value#rmempty"><a href=
"LuCI.form.Value.html#rmempty">rmempty
</a></li>
1816 <li data-name=
"LuCI.form.Value#uciconfig"><a href=
"LuCI.form.Value.html#uciconfig">uciconfig
</a></li>
1818 <li data-name=
"LuCI.form.Value#ucioption"><a href=
"LuCI.form.Value.html#ucioption">ucioption
</a></li>
1820 <li data-name=
"LuCI.form.Value#ucisection"><a href=
"LuCI.form.Value.html#ucisection">ucisection
</a></li>
1822 <li data-name=
"LuCI.form.Value#validate"><a href=
"LuCI.form.Value.html#validate">validate
</a></li>
1824 <li data-name=
"LuCI.form.Value#width"><a href=
"LuCI.form.Value.html#width">width
</a></li>
1827 <ul class=
"typedefs itemMembers">
1830 <ul class=
"typedefs itemMembers">
1833 <ul class=
"methods itemMembers">
1835 <span class=
"subtitle">Methods
</span>
1837 <li data-name=
"LuCI.form.Value#append"><a href=
"LuCI.form.Value.html#append">append
</a></li>
1839 <li data-name=
"LuCI.form.Value#cbid"><a href=
"LuCI.form.Value.html#cbid">cbid
</a></li>
1841 <li data-name=
"LuCI.form.Value#cfgvalue"><a href=
"LuCI.form.Value.html#cfgvalue">cfgvalue
</a></li>
1843 <li data-name=
"LuCI.form.Value#depends"><a href=
"LuCI.form.Value.html#depends">depends
</a></li>
1845 <li data-name=
"LuCI.form.Value#formvalue"><a href=
"LuCI.form.Value.html#formvalue">formvalue
</a></li>
1847 <li data-name=
"LuCI.form.Value#getUIElement"><a href=
"LuCI.form.Value.html#getUIElement">getUIElement
</a></li>
1849 <li data-name=
"LuCI.form.Value#getValidationError"><a href=
"LuCI.form.Value.html#getValidationError">getValidationError
</a></li>
1851 <li data-name=
"LuCI.form.Value#isActive"><a href=
"LuCI.form.Value.html#isActive">isActive
</a></li>
1853 <li data-name=
"LuCI.form.Value#isValid"><a href=
"LuCI.form.Value.html#isValid">isValid
</a></li>
1855 <li data-name=
"LuCI.form.Value#load"><a href=
"LuCI.form.Value.html#load">load
</a></li>
1857 <li data-name=
"LuCI.form.Value#parse"><a href=
"LuCI.form.Value.html#parse">parse
</a></li>
1859 <li data-name=
"LuCI.form.Value#remove"><a href=
"LuCI.form.Value.html#remove">remove
</a></li>
1861 <li data-name=
"LuCI.form.Value#render"><a href=
"LuCI.form.Value.html#render">render
</a></li>
1863 <li data-name=
"LuCI.form.Value#stripTags"><a href=
"LuCI.form.Value.html#stripTags">stripTags
</a></li>
1865 <li data-name=
"LuCI.form.Value#textvalue"><a href=
"LuCI.form.Value.html#textvalue">textvalue
</a></li>
1867 <li data-name=
"LuCI.form.Value#titleFn"><a href=
"LuCI.form.Value.html#titleFn">titleFn
</a></li>
1869 <li data-name=
"LuCI.form.Value#value"><a href=
"LuCI.form.Value.html#value">value
</a></li>
1871 <li data-name=
"LuCI.form.Value#write"><a href=
"LuCI.form.Value.html#write">write
</a></li>
1874 <ul class=
"events itemMembers">
1879 <li class=
"item" data-name=
"LuCI.fs">
1880 <span class=
"title">
1881 <a href=
"LuCI.fs.html">LuCI.fs
</a>
1884 <ul class=
"members itemMembers">
1887 <ul class=
"typedefs itemMembers">
1889 <span class=
"subtitle">Typedefs
</span>
1891 <li data-name=
"LuCI.fs.FileExecResult"><a href=
"LuCI.fs.html#.FileExecResult">FileExecResult
</a></li>
1893 <li data-name=
"LuCI.fs.FileStatEntry"><a href=
"LuCI.fs.html#.FileStatEntry">FileStatEntry
</a></li>
1896 <ul class=
"typedefs itemMembers">
1899 <ul class=
"methods itemMembers">
1901 <span class=
"subtitle">Methods
</span>
1903 <li data-name=
"LuCI.fs#exec"><a href=
"LuCI.fs.html#exec">exec
</a></li>
1905 <li data-name=
"LuCI.fs#exec_direct"><a href=
"LuCI.fs.html#exec_direct">exec_direct
</a></li>
1907 <li data-name=
"LuCI.fs#lines"><a href=
"LuCI.fs.html#lines">lines
</a></li>
1909 <li data-name=
"LuCI.fs#list"><a href=
"LuCI.fs.html#list">list
</a></li>
1911 <li data-name=
"LuCI.fs#read"><a href=
"LuCI.fs.html#read">read
</a></li>
1913 <li data-name=
"LuCI.fs#read_direct"><a href=
"LuCI.fs.html#read_direct">read_direct
</a></li>
1915 <li data-name=
"LuCI.fs#remove"><a href=
"LuCI.fs.html#remove">remove
</a></li>
1917 <li data-name=
"LuCI.fs#stat"><a href=
"LuCI.fs.html#stat">stat
</a></li>
1919 <li data-name=
"LuCI.fs#trimmed"><a href=
"LuCI.fs.html#trimmed">trimmed
</a></li>
1921 <li data-name=
"LuCI.fs#write"><a href=
"LuCI.fs.html#write">write
</a></li>
1924 <ul class=
"events itemMembers">
1929 <li class=
"item" data-name=
"LuCI.headers">
1930 <span class=
"title">
1931 <a href=
"LuCI.headers.html">LuCI.headers
</a>
1934 <ul class=
"members itemMembers">
1937 <ul class=
"typedefs itemMembers">
1940 <ul class=
"typedefs itemMembers">
1943 <ul class=
"methods itemMembers">
1945 <span class=
"subtitle">Methods
</span>
1947 <li data-name=
"LuCI.headers#get"><a href=
"LuCI.headers.html#get">get
</a></li>
1949 <li data-name=
"LuCI.headers#has"><a href=
"LuCI.headers.html#has">has
</a></li>
1952 <ul class=
"events itemMembers">
1957 <li class=
"item" data-name=
"LuCI.network">
1958 <span class=
"title">
1959 <a href=
"LuCI.network.html">LuCI.network
</a>
1962 <ul class=
"members itemMembers">
1965 <ul class=
"typedefs itemMembers">
1967 <span class=
"subtitle">Typedefs
</span>
1969 <li data-name=
"LuCI.network.SwitchTopology"><a href=
"LuCI.network.html#.SwitchTopology">SwitchTopology
</a></li>
1971 <li data-name=
"LuCI.network.WifiEncryption"><a href=
"LuCI.network.html#.WifiEncryption">WifiEncryption
</a></li>
1973 <li data-name=
"LuCI.network.WifiPeerEntry"><a href=
"LuCI.network.html#.WifiPeerEntry">WifiPeerEntry
</a></li>
1975 <li data-name=
"LuCI.network.WifiRateEntry"><a href=
"LuCI.network.html#.WifiRateEntry">WifiRateEntry
</a></li>
1977 <li data-name=
"LuCI.network.WifiScanResult"><a href=
"LuCI.network.html#.WifiScanResult">WifiScanResult
</a></li>
1980 <ul class=
"typedefs itemMembers">
1983 <ul class=
"methods itemMembers">
1985 <span class=
"subtitle">Methods
</span>
1987 <li data-name=
"LuCI.network#addNetwork"><a href=
"LuCI.network.html#addNetwork">addNetwork
</a></li>
1989 <li data-name=
"LuCI.network#addWifiNetwork"><a href=
"LuCI.network.html#addWifiNetwork">addWifiNetwork
</a></li>
1991 <li data-name=
"LuCI.network#deleteNetwork"><a href=
"LuCI.network.html#deleteNetwork">deleteNetwork
</a></li>
1993 <li data-name=
"LuCI.network#deleteWifiNetwork"><a href=
"LuCI.network.html#deleteWifiNetwork">deleteWifiNetwork
</a></li>
1995 <li data-name=
"LuCI.network#flushCache"><a href=
"LuCI.network.html#flushCache">flushCache
</a></li>
1997 <li data-name=
"LuCI.network#formatWifiEncryption"><a href=
"LuCI.network.html#formatWifiEncryption">formatWifiEncryption
</a></li>
1999 <li data-name=
"LuCI.network#getDevice"><a href=
"LuCI.network.html#getDevice">getDevice
</a></li>
2001 <li data-name=
"LuCI.network#getDevices"><a href=
"LuCI.network.html#getDevices">getDevices
</a></li>
2003 <li data-name=
"LuCI.network#getDSLModemType"><a href=
"LuCI.network.html#getDSLModemType">getDSLModemType
</a></li>
2005 <li data-name=
"LuCI.network#getHostHints"><a href=
"LuCI.network.html#getHostHints">getHostHints
</a></li>
2007 <li data-name=
"LuCI.network#getIfnameOf"><a href=
"LuCI.network.html#getIfnameOf">getIfnameOf
</a></li>
2009 <li data-name=
"LuCI.network#getNetwork"><a href=
"LuCI.network.html#getNetwork">getNetwork
</a></li>
2011 <li data-name=
"LuCI.network#getNetworks"><a href=
"LuCI.network.html#getNetworks">getNetworks
</a></li>
2013 <li data-name=
"LuCI.network#getProtocol"><a href=
"LuCI.network.html#getProtocol">getProtocol
</a></li>
2015 <li data-name=
"LuCI.network#getProtocols"><a href=
"LuCI.network.html#getProtocols">getProtocols
</a></li>
2017 <li data-name=
"LuCI.network#getSwitchTopologies"><a href=
"LuCI.network.html#getSwitchTopologies">getSwitchTopologies
</a></li>
2019 <li data-name=
"LuCI.network#getWAN6Networks"><a href=
"LuCI.network.html#getWAN6Networks">getWAN6Networks
</a></li>
2021 <li data-name=
"LuCI.network#getWANNetworks"><a href=
"LuCI.network.html#getWANNetworks">getWANNetworks
</a></li>
2023 <li data-name=
"LuCI.network#getWifiDevice"><a href=
"LuCI.network.html#getWifiDevice">getWifiDevice
</a></li>
2025 <li data-name=
"LuCI.network#getWifiDevices"><a href=
"LuCI.network.html#getWifiDevices">getWifiDevices
</a></li>
2027 <li data-name=
"LuCI.network#getWifiNetwork"><a href=
"LuCI.network.html#getWifiNetwork">getWifiNetwork
</a></li>
2029 <li data-name=
"LuCI.network#getWifiNetworks"><a href=
"LuCI.network.html#getWifiNetworks">getWifiNetworks
</a></li>
2031 <li data-name=
"LuCI.network#isIgnoredDevice"><a href=
"LuCI.network.html#isIgnoredDevice">isIgnoredDevice
</a></li>
2033 <li data-name=
"LuCI.network#maskToPrefix"><a href=
"LuCI.network.html#maskToPrefix">maskToPrefix
</a></li>
2035 <li data-name=
"LuCI.network#prefixToMask"><a href=
"LuCI.network.html#prefixToMask">prefixToMask
</a></li>
2037 <li data-name=
"LuCI.network#registerErrorCode"><a href=
"LuCI.network.html#registerErrorCode">registerErrorCode
</a></li>
2039 <li data-name=
"LuCI.network#registerPatternVirtual"><a href=
"LuCI.network.html#registerPatternVirtual">registerPatternVirtual
</a></li>
2041 <li data-name=
"LuCI.network#registerProtocol"><a href=
"LuCI.network.html#registerProtocol">registerProtocol
</a></li>
2043 <li data-name=
"LuCI.network#renameNetwork"><a href=
"LuCI.network.html#renameNetwork">renameNetwork
</a></li>
2046 <ul class=
"events itemMembers">
2051 <li class=
"item" data-name=
"LuCI.network.Device">
2052 <span class=
"title">
2053 <a href=
"LuCI.network.Device.html">LuCI.network.Device
</a>
2056 <ul class=
"members itemMembers">
2059 <ul class=
"typedefs itemMembers">
2062 <ul class=
"typedefs itemMembers">
2065 <ul class=
"methods itemMembers">
2067 <span class=
"subtitle">Methods
</span>
2069 <li data-name=
"LuCI.network.Device#getBridgeID"><a href=
"LuCI.network.Device.html#getBridgeID">getBridgeID
</a></li>
2071 <li data-name=
"LuCI.network.Device#getBridgeSTP"><a href=
"LuCI.network.Device.html#getBridgeSTP">getBridgeSTP
</a></li>
2073 <li data-name=
"LuCI.network.Device#getCarrier"><a href=
"LuCI.network.Device.html#getCarrier">getCarrier
</a></li>
2075 <li data-name=
"LuCI.network.Device#getDuplex"><a href=
"LuCI.network.Device.html#getDuplex">getDuplex
</a></li>
2077 <li data-name=
"LuCI.network.Device#getI18n"><a href=
"LuCI.network.Device.html#getI18n">getI18n
</a></li>
2079 <li data-name=
"LuCI.network.Device#getIP6Addrs"><a href=
"LuCI.network.Device.html#getIP6Addrs">getIP6Addrs
</a></li>
2081 <li data-name=
"LuCI.network.Device#getIPAddrs"><a href=
"LuCI.network.Device.html#getIPAddrs">getIPAddrs
</a></li>
2083 <li data-name=
"LuCI.network.Device#getMAC"><a href=
"LuCI.network.Device.html#getMAC">getMAC
</a></li>
2085 <li data-name=
"LuCI.network.Device#getMTU"><a href=
"LuCI.network.Device.html#getMTU">getMTU
</a></li>
2087 <li data-name=
"LuCI.network.Device#getName"><a href=
"LuCI.network.Device.html#getName">getName
</a></li>
2089 <li data-name=
"LuCI.network.Device#getNetwork"><a href=
"LuCI.network.Device.html#getNetwork">getNetwork
</a></li>
2091 <li data-name=
"LuCI.network.Device#getNetworks"><a href=
"LuCI.network.Device.html#getNetworks">getNetworks
</a></li>
2093 <li data-name=
"LuCI.network.Device#getParent"><a href=
"LuCI.network.Device.html#getParent">getParent
</a></li>
2095 <li data-name=
"LuCI.network.Device#getPorts"><a href=
"LuCI.network.Device.html#getPorts">getPorts
</a></li>
2097 <li data-name=
"LuCI.network.Device#getRXBytes"><a href=
"LuCI.network.Device.html#getRXBytes">getRXBytes
</a></li>
2099 <li data-name=
"LuCI.network.Device#getRXPackets"><a href=
"LuCI.network.Device.html#getRXPackets">getRXPackets
</a></li>
2101 <li data-name=
"LuCI.network.Device#getShortName"><a href=
"LuCI.network.Device.html#getShortName">getShortName
</a></li>
2103 <li data-name=
"LuCI.network.Device#getSpeed"><a href=
"LuCI.network.Device.html#getSpeed">getSpeed
</a></li>
2105 <li data-name=
"LuCI.network.Device#getTXBytes"><a href=
"LuCI.network.Device.html#getTXBytes">getTXBytes
</a></li>
2107 <li data-name=
"LuCI.network.Device#getTXPackets"><a href=
"LuCI.network.Device.html#getTXPackets">getTXPackets
</a></li>
2109 <li data-name=
"LuCI.network.Device#getType"><a href=
"LuCI.network.Device.html#getType">getType
</a></li>
2111 <li data-name=
"LuCI.network.Device#getTypeI18n"><a href=
"LuCI.network.Device.html#getTypeI18n">getTypeI18n
</a></li>
2113 <li data-name=
"LuCI.network.Device#getWifiNetwork"><a href=
"LuCI.network.Device.html#getWifiNetwork">getWifiNetwork
</a></li>
2115 <li data-name=
"LuCI.network.Device#isBridge"><a href=
"LuCI.network.Device.html#isBridge">isBridge
</a></li>
2117 <li data-name=
"LuCI.network.Device#isBridgePort"><a href=
"LuCI.network.Device.html#isBridgePort">isBridgePort
</a></li>
2119 <li data-name=
"LuCI.network.Device#isUp"><a href=
"LuCI.network.Device.html#isUp">isUp
</a></li>
2122 <ul class=
"events itemMembers">
2127 <li class=
"item" data-name=
"LuCI.network.Hosts">
2128 <span class=
"title">
2129 <a href=
"LuCI.network.Hosts.html">LuCI.network.Hosts
</a>
2132 <ul class=
"members itemMembers">
2135 <ul class=
"typedefs itemMembers">
2138 <ul class=
"typedefs itemMembers">
2141 <ul class=
"methods itemMembers">
2143 <span class=
"subtitle">Methods
</span>
2145 <li data-name=
"LuCI.network.Hosts#getHostnameByIP6Addr"><a href=
"LuCI.network.Hosts.html#getHostnameByIP6Addr">getHostnameByIP6Addr
</a></li>
2147 <li data-name=
"LuCI.network.Hosts#getHostnameByIPAddr"><a href=
"LuCI.network.Hosts.html#getHostnameByIPAddr">getHostnameByIPAddr
</a></li>
2149 <li data-name=
"LuCI.network.Hosts#getHostnameByMACAddr"><a href=
"LuCI.network.Hosts.html#getHostnameByMACAddr">getHostnameByMACAddr
</a></li>
2151 <li data-name=
"LuCI.network.Hosts#getIP6AddrByMACAddr"><a href=
"LuCI.network.Hosts.html#getIP6AddrByMACAddr">getIP6AddrByMACAddr
</a></li>
2153 <li data-name=
"LuCI.network.Hosts#getIPAddrByMACAddr"><a href=
"LuCI.network.Hosts.html#getIPAddrByMACAddr">getIPAddrByMACAddr
</a></li>
2155 <li data-name=
"LuCI.network.Hosts#getMACAddrByIP6Addr"><a href=
"LuCI.network.Hosts.html#getMACAddrByIP6Addr">getMACAddrByIP6Addr
</a></li>
2157 <li data-name=
"LuCI.network.Hosts#getMACAddrByIPAddr"><a href=
"LuCI.network.Hosts.html#getMACAddrByIPAddr">getMACAddrByIPAddr
</a></li>
2159 <li data-name=
"LuCI.network.Hosts#getMACHints"><a href=
"LuCI.network.Hosts.html#getMACHints">getMACHints
</a></li>
2162 <ul class=
"events itemMembers">
2167 <li class=
"item" data-name=
"LuCI.network.Protocol">
2168 <span class=
"title">
2169 <a href=
"LuCI.network.Protocol.html">LuCI.network.Protocol
</a>
2172 <ul class=
"members itemMembers">
2175 <ul class=
"typedefs itemMembers">
2178 <ul class=
"typedefs itemMembers">
2181 <ul class=
"methods itemMembers">
2183 <span class=
"subtitle">Methods
</span>
2185 <li data-name=
"LuCI.network.Protocol#addDevice"><a href=
"LuCI.network.Protocol.html#addDevice">addDevice
</a></li>
2187 <li data-name=
"LuCI.network.Protocol#containsDevice"><a href=
"LuCI.network.Protocol.html#containsDevice">containsDevice
</a></li>
2189 <li data-name=
"LuCI.network.Protocol#deleteConfiguration"><a href=
"LuCI.network.Protocol.html#deleteConfiguration">deleteConfiguration
</a></li>
2191 <li data-name=
"LuCI.network.Protocol#deleteDevice"><a href=
"LuCI.network.Protocol.html#deleteDevice">deleteDevice
</a></li>
2193 <li data-name=
"LuCI.network.Protocol#get"><a href=
"LuCI.network.Protocol.html#get">get
</a></li>
2195 <li data-name=
"LuCI.network.Protocol#getDevice"><a href=
"LuCI.network.Protocol.html#getDevice">getDevice
</a></li>
2197 <li data-name=
"LuCI.network.Protocol#getDevices"><a href=
"LuCI.network.Protocol.html#getDevices">getDevices
</a></li>
2199 <li data-name=
"LuCI.network.Protocol#getDNS6Addrs"><a href=
"LuCI.network.Protocol.html#getDNS6Addrs">getDNS6Addrs
</a></li>
2201 <li data-name=
"LuCI.network.Protocol#getDNSAddrs"><a href=
"LuCI.network.Protocol.html#getDNSAddrs">getDNSAddrs
</a></li>
2203 <li data-name=
"LuCI.network.Protocol#getErrors"><a href=
"LuCI.network.Protocol.html#getErrors">getErrors
</a></li>
2205 <li data-name=
"LuCI.network.Protocol#getExpiry"><a href=
"LuCI.network.Protocol.html#getExpiry">getExpiry
</a></li>
2207 <li data-name=
"LuCI.network.Protocol#getGateway6Addr"><a href=
"LuCI.network.Protocol.html#getGateway6Addr">getGateway6Addr
</a></li>
2209 <li data-name=
"LuCI.network.Protocol#getGatewayAddr"><a href=
"LuCI.network.Protocol.html#getGatewayAddr">getGatewayAddr
</a></li>
2211 <li data-name=
"LuCI.network.Protocol#getI18n"><a href=
"LuCI.network.Protocol.html#getI18n">getI18n
</a></li>
2213 <li data-name=
"LuCI.network.Protocol#getIfname"><a href=
"LuCI.network.Protocol.html#getIfname">getIfname
</a></li>
2215 <li data-name=
"LuCI.network.Protocol#getIP6Addr"><a href=
"LuCI.network.Protocol.html#getIP6Addr">getIP6Addr
</a></li>
2217 <li data-name=
"LuCI.network.Protocol#getIP6Addrs"><a href=
"LuCI.network.Protocol.html#getIP6Addrs">getIP6Addrs
</a></li>
2219 <li data-name=
"LuCI.network.Protocol#getIP6Prefix"><a href=
"LuCI.network.Protocol.html#getIP6Prefix">getIP6Prefix
</a></li>
2221 <li data-name=
"LuCI.network.Protocol#getIPAddr"><a href=
"LuCI.network.Protocol.html#getIPAddr">getIPAddr
</a></li>
2223 <li data-name=
"LuCI.network.Protocol#getIPAddrs"><a href=
"LuCI.network.Protocol.html#getIPAddrs">getIPAddrs
</a></li>
2225 <li data-name=
"LuCI.network.Protocol#getL2Device"><a href=
"LuCI.network.Protocol.html#getL2Device">getL2Device
</a></li>
2227 <li data-name=
"LuCI.network.Protocol#getL3Device"><a href=
"LuCI.network.Protocol.html#getL3Device">getL3Device
</a></li>
2229 <li data-name=
"LuCI.network.Protocol#getMetric"><a href=
"LuCI.network.Protocol.html#getMetric">getMetric
</a></li>
2231 <li data-name=
"LuCI.network.Protocol#getName"><a href=
"LuCI.network.Protocol.html#getName">getName
</a></li>
2233 <li data-name=
"LuCI.network.Protocol#getNetmask"><a href=
"LuCI.network.Protocol.html#getNetmask">getNetmask
</a></li>
2235 <li data-name=
"LuCI.network.Protocol#getOpkgPackage"><a href=
"LuCI.network.Protocol.html#getOpkgPackage">getOpkgPackage
</a></li>
2237 <li data-name=
"LuCI.network.Protocol#getProtocol"><a href=
"LuCI.network.Protocol.html#getProtocol">getProtocol
</a></li>
2239 <li data-name=
"LuCI.network.Protocol#getType"><a href=
"LuCI.network.Protocol.html#getType">getType
</a></li>
2241 <li data-name=
"LuCI.network.Protocol#getUptime"><a href=
"LuCI.network.Protocol.html#getUptime">getUptime
</a></li>
2243 <li data-name=
"LuCI.network.Protocol#getZoneName"><a href=
"LuCI.network.Protocol.html#getZoneName">getZoneName
</a></li>
2245 <li data-name=
"LuCI.network.Protocol#isAlias"><a href=
"LuCI.network.Protocol.html#isAlias">isAlias
</a></li>
2247 <li data-name=
"LuCI.network.Protocol#isBridge"><a href=
"LuCI.network.Protocol.html#isBridge">isBridge
</a></li>
2249 <li data-name=
"LuCI.network.Protocol#isCreateable"><a href=
"LuCI.network.Protocol.html#isCreateable">isCreateable
</a></li>
2251 <li data-name=
"LuCI.network.Protocol#isDynamic"><a href=
"LuCI.network.Protocol.html#isDynamic">isDynamic
</a></li>
2253 <li data-name=
"LuCI.network.Protocol#isEmpty"><a href=
"LuCI.network.Protocol.html#isEmpty">isEmpty
</a></li>
2255 <li data-name=
"LuCI.network.Protocol#isFloating"><a href=
"LuCI.network.Protocol.html#isFloating">isFloating
</a></li>
2257 <li data-name=
"LuCI.network.Protocol#isInstalled"><a href=
"LuCI.network.Protocol.html#isInstalled">isInstalled
</a></li>
2259 <li data-name=
"LuCI.network.Protocol#isUp"><a href=
"LuCI.network.Protocol.html#isUp">isUp
</a></li>
2261 <li data-name=
"LuCI.network.Protocol#isVirtual"><a href=
"LuCI.network.Protocol.html#isVirtual">isVirtual
</a></li>
2263 <li data-name=
"LuCI.network.Protocol#set"><a href=
"LuCI.network.Protocol.html#set">set
</a></li>
2266 <ul class=
"events itemMembers">
2271 <li class=
"item" data-name=
"LuCI.network.WifiDevice">
2272 <span class=
"title">
2273 <a href=
"LuCI.network.WifiDevice.html">LuCI.network.WifiDevice
</a>
2276 <ul class=
"members itemMembers">
2279 <ul class=
"typedefs itemMembers">
2282 <ul class=
"typedefs itemMembers">
2285 <ul class=
"methods itemMembers">
2287 <span class=
"subtitle">Methods
</span>
2289 <li data-name=
"LuCI.network.WifiDevice#addWifiNetwork"><a href=
"LuCI.network.WifiDevice.html#addWifiNetwork">addWifiNetwork
</a></li>
2291 <li data-name=
"LuCI.network.WifiDevice#deleteWifiNetwork"><a href=
"LuCI.network.WifiDevice.html#deleteWifiNetwork">deleteWifiNetwork
</a></li>
2293 <li data-name=
"LuCI.network.WifiDevice#get"><a href=
"LuCI.network.WifiDevice.html#get">get
</a></li>
2295 <li data-name=
"LuCI.network.WifiDevice#getHTModes"><a href=
"LuCI.network.WifiDevice.html#getHTModes">getHTModes
</a></li>
2297 <li data-name=
"LuCI.network.WifiDevice#getHWModes"><a href=
"LuCI.network.WifiDevice.html#getHWModes">getHWModes
</a></li>
2299 <li data-name=
"LuCI.network.WifiDevice#getI18n"><a href=
"LuCI.network.WifiDevice.html#getI18n">getI18n
</a></li>
2301 <li data-name=
"LuCI.network.WifiDevice#getName"><a href=
"LuCI.network.WifiDevice.html#getName">getName
</a></li>
2303 <li data-name=
"LuCI.network.WifiDevice#getScanList"><a href=
"LuCI.network.WifiDevice.html#getScanList">getScanList
</a></li>
2305 <li data-name=
"LuCI.network.WifiDevice#getWifiNetwork"><a href=
"LuCI.network.WifiDevice.html#getWifiNetwork">getWifiNetwork
</a></li>
2307 <li data-name=
"LuCI.network.WifiDevice#getWifiNetworks"><a href=
"LuCI.network.WifiDevice.html#getWifiNetworks">getWifiNetworks
</a></li>
2309 <li data-name=
"LuCI.network.WifiDevice#isDisabled"><a href=
"LuCI.network.WifiDevice.html#isDisabled">isDisabled
</a></li>
2311 <li data-name=
"LuCI.network.WifiDevice#isUp"><a href=
"LuCI.network.WifiDevice.html#isUp">isUp
</a></li>
2313 <li data-name=
"LuCI.network.WifiDevice#set"><a href=
"LuCI.network.WifiDevice.html#set">set
</a></li>
2316 <ul class=
"events itemMembers">
2321 <li class=
"item" data-name=
"LuCI.network.WifiNetwork">
2322 <span class=
"title">
2323 <a href=
"LuCI.network.WifiNetwork.html">LuCI.network.WifiNetwork
</a>
2326 <ul class=
"members itemMembers">
2329 <ul class=
"typedefs itemMembers">
2332 <ul class=
"typedefs itemMembers">
2335 <ul class=
"methods itemMembers">
2337 <span class=
"subtitle">Methods
</span>
2339 <li data-name=
"LuCI.network.WifiNetwork#disconnectClient"><a href=
"LuCI.network.WifiNetwork.html#disconnectClient">disconnectClient
</a></li>
2341 <li data-name=
"LuCI.network.WifiNetwork#get"><a href=
"LuCI.network.WifiNetwork.html#get">get
</a></li>
2343 <li data-name=
"LuCI.network.WifiNetwork#getActiveBSSID"><a href=
"LuCI.network.WifiNetwork.html#getActiveBSSID">getActiveBSSID
</a></li>
2345 <li data-name=
"LuCI.network.WifiNetwork#getActiveEncryption"><a href=
"LuCI.network.WifiNetwork.html#getActiveEncryption">getActiveEncryption
</a></li>
2347 <li data-name=
"LuCI.network.WifiNetwork#getActiveMode"><a href=
"LuCI.network.WifiNetwork.html#getActiveMode">getActiveMode
</a></li>
2349 <li data-name=
"LuCI.network.WifiNetwork#getActiveModeI18n"><a href=
"LuCI.network.WifiNetwork.html#getActiveModeI18n">getActiveModeI18n
</a></li>
2351 <li data-name=
"LuCI.network.WifiNetwork#getActiveSSID"><a href=
"LuCI.network.WifiNetwork.html#getActiveSSID">getActiveSSID
</a></li>
2353 <li data-name=
"LuCI.network.WifiNetwork#getAssocList"><a href=
"LuCI.network.WifiNetwork.html#getAssocList">getAssocList
</a></li>
2355 <li data-name=
"LuCI.network.WifiNetwork#getBitRate"><a href=
"LuCI.network.WifiNetwork.html#getBitRate">getBitRate
</a></li>
2357 <li data-name=
"LuCI.network.WifiNetwork#getBSSID"><a href=
"LuCI.network.WifiNetwork.html#getBSSID">getBSSID
</a></li>
2359 <li data-name=
"LuCI.network.WifiNetwork#getChannel"><a href=
"LuCI.network.WifiNetwork.html#getChannel">getChannel
</a></li>
2361 <li data-name=
"LuCI.network.WifiNetwork#getCountryCode"><a href=
"LuCI.network.WifiNetwork.html#getCountryCode">getCountryCode
</a></li>
2363 <li data-name=
"LuCI.network.WifiNetwork#getDevice"><a href=
"LuCI.network.WifiNetwork.html#getDevice">getDevice
</a></li>
2365 <li data-name=
"LuCI.network.WifiNetwork#getFrequency"><a href=
"LuCI.network.WifiNetwork.html#getFrequency">getFrequency
</a></li>
2367 <li data-name=
"LuCI.network.WifiNetwork#getI18n"><a href=
"LuCI.network.WifiNetwork.html#getI18n">getI18n
</a></li>
2369 <li data-name=
"LuCI.network.WifiNetwork#getID"><a href=
"LuCI.network.WifiNetwork.html#getID">getID
</a></li>
2371 <li data-name=
"LuCI.network.WifiNetwork#getIfname"><a href=
"LuCI.network.WifiNetwork.html#getIfname">getIfname
</a></li>
2373 <li data-name=
"LuCI.network.WifiNetwork#getMeshID"><a href=
"LuCI.network.WifiNetwork.html#getMeshID">getMeshID
</a></li>
2375 <li data-name=
"LuCI.network.WifiNetwork#getMode"><a href=
"LuCI.network.WifiNetwork.html#getMode">getMode
</a></li>
2377 <li data-name=
"LuCI.network.WifiNetwork#getName"><a href=
"LuCI.network.WifiNetwork.html#getName">getName
</a></li>
2379 <li data-name=
"LuCI.network.WifiNetwork#getNetwork"><a href=
"LuCI.network.WifiNetwork.html#getNetwork">getNetwork
</a></li>
2381 <li data-name=
"LuCI.network.WifiNetwork#getNetworkNames"><a href=
"LuCI.network.WifiNetwork.html#getNetworkNames">getNetworkNames
</a></li>
2383 <li data-name=
"LuCI.network.WifiNetwork#getNetworks"><a href=
"LuCI.network.WifiNetwork.html#getNetworks">getNetworks
</a></li>
2385 <li data-name=
"LuCI.network.WifiNetwork#getNoise"><a href=
"LuCI.network.WifiNetwork.html#getNoise">getNoise
</a></li>
2387 <li data-name=
"LuCI.network.WifiNetwork#getShortName"><a href=
"LuCI.network.WifiNetwork.html#getShortName">getShortName
</a></li>
2389 <li data-name=
"LuCI.network.WifiNetwork#getSignal"><a href=
"LuCI.network.WifiNetwork.html#getSignal">getSignal
</a></li>
2391 <li data-name=
"LuCI.network.WifiNetwork#getSignalLevel"><a href=
"LuCI.network.WifiNetwork.html#getSignalLevel">getSignalLevel
</a></li>
2393 <li data-name=
"LuCI.network.WifiNetwork#getSignalPercent"><a href=
"LuCI.network.WifiNetwork.html#getSignalPercent">getSignalPercent
</a></li>
2395 <li data-name=
"LuCI.network.WifiNetwork#getSSID"><a href=
"LuCI.network.WifiNetwork.html#getSSID">getSSID
</a></li>
2397 <li data-name=
"LuCI.network.WifiNetwork#getTXPower"><a href=
"LuCI.network.WifiNetwork.html#getTXPower">getTXPower
</a></li>
2399 <li data-name=
"LuCI.network.WifiNetwork#getTXPowerOffset"><a href=
"LuCI.network.WifiNetwork.html#getTXPowerOffset">getTXPowerOffset
</a></li>
2401 <li data-name=
"LuCI.network.WifiNetwork#getVlanIfnames"><a href=
"LuCI.network.WifiNetwork.html#getVlanIfnames">getVlanIfnames
</a></li>
2403 <li data-name=
"LuCI.network.WifiNetwork#getWifiDevice"><a href=
"LuCI.network.WifiNetwork.html#getWifiDevice">getWifiDevice
</a></li>
2405 <li data-name=
"LuCI.network.WifiNetwork#getWifiDeviceName"><a href=
"LuCI.network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName
</a></li>
2407 <li data-name=
"LuCI.network.WifiNetwork#isClientDisconnectSupported"><a href=
"LuCI.network.WifiNetwork.html#isClientDisconnectSupported">isClientDisconnectSupported
</a></li>
2409 <li data-name=
"LuCI.network.WifiNetwork#isDisabled"><a href=
"LuCI.network.WifiNetwork.html#isDisabled">isDisabled
</a></li>
2411 <li data-name=
"LuCI.network.WifiNetwork#isUp"><a href=
"LuCI.network.WifiNetwork.html#isUp">isUp
</a></li>
2413 <li data-name=
"LuCI.network.WifiNetwork#set"><a href=
"LuCI.network.WifiNetwork.html#set">set
</a></li>
2416 <ul class=
"events itemMembers">
2421 <li class=
"item" data-name=
"LuCI.poll">
2422 <span class=
"title">
2423 <a href=
"LuCI.poll.html">LuCI.poll
</a>
2426 <ul class=
"members itemMembers">
2429 <ul class=
"typedefs itemMembers">
2432 <ul class=
"typedefs itemMembers">
2435 <ul class=
"methods itemMembers">
2437 <span class=
"subtitle">Methods
</span>
2439 <li data-name=
"LuCI.poll#active"><a href=
"LuCI.poll.html#active">active
</a></li>
2441 <li data-name=
"LuCI.poll#add"><a href=
"LuCI.poll.html#add">add
</a></li>
2443 <li data-name=
"LuCI.poll#remove"><a href=
"LuCI.poll.html#remove">remove
</a></li>
2445 <li data-name=
"LuCI.poll#start"><a href=
"LuCI.poll.html#start">start
</a></li>
2447 <li data-name=
"LuCI.poll#stop"><a href=
"LuCI.poll.html#stop">stop
</a></li>
2450 <ul class=
"events itemMembers">
2455 <li class=
"item" data-name=
"LuCI.request">
2456 <span class=
"title">
2457 <a href=
"LuCI.request.html">LuCI.request
</a>
2460 <ul class=
"members itemMembers">
2463 <ul class=
"typedefs itemMembers">
2465 <span class=
"subtitle">Typedefs
</span>
2467 <li data-name=
"LuCI.request.interceptorFn"><a href=
"LuCI.request.html#.interceptorFn">interceptorFn
</a></li>
2469 <li data-name=
"LuCI.request.RequestOptions"><a href=
"LuCI.request.html#.RequestOptions">RequestOptions
</a></li>
2472 <ul class=
"typedefs itemMembers">
2475 <ul class=
"methods itemMembers">
2477 <span class=
"subtitle">Methods
</span>
2479 <li data-name=
"LuCI.request#addInterceptor"><a href=
"LuCI.request.html#addInterceptor">addInterceptor
</a></li>
2481 <li data-name=
"LuCI.request#expandURL"><a href=
"LuCI.request.html#expandURL">expandURL
</a></li>
2483 <li data-name=
"LuCI.request#get"><a href=
"LuCI.request.html#get">get
</a></li>
2485 <li data-name=
"LuCI.request#post"><a href=
"LuCI.request.html#post">post
</a></li>
2487 <li data-name=
"LuCI.request#removeInterceptor"><a href=
"LuCI.request.html#removeInterceptor">removeInterceptor
</a></li>
2489 <li data-name=
"LuCI.request#request"><a href=
"LuCI.request.html#request">request
</a></li>
2492 <ul class=
"events itemMembers">
2497 <li class=
"item" data-name=
"LuCI.request.poll">
2498 <span class=
"title">
2499 <a href=
"LuCI.request.poll.html">LuCI.request.poll
</a>
2502 <ul class=
"members itemMembers">
2505 <ul class=
"typedefs itemMembers">
2507 <span class=
"subtitle">Typedefs
</span>
2509 <li data-name=
"LuCI.request.poll~callbackFn"><a href=
"LuCI.request.poll.html#~callbackFn">callbackFn
</a></li>
2512 <ul class=
"typedefs itemMembers">
2515 <ul class=
"methods itemMembers">
2517 <span class=
"subtitle">Methods
</span>
2519 <li data-name=
"LuCI.request.poll#active"><a href=
"LuCI.request.poll.html#active">active
</a></li>
2521 <li data-name=
"LuCI.request.poll#add"><a href=
"LuCI.request.poll.html#add">add
</a></li>
2523 <li data-name=
"LuCI.request.poll#remove"><a href=
"LuCI.request.poll.html#remove">remove
</a></li>
2525 <li data-name=
"LuCI.request.poll#start"><a href=
"LuCI.request.poll.html#start">start
</a></li>
2527 <li data-name=
"LuCI.request.poll#stop"><a href=
"LuCI.request.poll.html#stop">stop
</a></li>
2530 <ul class=
"events itemMembers">
2535 <li class=
"item" data-name=
"LuCI.response">
2536 <span class=
"title">
2537 <a href=
"LuCI.response.html">LuCI.response
</a>
2540 <ul class=
"members itemMembers">
2542 <span class=
"subtitle">Members
</span>
2544 <li data-name=
"LuCI.response#duration"><a href=
"LuCI.response.html#duration">duration
</a></li>
2546 <li data-name=
"LuCI.response#headers"><a href=
"LuCI.response.html#headers">headers
</a></li>
2548 <li data-name=
"LuCI.response#ok"><a href=
"LuCI.response.html#ok">ok
</a></li>
2550 <li data-name=
"LuCI.response#status"><a href=
"LuCI.response.html#status">status
</a></li>
2552 <li data-name=
"LuCI.response#statusText"><a href=
"LuCI.response.html#statusText">statusText
</a></li>
2554 <li data-name=
"LuCI.response#url"><a href=
"LuCI.response.html#url">url
</a></li>
2557 <ul class=
"typedefs itemMembers">
2560 <ul class=
"typedefs itemMembers">
2563 <ul class=
"methods itemMembers">
2565 <span class=
"subtitle">Methods
</span>
2567 <li data-name=
"LuCI.response#blob"><a href=
"LuCI.response.html#blob">blob
</a></li>
2569 <li data-name=
"LuCI.response#clone"><a href=
"LuCI.response.html#clone">clone
</a></li>
2571 <li data-name=
"LuCI.response#json"><a href=
"LuCI.response.html#json">json
</a></li>
2573 <li data-name=
"LuCI.response#text"><a href=
"LuCI.response.html#text">text
</a></li>
2576 <ul class=
"events itemMembers">
2581 <li class=
"item" data-name=
"LuCI.rpc">
2582 <span class=
"title">
2583 <a href=
"LuCI.rpc.html">LuCI.rpc
</a>
2586 <ul class=
"members itemMembers">
2589 <ul class=
"typedefs itemMembers">
2591 <span class=
"subtitle">Typedefs
</span>
2593 <li data-name=
"LuCI.rpc.DeclareOptions"><a href=
"LuCI.rpc.html#.DeclareOptions">DeclareOptions
</a></li>
2595 <li data-name=
"LuCI.rpc~filterFn"><a href=
"LuCI.rpc.html#~filterFn">filterFn
</a></li>
2597 <li data-name=
"LuCI.rpc~interceptorFn"><a href=
"LuCI.rpc.html#~interceptorFn">interceptorFn
</a></li>
2599 <li data-name=
"LuCI.rpc~invokeFn"><a href=
"LuCI.rpc.html#~invokeFn">invokeFn
</a></li>
2602 <ul class=
"typedefs itemMembers">
2605 <ul class=
"methods itemMembers">
2607 <span class=
"subtitle">Methods
</span>
2609 <li data-name=
"LuCI.rpc#addInterceptor"><a href=
"LuCI.rpc.html#addInterceptor">addInterceptor
</a></li>
2611 <li data-name=
"LuCI.rpc#declare"><a href=
"LuCI.rpc.html#declare">declare
</a></li>
2613 <li data-name=
"LuCI.rpc#getBaseURL"><a href=
"LuCI.rpc.html#getBaseURL">getBaseURL
</a></li>
2615 <li data-name=
"LuCI.rpc#getSessionID"><a href=
"LuCI.rpc.html#getSessionID">getSessionID
</a></li>
2617 <li data-name=
"LuCI.rpc#getStatusText"><a href=
"LuCI.rpc.html#getStatusText">getStatusText
</a></li>
2619 <li data-name=
"LuCI.rpc#list"><a href=
"LuCI.rpc.html#list">list
</a></li>
2621 <li data-name=
"LuCI.rpc#removeInterceptor"><a href=
"LuCI.rpc.html#removeInterceptor">removeInterceptor
</a></li>
2623 <li data-name=
"LuCI.rpc#setBaseURL"><a href=
"LuCI.rpc.html#setBaseURL">setBaseURL
</a></li>
2625 <li data-name=
"LuCI.rpc#setSessionID"><a href=
"LuCI.rpc.html#setSessionID">setSessionID
</a></li>
2628 <ul class=
"events itemMembers">
2633 <li class=
"item" data-name=
"LuCI.session">
2634 <span class=
"title">
2635 <a href=
"LuCI.session.html">LuCI.session
</a>
2638 <ul class=
"members itemMembers">
2641 <ul class=
"typedefs itemMembers">
2644 <ul class=
"typedefs itemMembers">
2647 <ul class=
"methods itemMembers">
2649 <span class=
"subtitle">Methods
</span>
2651 <li data-name=
"LuCI.session#getID"><a href=
"LuCI.session.html#getID">getID
</a></li>
2653 <li data-name=
"LuCI.session#getLocalData"><a href=
"LuCI.session.html#getLocalData">getLocalData
</a></li>
2655 <li data-name=
"LuCI.session#getToken"><a href=
"LuCI.session.html#getToken">getToken
</a></li>
2657 <li data-name=
"LuCI.session#setLocalData"><a href=
"LuCI.session.html#setLocalData">setLocalData
</a></li>
2660 <ul class=
"events itemMembers">
2665 <li class=
"item" data-name=
"LuCI.uci">
2666 <span class=
"title">
2667 <a href=
"LuCI.uci.html">LuCI.uci
</a>
2670 <ul class=
"members itemMembers">
2673 <ul class=
"typedefs itemMembers">
2675 <span class=
"subtitle">Typedefs
</span>
2677 <li data-name=
"LuCI.uci.ChangeRecord"><a href=
"LuCI.uci.html#.ChangeRecord">ChangeRecord
</a></li>
2679 <li data-name=
"LuCI.uci.SectionObject"><a href=
"LuCI.uci.html#.SectionObject">SectionObject
</a></li>
2681 <li data-name=
"LuCI.uci~sectionsFn"><a href=
"LuCI.uci.html#~sectionsFn">sectionsFn
</a></li>
2684 <ul class=
"typedefs itemMembers">
2687 <ul class=
"methods itemMembers">
2689 <span class=
"subtitle">Methods
</span>
2691 <li data-name=
"LuCI.uci#add"><a href=
"LuCI.uci.html#add">add
</a></li>
2693 <li data-name=
"LuCI.uci#apply"><a href=
"LuCI.uci.html#apply">apply
</a></li>
2695 <li data-name=
"LuCI.uci#changes"><a href=
"LuCI.uci.html#changes">changes
</a></li>
2697 <li data-name=
"LuCI.uci#createSID"><a href=
"LuCI.uci.html#createSID">createSID
</a></li>
2699 <li data-name=
"LuCI.uci#get"><a href=
"LuCI.uci.html#get">get
</a></li>
2701 <li data-name=
"LuCI.uci#get_first"><a href=
"LuCI.uci.html#get_first">get_first
</a></li>
2703 <li data-name=
"LuCI.uci#load"><a href=
"LuCI.uci.html#load">load
</a></li>
2705 <li data-name=
"LuCI.uci#move"><a href=
"LuCI.uci.html#move">move
</a></li>
2707 <li data-name=
"LuCI.uci#remove"><a href=
"LuCI.uci.html#remove">remove
</a></li>
2709 <li data-name=
"LuCI.uci#resolveSID"><a href=
"LuCI.uci.html#resolveSID">resolveSID
</a></li>
2711 <li data-name=
"LuCI.uci#save"><a href=
"LuCI.uci.html#save">save
</a></li>
2713 <li data-name=
"LuCI.uci#sections"><a href=
"LuCI.uci.html#sections">sections
</a></li>
2715 <li data-name=
"LuCI.uci#set"><a href=
"LuCI.uci.html#set">set
</a></li>
2717 <li data-name=
"LuCI.uci#set_first"><a href=
"LuCI.uci.html#set_first">set_first
</a></li>
2719 <li data-name=
"LuCI.uci#unload"><a href=
"LuCI.uci.html#unload">unload
</a></li>
2721 <li data-name=
"LuCI.uci#unset"><a href=
"LuCI.uci.html#unset">unset
</a></li>
2723 <li data-name=
"LuCI.uci#unset_first"><a href=
"LuCI.uci.html#unset_first">unset_first
</a></li>
2726 <ul class=
"events itemMembers">
2731 <li class=
"item" data-name=
"LuCI.ui">
2732 <span class=
"title">
2733 <a href=
"LuCI.ui.html">LuCI.ui
</a>
2736 <ul class=
"members itemMembers">
2739 <ul class=
"typedefs itemMembers">
2741 <span class=
"subtitle">Typedefs
</span>
2743 <li data-name=
"LuCI.ui.FileUploadReply"><a href=
"LuCI.ui.html#.FileUploadReply">FileUploadReply
</a></li>
2746 <ul class=
"typedefs itemMembers">
2749 <ul class=
"methods itemMembers">
2751 <span class=
"subtitle">Methods
</span>
2753 <li data-name=
"LuCI.ui#addNotification"><a href=
"LuCI.ui.html#addNotification">addNotification
</a></li>
2755 <li data-name=
"LuCI.ui#addValidator"><a href=
"LuCI.ui.html#addValidator">addValidator
</a></li>
2757 <li data-name=
"LuCI.ui#awaitReconnect"><a href=
"LuCI.ui.html#awaitReconnect">awaitReconnect
</a></li>
2759 <li data-name=
"LuCI.ui#createHandlerFn"><a href=
"LuCI.ui.html#createHandlerFn">createHandlerFn
</a></li>
2761 <li data-name=
"LuCI.ui#hideIndicator"><a href=
"LuCI.ui.html#hideIndicator">hideIndicator
</a></li>
2763 <li data-name=
"LuCI.ui#hideModal"><a href=
"LuCI.ui.html#hideModal">hideModal
</a></li>
2765 <li data-name=
"LuCI.ui#instantiateView"><a href=
"LuCI.ui.html#instantiateView">instantiateView
</a></li>
2767 <li data-name=
"LuCI.ui#itemlist"><a href=
"LuCI.ui.html#itemlist">itemlist
</a></li>
2769 <li data-name=
"LuCI.ui#pingDevice"><a href=
"LuCI.ui.html#pingDevice">pingDevice
</a></li>
2771 <li data-name=
"LuCI.ui#showIndicator"><a href=
"LuCI.ui.html#showIndicator">showIndicator
</a></li>
2773 <li data-name=
"LuCI.ui#showModal"><a href=
"LuCI.ui.html#showModal">showModal
</a></li>
2775 <li data-name=
"LuCI.ui#uploadFile"><a href=
"LuCI.ui.html#uploadFile">uploadFile
</a></li>
2778 <ul class=
"events itemMembers">
2783 <li class=
"item" data-name=
"LuCI.ui.AbstractElement">
2784 <span class=
"title">
2785 <a href=
"LuCI.ui.AbstractElement.html">LuCI.ui.AbstractElement
</a>
2788 <ul class=
"members itemMembers">
2791 <ul class=
"typedefs itemMembers">
2793 <span class=
"subtitle">Typedefs
</span>
2795 <li data-name=
"LuCI.ui.AbstractElement.InitOptions"><a href=
"LuCI.ui.AbstractElement.html#.InitOptions">InitOptions
</a></li>
2798 <ul class=
"typedefs itemMembers">
2801 <ul class=
"methods itemMembers">
2803 <span class=
"subtitle">Methods
</span>
2805 <li data-name=
"LuCI.ui.AbstractElement#getValidationError"><a href=
"LuCI.ui.AbstractElement.html#getValidationError">getValidationError
</a></li>
2807 <li data-name=
"LuCI.ui.AbstractElement#getValue"><a href=
"LuCI.ui.AbstractElement.html#getValue">getValue
</a></li>
2809 <li data-name=
"LuCI.ui.AbstractElement#isChanged"><a href=
"LuCI.ui.AbstractElement.html#isChanged">isChanged
</a></li>
2811 <li data-name=
"LuCI.ui.AbstractElement#isValid"><a href=
"LuCI.ui.AbstractElement.html#isValid">isValid
</a></li>
2813 <li data-name=
"LuCI.ui.AbstractElement#registerEvents"><a href=
"LuCI.ui.AbstractElement.html#registerEvents">registerEvents
</a></li>
2815 <li data-name=
"LuCI.ui.AbstractElement#render"><a href=
"LuCI.ui.AbstractElement.html#render">render
</a></li>
2817 <li data-name=
"LuCI.ui.AbstractElement#setChangeEvents"><a href=
"LuCI.ui.AbstractElement.html#setChangeEvents">setChangeEvents
</a></li>
2819 <li data-name=
"LuCI.ui.AbstractElement#setPlaceholder"><a href=
"LuCI.ui.AbstractElement.html#setPlaceholder">setPlaceholder
</a></li>
2821 <li data-name=
"LuCI.ui.AbstractElement#setUpdateEvents"><a href=
"LuCI.ui.AbstractElement.html#setUpdateEvents">setUpdateEvents
</a></li>
2823 <li data-name=
"LuCI.ui.AbstractElement#setValue"><a href=
"LuCI.ui.AbstractElement.html#setValue">setValue
</a></li>
2825 <li data-name=
"LuCI.ui.AbstractElement#triggerValidation"><a href=
"LuCI.ui.AbstractElement.html#triggerValidation">triggerValidation
</a></li>
2828 <ul class=
"events itemMembers">
2833 <li class=
"item" data-name=
"LuCI.ui.changes">
2834 <span class=
"title">
2835 <a href=
"LuCI.ui.changes.html">LuCI.ui.changes
</a>
2838 <ul class=
"members itemMembers">
2841 <ul class=
"typedefs itemMembers">
2844 <ul class=
"typedefs itemMembers">
2847 <ul class=
"methods itemMembers">
2849 <span class=
"subtitle">Methods
</span>
2851 <li data-name=
"LuCI.ui.changes#apply"><a href=
"LuCI.ui.changes.html#apply">apply
</a></li>
2853 <li data-name=
"LuCI.ui.changes#displayChanges"><a href=
"LuCI.ui.changes.html#displayChanges">displayChanges
</a></li>
2855 <li data-name=
"LuCI.ui.changes#renderChangeIndicator"><a href=
"LuCI.ui.changes.html#renderChangeIndicator">renderChangeIndicator
</a></li>
2857 <li data-name=
"LuCI.ui.changes#revert"><a href=
"LuCI.ui.changes.html#revert">revert
</a></li>
2859 <li data-name=
"LuCI.ui.changes#setIndicator"><a href=
"LuCI.ui.changes.html#setIndicator">setIndicator
</a></li>
2862 <ul class=
"events itemMembers">
2867 <li class=
"item" data-name=
"LuCI.ui.Checkbox">
2868 <span class=
"title">
2869 <a href=
"LuCI.ui.Checkbox.html">LuCI.ui.Checkbox
</a>
2872 <ul class=
"members itemMembers">
2875 <ul class=
"typedefs itemMembers">
2877 <span class=
"subtitle">Typedefs
</span>
2879 <li data-name=
"LuCI.ui.Checkbox.InitOptions"><a href=
"LuCI.ui.Checkbox.html#.InitOptions">InitOptions
</a></li>
2882 <ul class=
"typedefs itemMembers">
2885 <ul class=
"methods itemMembers">
2887 <span class=
"subtitle">Methods
</span>
2889 <li data-name=
"LuCI.ui.Checkbox#getValidationError"><a href=
"LuCI.ui.Checkbox.html#getValidationError">getValidationError
</a></li>
2891 <li data-name=
"LuCI.ui.Checkbox#getValue"><a href=
"LuCI.ui.Checkbox.html#getValue">getValue
</a></li>
2893 <li data-name=
"LuCI.ui.Checkbox#isChanged"><a href=
"LuCI.ui.Checkbox.html#isChanged">isChanged
</a></li>
2895 <li data-name=
"LuCI.ui.Checkbox#isChecked"><a href=
"LuCI.ui.Checkbox.html#isChecked">isChecked
</a></li>
2897 <li data-name=
"LuCI.ui.Checkbox#isValid"><a href=
"LuCI.ui.Checkbox.html#isValid">isValid
</a></li>
2899 <li data-name=
"LuCI.ui.Checkbox#registerEvents"><a href=
"LuCI.ui.Checkbox.html#registerEvents">registerEvents
</a></li>
2901 <li data-name=
"LuCI.ui.Checkbox#render"><a href=
"LuCI.ui.Checkbox.html#render">render
</a></li>
2903 <li data-name=
"LuCI.ui.Checkbox#setChangeEvents"><a href=
"LuCI.ui.Checkbox.html#setChangeEvents">setChangeEvents
</a></li>
2905 <li data-name=
"LuCI.ui.Checkbox#setPlaceholder"><a href=
"LuCI.ui.Checkbox.html#setPlaceholder">setPlaceholder
</a></li>
2907 <li data-name=
"LuCI.ui.Checkbox#setUpdateEvents"><a href=
"LuCI.ui.Checkbox.html#setUpdateEvents">setUpdateEvents
</a></li>
2909 <li data-name=
"LuCI.ui.Checkbox#setValue"><a href=
"LuCI.ui.Checkbox.html#setValue">setValue
</a></li>
2911 <li data-name=
"LuCI.ui.Checkbox#triggerValidation"><a href=
"LuCI.ui.Checkbox.html#triggerValidation">triggerValidation
</a></li>
2914 <ul class=
"events itemMembers">
2919 <li class=
"item" data-name=
"LuCI.ui.Combobox">
2920 <span class=
"title">
2921 <a href=
"LuCI.ui.Combobox.html">LuCI.ui.Combobox
</a>
2924 <ul class=
"members itemMembers">
2927 <ul class=
"typedefs itemMembers">
2929 <span class=
"subtitle">Typedefs
</span>
2931 <li data-name=
"LuCI.ui.Combobox.InitOptions"><a href=
"LuCI.ui.Combobox.html#.InitOptions">InitOptions
</a></li>
2934 <ul class=
"typedefs itemMembers">
2937 <ul class=
"methods itemMembers">
2939 <span class=
"subtitle">Methods
</span>
2941 <li data-name=
"LuCI.ui.Combobox#addChoices"><a href=
"LuCI.ui.Combobox.html#addChoices">addChoices
</a></li>
2943 <li data-name=
"LuCI.ui.Combobox#clearChoices"><a href=
"LuCI.ui.Combobox.html#clearChoices">clearChoices
</a></li>
2945 <li data-name=
"LuCI.ui.Combobox#closeAllDropdowns"><a href=
"LuCI.ui.Combobox.html#closeAllDropdowns">closeAllDropdowns
</a></li>
2947 <li data-name=
"LuCI.ui.Combobox#getValidationError"><a href=
"LuCI.ui.Combobox.html#getValidationError">getValidationError
</a></li>
2949 <li data-name=
"LuCI.ui.Combobox#isChanged"><a href=
"LuCI.ui.Combobox.html#isChanged">isChanged
</a></li>
2951 <li data-name=
"LuCI.ui.Combobox#isValid"><a href=
"LuCI.ui.Combobox.html#isValid">isValid
</a></li>
2953 <li data-name=
"LuCI.ui.Combobox#registerEvents"><a href=
"LuCI.ui.Combobox.html#registerEvents">registerEvents
</a></li>
2955 <li data-name=
"LuCI.ui.Combobox#setChangeEvents"><a href=
"LuCI.ui.Combobox.html#setChangeEvents">setChangeEvents
</a></li>
2957 <li data-name=
"LuCI.ui.Combobox#setPlaceholder"><a href=
"LuCI.ui.Combobox.html#setPlaceholder">setPlaceholder
</a></li>
2959 <li data-name=
"LuCI.ui.Combobox#setUpdateEvents"><a href=
"LuCI.ui.Combobox.html#setUpdateEvents">setUpdateEvents
</a></li>
2961 <li data-name=
"LuCI.ui.Combobox#triggerValidation"><a href=
"LuCI.ui.Combobox.html#triggerValidation">triggerValidation
</a></li>
2964 <ul class=
"events itemMembers">
2969 <li class=
"item" data-name=
"LuCI.ui.ComboButton">
2970 <span class=
"title">
2971 <a href=
"LuCI.ui.ComboButton.html">LuCI.ui.ComboButton
</a>
2974 <ul class=
"members itemMembers">
2977 <ul class=
"typedefs itemMembers">
2979 <span class=
"subtitle">Typedefs
</span>
2981 <li data-name=
"LuCI.ui.ComboButton.InitOptions"><a href=
"LuCI.ui.ComboButton.html#.InitOptions">InitOptions
</a></li>
2984 <ul class=
"typedefs itemMembers">
2987 <ul class=
"methods itemMembers">
2989 <span class=
"subtitle">Methods
</span>
2991 <li data-name=
"LuCI.ui.ComboButton#addChoices"><a href=
"LuCI.ui.ComboButton.html#addChoices">addChoices
</a></li>
2993 <li data-name=
"LuCI.ui.ComboButton#clearChoices"><a href=
"LuCI.ui.ComboButton.html#clearChoices">clearChoices
</a></li>
2995 <li data-name=
"LuCI.ui.ComboButton#closeAllDropdowns"><a href=
"LuCI.ui.ComboButton.html#closeAllDropdowns">closeAllDropdowns
</a></li>
2997 <li data-name=
"LuCI.ui.ComboButton#getValidationError"><a href=
"LuCI.ui.ComboButton.html#getValidationError">getValidationError
</a></li>
2999 <li data-name=
"LuCI.ui.ComboButton#isChanged"><a href=
"LuCI.ui.ComboButton.html#isChanged">isChanged
</a></li>
3001 <li data-name=
"LuCI.ui.ComboButton#isValid"><a href=
"LuCI.ui.ComboButton.html#isValid">isValid
</a></li>
3003 <li data-name=
"LuCI.ui.ComboButton#registerEvents"><a href=
"LuCI.ui.ComboButton.html#registerEvents">registerEvents
</a></li>
3005 <li data-name=
"LuCI.ui.ComboButton#setChangeEvents"><a href=
"LuCI.ui.ComboButton.html#setChangeEvents">setChangeEvents
</a></li>
3007 <li data-name=
"LuCI.ui.ComboButton#setPlaceholder"><a href=
"LuCI.ui.ComboButton.html#setPlaceholder">setPlaceholder
</a></li>
3009 <li data-name=
"LuCI.ui.ComboButton#setUpdateEvents"><a href=
"LuCI.ui.ComboButton.html#setUpdateEvents">setUpdateEvents
</a></li>
3011 <li data-name=
"LuCI.ui.ComboButton#triggerValidation"><a href=
"LuCI.ui.ComboButton.html#triggerValidation">triggerValidation
</a></li>
3014 <ul class=
"events itemMembers">
3019 <li class=
"item" data-name=
"LuCI.ui.Dropdown">
3020 <span class=
"title">
3021 <a href=
"LuCI.ui.Dropdown.html">LuCI.ui.Dropdown
</a>
3024 <ul class=
"members itemMembers">
3027 <ul class=
"typedefs itemMembers">
3029 <span class=
"subtitle">Typedefs
</span>
3031 <li data-name=
"LuCI.ui.Dropdown.InitOptions"><a href=
"LuCI.ui.Dropdown.html#.InitOptions">InitOptions
</a></li>
3034 <ul class=
"typedefs itemMembers">
3037 <ul class=
"methods itemMembers">
3039 <span class=
"subtitle">Methods
</span>
3041 <li data-name=
"LuCI.ui.Dropdown#addChoices"><a href=
"LuCI.ui.Dropdown.html#addChoices">addChoices
</a></li>
3043 <li data-name=
"LuCI.ui.Dropdown#clearChoices"><a href=
"LuCI.ui.Dropdown.html#clearChoices">clearChoices
</a></li>
3045 <li data-name=
"LuCI.ui.Dropdown#closeAllDropdowns"><a href=
"LuCI.ui.Dropdown.html#closeAllDropdowns">closeAllDropdowns
</a></li>
3047 <li data-name=
"LuCI.ui.Dropdown#getValidationError"><a href=
"LuCI.ui.Dropdown.html#getValidationError">getValidationError
</a></li>
3049 <li data-name=
"LuCI.ui.Dropdown#getValue"><a href=
"LuCI.ui.Dropdown.html#getValue">getValue
</a></li>
3051 <li data-name=
"LuCI.ui.Dropdown#isChanged"><a href=
"LuCI.ui.Dropdown.html#isChanged">isChanged
</a></li>
3053 <li data-name=
"LuCI.ui.Dropdown#isValid"><a href=
"LuCI.ui.Dropdown.html#isValid">isValid
</a></li>
3055 <li data-name=
"LuCI.ui.Dropdown#registerEvents"><a href=
"LuCI.ui.Dropdown.html#registerEvents">registerEvents
</a></li>
3057 <li data-name=
"LuCI.ui.Dropdown#render"><a href=
"LuCI.ui.Dropdown.html#render">render
</a></li>
3059 <li data-name=
"LuCI.ui.Dropdown#setChangeEvents"><a href=
"LuCI.ui.Dropdown.html#setChangeEvents">setChangeEvents
</a></li>
3061 <li data-name=
"LuCI.ui.Dropdown#setPlaceholder"><a href=
"LuCI.ui.Dropdown.html#setPlaceholder">setPlaceholder
</a></li>
3063 <li data-name=
"LuCI.ui.Dropdown#setUpdateEvents"><a href=
"LuCI.ui.Dropdown.html#setUpdateEvents">setUpdateEvents
</a></li>
3065 <li data-name=
"LuCI.ui.Dropdown#setValue"><a href=
"LuCI.ui.Dropdown.html#setValue">setValue
</a></li>
3067 <li data-name=
"LuCI.ui.Dropdown#triggerValidation"><a href=
"LuCI.ui.Dropdown.html#triggerValidation">triggerValidation
</a></li>
3070 <ul class=
"events itemMembers">
3075 <li class=
"item" data-name=
"LuCI.ui.DynamicList">
3076 <span class=
"title">
3077 <a href=
"LuCI.ui.DynamicList.html">LuCI.ui.DynamicList
</a>
3080 <ul class=
"members itemMembers">
3083 <ul class=
"typedefs itemMembers">
3085 <span class=
"subtitle">Typedefs
</span>
3087 <li data-name=
"LuCI.ui.DynamicList.InitOptions"><a href=
"LuCI.ui.DynamicList.html#.InitOptions">InitOptions
</a></li>
3090 <ul class=
"typedefs itemMembers">
3093 <ul class=
"methods itemMembers">
3095 <span class=
"subtitle">Methods
</span>
3097 <li data-name=
"LuCI.ui.DynamicList#addChoices"><a href=
"LuCI.ui.DynamicList.html#addChoices">addChoices
</a></li>
3099 <li data-name=
"LuCI.ui.DynamicList#clearChoices"><a href=
"LuCI.ui.DynamicList.html#clearChoices">clearChoices
</a></li>
3101 <li data-name=
"LuCI.ui.DynamicList#getValidationError"><a href=
"LuCI.ui.DynamicList.html#getValidationError">getValidationError
</a></li>
3103 <li data-name=
"LuCI.ui.DynamicList#getValue"><a href=
"LuCI.ui.DynamicList.html#getValue">getValue
</a></li>
3105 <li data-name=
"LuCI.ui.DynamicList#isChanged"><a href=
"LuCI.ui.DynamicList.html#isChanged">isChanged
</a></li>
3107 <li data-name=
"LuCI.ui.DynamicList#isValid"><a href=
"LuCI.ui.DynamicList.html#isValid">isValid
</a></li>
3109 <li data-name=
"LuCI.ui.DynamicList#registerEvents"><a href=
"LuCI.ui.DynamicList.html#registerEvents">registerEvents
</a></li>
3111 <li data-name=
"LuCI.ui.DynamicList#render"><a href=
"LuCI.ui.DynamicList.html#render">render
</a></li>
3113 <li data-name=
"LuCI.ui.DynamicList#setChangeEvents"><a href=
"LuCI.ui.DynamicList.html#setChangeEvents">setChangeEvents
</a></li>
3115 <li data-name=
"LuCI.ui.DynamicList#setPlaceholder"><a href=
"LuCI.ui.DynamicList.html#setPlaceholder">setPlaceholder
</a></li>
3117 <li data-name=
"LuCI.ui.DynamicList#setUpdateEvents"><a href=
"LuCI.ui.DynamicList.html#setUpdateEvents">setUpdateEvents
</a></li>
3119 <li data-name=
"LuCI.ui.DynamicList#setValue"><a href=
"LuCI.ui.DynamicList.html#setValue">setValue
</a></li>
3121 <li data-name=
"LuCI.ui.DynamicList#triggerValidation"><a href=
"LuCI.ui.DynamicList.html#triggerValidation">triggerValidation
</a></li>
3124 <ul class=
"events itemMembers">
3129 <li class=
"item" data-name=
"LuCI.ui.FileUpload">
3130 <span class=
"title">
3131 <a href=
"LuCI.ui.FileUpload.html">LuCI.ui.FileUpload
</a>
3134 <ul class=
"members itemMembers">
3137 <ul class=
"typedefs itemMembers">
3139 <span class=
"subtitle">Typedefs
</span>
3141 <li data-name=
"LuCI.ui.FileUpload.InitOptions"><a href=
"LuCI.ui.FileUpload.html#.InitOptions">InitOptions
</a></li>
3144 <ul class=
"typedefs itemMembers">
3147 <ul class=
"methods itemMembers">
3149 <span class=
"subtitle">Methods
</span>
3151 <li data-name=
"LuCI.ui.FileUpload#getValidationError"><a href=
"LuCI.ui.FileUpload.html#getValidationError">getValidationError
</a></li>
3153 <li data-name=
"LuCI.ui.FileUpload#getValue"><a href=
"LuCI.ui.FileUpload.html#getValue">getValue
</a></li>
3155 <li data-name=
"LuCI.ui.FileUpload#isChanged"><a href=
"LuCI.ui.FileUpload.html#isChanged">isChanged
</a></li>
3157 <li data-name=
"LuCI.ui.FileUpload#isValid"><a href=
"LuCI.ui.FileUpload.html#isValid">isValid
</a></li>
3159 <li data-name=
"LuCI.ui.FileUpload#registerEvents"><a href=
"LuCI.ui.FileUpload.html#registerEvents">registerEvents
</a></li>
3161 <li data-name=
"LuCI.ui.FileUpload#render"><a href=
"LuCI.ui.FileUpload.html#render">render
</a></li>
3163 <li data-name=
"LuCI.ui.FileUpload#setChangeEvents"><a href=
"LuCI.ui.FileUpload.html#setChangeEvents">setChangeEvents
</a></li>
3165 <li data-name=
"LuCI.ui.FileUpload#setPlaceholder"><a href=
"LuCI.ui.FileUpload.html#setPlaceholder">setPlaceholder
</a></li>
3167 <li data-name=
"LuCI.ui.FileUpload#setUpdateEvents"><a href=
"LuCI.ui.FileUpload.html#setUpdateEvents">setUpdateEvents
</a></li>
3169 <li data-name=
"LuCI.ui.FileUpload#setValue"><a href=
"LuCI.ui.FileUpload.html#setValue">setValue
</a></li>
3171 <li data-name=
"LuCI.ui.FileUpload#triggerValidation"><a href=
"LuCI.ui.FileUpload.html#triggerValidation">triggerValidation
</a></li>
3174 <ul class=
"events itemMembers">
3179 <li class=
"item" data-name=
"LuCI.ui.Hiddenfield">
3180 <span class=
"title">
3181 <a href=
"LuCI.ui.Hiddenfield.html">LuCI.ui.Hiddenfield
</a>
3184 <ul class=
"members itemMembers">
3187 <ul class=
"typedefs itemMembers">
3190 <ul class=
"typedefs itemMembers">
3193 <ul class=
"methods itemMembers">
3195 <span class=
"subtitle">Methods
</span>
3197 <li data-name=
"LuCI.ui.Hiddenfield#getValidationError"><a href=
"LuCI.ui.Hiddenfield.html#getValidationError">getValidationError
</a></li>
3199 <li data-name=
"LuCI.ui.Hiddenfield#getValue"><a href=
"LuCI.ui.Hiddenfield.html#getValue">getValue
</a></li>
3201 <li data-name=
"LuCI.ui.Hiddenfield#isChanged"><a href=
"LuCI.ui.Hiddenfield.html#isChanged">isChanged
</a></li>
3203 <li data-name=
"LuCI.ui.Hiddenfield#isValid"><a href=
"LuCI.ui.Hiddenfield.html#isValid">isValid
</a></li>
3205 <li data-name=
"LuCI.ui.Hiddenfield#registerEvents"><a href=
"LuCI.ui.Hiddenfield.html#registerEvents">registerEvents
</a></li>
3207 <li data-name=
"LuCI.ui.Hiddenfield#render"><a href=
"LuCI.ui.Hiddenfield.html#render">render
</a></li>
3209 <li data-name=
"LuCI.ui.Hiddenfield#setChangeEvents"><a href=
"LuCI.ui.Hiddenfield.html#setChangeEvents">setChangeEvents
</a></li>
3211 <li data-name=
"LuCI.ui.Hiddenfield#setPlaceholder"><a href=
"LuCI.ui.Hiddenfield.html#setPlaceholder">setPlaceholder
</a></li>
3213 <li data-name=
"LuCI.ui.Hiddenfield#setUpdateEvents"><a href=
"LuCI.ui.Hiddenfield.html#setUpdateEvents">setUpdateEvents
</a></li>
3215 <li data-name=
"LuCI.ui.Hiddenfield#setValue"><a href=
"LuCI.ui.Hiddenfield.html#setValue">setValue
</a></li>
3217 <li data-name=
"LuCI.ui.Hiddenfield#triggerValidation"><a href=
"LuCI.ui.Hiddenfield.html#triggerValidation">triggerValidation
</a></li>
3220 <ul class=
"events itemMembers">
3225 <li class=
"item" data-name=
"LuCI.ui.menu">
3226 <span class=
"title">
3227 <a href=
"LuCI.ui.menu.html">LuCI.ui.menu
</a>
3230 <ul class=
"members itemMembers">
3233 <ul class=
"typedefs itemMembers">
3235 <span class=
"subtitle">Typedefs
</span>
3237 <li data-name=
"LuCI.ui.menu.MenuNode"><a href=
"LuCI.ui.menu.html#.MenuNode">MenuNode
</a></li>
3240 <ul class=
"typedefs itemMembers">
3243 <ul class=
"methods itemMembers">
3245 <span class=
"subtitle">Methods
</span>
3247 <li data-name=
"LuCI.ui.menu#flushCache"><a href=
"LuCI.ui.menu.html#flushCache">flushCache
</a></li>
3249 <li data-name=
"LuCI.ui.menu#getChildren"><a href=
"LuCI.ui.menu.html#getChildren">getChildren
</a></li>
3251 <li data-name=
"LuCI.ui.menu#load"><a href=
"LuCI.ui.menu.html#load">load
</a></li>
3254 <ul class=
"events itemMembers">
3259 <li class=
"item" data-name=
"LuCI.ui.Select">
3260 <span class=
"title">
3261 <a href=
"LuCI.ui.Select.html">LuCI.ui.Select
</a>
3264 <ul class=
"members itemMembers">
3267 <ul class=
"typedefs itemMembers">
3269 <span class=
"subtitle">Typedefs
</span>
3271 <li data-name=
"LuCI.ui.Select.InitOptions"><a href=
"LuCI.ui.Select.html#.InitOptions">InitOptions
</a></li>
3274 <ul class=
"typedefs itemMembers">
3277 <ul class=
"methods itemMembers">
3279 <span class=
"subtitle">Methods
</span>
3281 <li data-name=
"LuCI.ui.Select#getValidationError"><a href=
"LuCI.ui.Select.html#getValidationError">getValidationError
</a></li>
3283 <li data-name=
"LuCI.ui.Select#getValue"><a href=
"LuCI.ui.Select.html#getValue">getValue
</a></li>
3285 <li data-name=
"LuCI.ui.Select#isChanged"><a href=
"LuCI.ui.Select.html#isChanged">isChanged
</a></li>
3287 <li data-name=
"LuCI.ui.Select#isValid"><a href=
"LuCI.ui.Select.html#isValid">isValid
</a></li>
3289 <li data-name=
"LuCI.ui.Select#registerEvents"><a href=
"LuCI.ui.Select.html#registerEvents">registerEvents
</a></li>
3291 <li data-name=
"LuCI.ui.Select#render"><a href=
"LuCI.ui.Select.html#render">render
</a></li>
3293 <li data-name=
"LuCI.ui.Select#setChangeEvents"><a href=
"LuCI.ui.Select.html#setChangeEvents">setChangeEvents
</a></li>
3295 <li data-name=
"LuCI.ui.Select#setPlaceholder"><a href=
"LuCI.ui.Select.html#setPlaceholder">setPlaceholder
</a></li>
3297 <li data-name=
"LuCI.ui.Select#setUpdateEvents"><a href=
"LuCI.ui.Select.html#setUpdateEvents">setUpdateEvents
</a></li>
3299 <li data-name=
"LuCI.ui.Select#setValue"><a href=
"LuCI.ui.Select.html#setValue">setValue
</a></li>
3301 <li data-name=
"LuCI.ui.Select#triggerValidation"><a href=
"LuCI.ui.Select.html#triggerValidation">triggerValidation
</a></li>
3304 <ul class=
"events itemMembers">
3309 <li class=
"item" data-name=
"LuCI.ui.tabs">
3310 <span class=
"title">
3311 <a href=
"LuCI.ui.tabs.html">LuCI.ui.tabs
</a>
3314 <ul class=
"members itemMembers">
3317 <ul class=
"typedefs itemMembers">
3320 <ul class=
"typedefs itemMembers">
3323 <ul class=
"methods itemMembers">
3325 <span class=
"subtitle">Methods
</span>
3327 <li data-name=
"LuCI.ui.tabs#initTabGroup"><a href=
"LuCI.ui.tabs.html#initTabGroup">initTabGroup
</a></li>
3329 <li data-name=
"LuCI.ui.tabs#isEmptyPane"><a href=
"LuCI.ui.tabs.html#isEmptyPane">isEmptyPane
</a></li>
3332 <ul class=
"events itemMembers">
3337 <li class=
"item" data-name=
"LuCI.ui.Textarea">
3338 <span class=
"title">
3339 <a href=
"LuCI.ui.Textarea.html">LuCI.ui.Textarea
</a>
3342 <ul class=
"members itemMembers">
3345 <ul class=
"typedefs itemMembers">
3347 <span class=
"subtitle">Typedefs
</span>
3349 <li data-name=
"LuCI.ui.Textarea.InitOptions"><a href=
"LuCI.ui.Textarea.html#.InitOptions">InitOptions
</a></li>
3352 <ul class=
"typedefs itemMembers">
3355 <ul class=
"methods itemMembers">
3357 <span class=
"subtitle">Methods
</span>
3359 <li data-name=
"LuCI.ui.Textarea#getValidationError"><a href=
"LuCI.ui.Textarea.html#getValidationError">getValidationError
</a></li>
3361 <li data-name=
"LuCI.ui.Textarea#getValue"><a href=
"LuCI.ui.Textarea.html#getValue">getValue
</a></li>
3363 <li data-name=
"LuCI.ui.Textarea#isChanged"><a href=
"LuCI.ui.Textarea.html#isChanged">isChanged
</a></li>
3365 <li data-name=
"LuCI.ui.Textarea#isValid"><a href=
"LuCI.ui.Textarea.html#isValid">isValid
</a></li>
3367 <li data-name=
"LuCI.ui.Textarea#registerEvents"><a href=
"LuCI.ui.Textarea.html#registerEvents">registerEvents
</a></li>
3369 <li data-name=
"LuCI.ui.Textarea#render"><a href=
"LuCI.ui.Textarea.html#render">render
</a></li>
3371 <li data-name=
"LuCI.ui.Textarea#setChangeEvents"><a href=
"LuCI.ui.Textarea.html#setChangeEvents">setChangeEvents
</a></li>
3373 <li data-name=
"LuCI.ui.Textarea#setPlaceholder"><a href=
"LuCI.ui.Textarea.html#setPlaceholder">setPlaceholder
</a></li>
3375 <li data-name=
"LuCI.ui.Textarea#setUpdateEvents"><a href=
"LuCI.ui.Textarea.html#setUpdateEvents">setUpdateEvents
</a></li>
3377 <li data-name=
"LuCI.ui.Textarea#setValue"><a href=
"LuCI.ui.Textarea.html#setValue">setValue
</a></li>
3379 <li data-name=
"LuCI.ui.Textarea#triggerValidation"><a href=
"LuCI.ui.Textarea.html#triggerValidation">triggerValidation
</a></li>
3382 <ul class=
"events itemMembers">
3387 <li class=
"item" data-name=
"LuCI.ui.Textfield">
3388 <span class=
"title">
3389 <a href=
"LuCI.ui.Textfield.html">LuCI.ui.Textfield
</a>
3392 <ul class=
"members itemMembers">
3395 <ul class=
"typedefs itemMembers">
3397 <span class=
"subtitle">Typedefs
</span>
3399 <li data-name=
"LuCI.ui.Textfield.InitOptions"><a href=
"LuCI.ui.Textfield.html#.InitOptions">InitOptions
</a></li>
3402 <ul class=
"typedefs itemMembers">
3405 <ul class=
"methods itemMembers">
3407 <span class=
"subtitle">Methods
</span>
3409 <li data-name=
"LuCI.ui.Textfield#getValidationError"><a href=
"LuCI.ui.Textfield.html#getValidationError">getValidationError
</a></li>
3411 <li data-name=
"LuCI.ui.Textfield#getValue"><a href=
"LuCI.ui.Textfield.html#getValue">getValue
</a></li>
3413 <li data-name=
"LuCI.ui.Textfield#isChanged"><a href=
"LuCI.ui.Textfield.html#isChanged">isChanged
</a></li>
3415 <li data-name=
"LuCI.ui.Textfield#isValid"><a href=
"LuCI.ui.Textfield.html#isValid">isValid
</a></li>
3417 <li data-name=
"LuCI.ui.Textfield#registerEvents"><a href=
"LuCI.ui.Textfield.html#registerEvents">registerEvents
</a></li>
3419 <li data-name=
"LuCI.ui.Textfield#render"><a href=
"LuCI.ui.Textfield.html#render">render
</a></li>
3421 <li data-name=
"LuCI.ui.Textfield#setChangeEvents"><a href=
"LuCI.ui.Textfield.html#setChangeEvents">setChangeEvents
</a></li>
3423 <li data-name=
"LuCI.ui.Textfield#setPlaceholder"><a href=
"LuCI.ui.Textfield.html#setPlaceholder">setPlaceholder
</a></li>
3425 <li data-name=
"LuCI.ui.Textfield#setUpdateEvents"><a href=
"LuCI.ui.Textfield.html#setUpdateEvents">setUpdateEvents
</a></li>
3427 <li data-name=
"LuCI.ui.Textfield#setValue"><a href=
"LuCI.ui.Textfield.html#setValue">setValue
</a></li>
3429 <li data-name=
"LuCI.ui.Textfield#triggerValidation"><a href=
"LuCI.ui.Textfield.html#triggerValidation">triggerValidation
</a></li>
3432 <ul class=
"events itemMembers">
3437 <li class=
"item" data-name=
"LuCI.view">
3438 <span class=
"title">
3439 <a href=
"LuCI.view.html">LuCI.view
</a>
3442 <ul class=
"members itemMembers">
3445 <ul class=
"typedefs itemMembers">
3448 <ul class=
"typedefs itemMembers">
3451 <ul class=
"methods itemMembers">
3453 <span class=
"subtitle">Methods
</span>
3455 <li data-name=
"LuCI.view#addFooter"><a href=
"LuCI.view.html#addFooter">addFooter
</a></li>
3457 <li data-name=
"LuCI.view#handleReset"><a href=
"LuCI.view.html#handleReset">handleReset
</a></li>
3459 <li data-name=
"LuCI.view#handleSave"><a href=
"LuCI.view.html#handleSave">handleSave
</a></li>
3461 <li data-name=
"LuCI.view#handleSaveApply"><a href=
"LuCI.view.html#handleSaveApply">handleSaveApply
</a></li>
3463 <li data-name=
"LuCI.view#load"><a href=
"LuCI.view.html#load">load
</a></li>
3465 <li data-name=
"LuCI.view#render"><a href=
"LuCI.view.html#render">render
</a></li>
3468 <ul class=
"events itemMembers">
3473 <li class=
"item" data-name=
"LuCI.xhr">
3474 <span class=
"title">
3475 <a href=
"LuCI.xhr.html">LuCI.xhr
</a>
3478 <ul class=
"members itemMembers">
3481 <ul class=
"typedefs itemMembers">
3484 <ul class=
"typedefs itemMembers">
3487 <ul class=
"methods itemMembers">
3489 <span class=
"subtitle">Methods
</span>
3491 <li data-name=
"LuCI.xhr#abort"><a href=
"LuCI.xhr.html#abort">abort
</a></li>
3493 <li data-name=
"LuCI.xhr#busy"><a href=
"LuCI.xhr.html#busy">busy
</a></li>
3495 <li data-name=
"LuCI.xhr#cancel"><a href=
"LuCI.xhr.html#cancel">cancel
</a></li>
3497 <li data-name=
"LuCI.xhr#get"><a href=
"LuCI.xhr.html#get">get
</a></li>
3499 <li data-name=
"LuCI.xhr#post"><a href=
"LuCI.xhr.html#post">post
</a></li>
3501 <li data-name=
"LuCI.xhr#send_form"><a href=
"LuCI.xhr.html#send_form">send_form
</a></li>
3504 <ul class=
"events itemMembers">
3512 <h1 class=
"page-title" data-filename=
"luci.js.html">Source: luci.js
</h1>
3519 <pre id=
"source-code" class=
"prettyprint source "><code>/**
3523 * This is the LuCI base class. It is automatically instantiated and
3524 * accessible using the global `L` variable.
3526 * @param {Object} env
3527 * The environment settings to use for the LuCI runtime.
3530 (function(window, document, undefined) {
3535 /* Object.assign polyfill for IE */
3536 if (typeof Object.assign !== 'function') {
3537 Object.defineProperty(Object, 'assign', {
3538 value: function assign(target, varArgs) {
3540 throw new TypeError('Cannot convert undefined or null to object');
3542 var to = Object(target);
3544 for (var index =
1; index
< arguments.length; index++)
3545 if (arguments[index] != null)
3546 for (var nextKey in arguments[index])
3547 if (Object.prototype.hasOwnProperty.call(arguments[index], nextKey))
3548 to[nextKey] = arguments[index][nextKey];
3557 /* Promise.finally polyfill */
3558 if (typeof Promise.prototype.finally !== 'function') {
3559 Promise.prototype.finally = function(fn) {
3560 var onFinally = function(cb) {
3561 return Promise.resolve(fn.call(this)).then(cb);
3565 function(result) { return onFinally.call(this, function() { return result }) },
3566 function(reason) { return onFinally.call(this, function() { return Promise.reject(reason) }) }
3572 * Class declaration and inheritance helper
3575 var toCamelCase = function(s) {
3576 return s.replace(/(?:^|[\. -])(.)/g, function(m0, m1) { return m1.toUpperCase() });
3585 * `LuCI.baseclass` is the abstract base class all LuCI classes inherit from.
3587 * It provides simple means to create subclasses of given classes and
3588 * implements prototypal inheritance.
3590 var superContext = {}, classIndex =
0, Class = Object.assign(function() {}, {
3592 * Extends this base class with the properties described in
3593 * `properties` and returns a new subclassed Class instance
3595 * @memberof LuCI.baseclass
3597 * @param {Object
<string, *
>} properties
3598 * An object describing the properties to add to the new
3601 * @returns {LuCI.baseclass}
3602 * Returns a new LuCI.baseclass subclassed from this class, extended
3603 * by the given properties and with its prototype set to this base
3604 * class to enable inheritance. The resulting value represents a
3605 * class constructor and can be instantiated with `new`.
3607 extend: function(properties) {
3609 __id__: { value: classIndex },
3610 __base__: { value: this.prototype },
3611 __name__: { value: properties.__name__ || 'anonymous' + classIndex++ }
3614 var ClassConstructor = function() {
3615 if (!(this instanceof ClassConstructor))
3616 throw new TypeError('Constructor must not be called without
"new"');
3618 if (Object.getPrototypeOf(this).hasOwnProperty('__init__')) {
3619 if (typeof(this.__init__) != 'function')
3620 throw new TypeError('Class __init__ member is not a function');
3622 this.__init__.apply(this, arguments)
3625 this.super('__init__', arguments);
3629 for (var key in properties)
3630 if (!props[key]
&& properties.hasOwnProperty(key))
3631 props[key] = { value: properties[key], writable: true };
3633 ClassConstructor.prototype = Object.create(this.prototype, props);
3634 ClassConstructor.prototype.constructor = ClassConstructor;
3635 Object.assign(ClassConstructor, this);
3636 ClassConstructor.displayName = toCamelCase(props.__name__.value + 'Class');
3638 return ClassConstructor;
3642 * Extends this base class with the properties described in
3643 * `properties`, instantiates the resulting subclass using
3644 * the additional optional arguments passed to this function
3645 * and returns the resulting subclassed Class instance.
3647 * This function serves as a convenience shortcut for
3648 * {@link LuCI.baseclass.extend Class.extend()} and subsequent
3651 * @memberof LuCI.baseclass
3653 * @param {Object
<string, *
>} properties
3654 * An object describing the properties to add to the new
3657 * @param {...*} [new_args]
3658 * Specifies arguments to be passed to the subclass constructor
3659 * as-is in order to instantiate the new subclass.
3661 * @returns {LuCI.baseclass}
3662 * Returns a new LuCI.baseclass instance extended by the given
3663 * properties with its prototype set to this base class to
3664 * enable inheritance.
3666 singleton: function(properties /*, ... */) {
3667 return Class.extend(properties)
3668 .instantiate(Class.prototype.varargs(arguments,
1));
3672 * Calls the class constructor using `new` with the given argument
3673 * array being passed as variadic parameters to the constructor.
3675 * @memberof LuCI.baseclass
3677 * @param {Array
<*
>} params
3678 * An array of arbitrary values which will be passed as arguments
3679 * to the constructor function.
3681 * @param {...*} [new_args]
3682 * Specifies arguments to be passed to the subclass constructor
3683 * as-is in order to instantiate the new subclass.
3685 * @returns {LuCI.baseclass}
3686 * Returns a new LuCI.baseclass instance extended by the given
3687 * properties with its prototype set to this base class to
3688 * enable inheritance.
3690 instantiate: function(args) {
3691 return new (Function.prototype.bind.apply(this,
3692 Class.prototype.varargs(args,
0, null)))();
3696 call: function(self, method) {
3697 if (typeof(this.prototype[method]) != 'function')
3698 throw new ReferenceError(method + ' is not defined in class');
3700 return this.prototype[method].apply(self, self.varargs(arguments,
1));
3704 * Checks whether the given class value is a subclass of this class.
3706 * @memberof LuCI.baseclass
3708 * @param {LuCI.baseclass} classValue
3709 * The class object to test.
3711 * @returns {boolean}
3712 * Returns `true` when the given `classValue` is a subclass of this
3713 * class or `false` if the given value is not a valid class or not
3714 * a subclass of this class'.
3716 isSubclass: function(classValue) {
3717 return (classValue != null
&&
3718 typeof(classValue) == 'function'
&&
3719 classValue.prototype instanceof this);
3724 * Extract all values from the given argument array beginning from
3725 * `offset` and prepend any further given optional parameters to
3726 * the beginning of the resulting array copy.
3728 * @memberof LuCI.baseclass
3731 * @param {Array
<*
>} args
3732 * The array to extract the values from.
3734 * @param {number} offset
3735 * The offset from which to extract the values. An offset of `
0`
3736 * would copy all values till the end.
3738 * @param {...*} [extra_args]
3739 * Extra arguments to add to prepend to the resulting array.
3741 * @returns {Array
<*
>}
3742 * Returns a new array consisting of the optional extra arguments
3743 * and the values extracted from the `args` array beginning with
3746 varargs: function(args, offset /*, ... */) {
3747 return Array.prototype.slice.call(arguments,
2)
3748 .concat(Array.prototype.slice.call(args, offset));
3752 * Walks up the parent class chain and looks for a class member
3753 * called `key` in any of the parent classes this class inherits
3754 * from. Returns the member value of the superclass or calls the
3755 * member as function and returns its return value when the
3756 * optional `callArgs` array is given.
3758 * This function has two signatures and is sensitive to the
3759 * amount of arguments passed to it:
3760 * - `super('key')` -
3761 * Returns the value of `key` when found within one of the
3763 * - `super('key', ['arg1', 'arg2'])` -
3764 * Calls the `key()` method with parameters `arg1` and `arg2`
3765 * when found within one of the parent classes.
3767 * @memberof LuCI.baseclass
3770 * @param {string} key
3771 * The name of the superclass member to retrieve.
3773 * @param {Array
<*
>} [callArgs]
3774 * An optional array of function call parameters to use. When
3775 * this parameter is specified, the found member value is called
3776 * as function using the values of this array as arguments.
3778 * @throws {ReferenceError}
3779 * Throws a `ReferenceError` when `callArgs` are specified and
3780 * the found member named by `key` is not a function value.
3783 * Returns the value of the found member or the return value of
3784 * the call to the found method. Returns `null` when no member
3785 * was found in the parent class chain or when the call to the
3786 * superclass method returned `null`.
3788 super: function(key, callArgs) {
3792 var slotIdx = this.__id__ + '.' + key,
3793 symStack = superContext[slotIdx],
3796 for (protoCtx = Object.getPrototypeOf(symStack ? symStack[
0] : Object.getPrototypeOf(this));
3797 protoCtx != null
&& !protoCtx.hasOwnProperty(key);
3798 protoCtx = Object.getPrototypeOf(protoCtx)) {}
3800 if (protoCtx == null)
3803 var res = protoCtx[key];
3805 if (arguments.length
> 1) {
3806 if (typeof(res) != 'function')
3807 throw new ReferenceError(key + ' is not a function in base class');
3809 if (typeof(callArgs) != 'object')
3810 callArgs = this.varargs(arguments,
1);
3813 symStack.unshift(protoCtx);
3815 superContext[slotIdx] = [ protoCtx ];
3817 res = res.apply(this, callArgs);
3819 if (symStack
&& symStack.length
> 1)
3820 symStack.shift(protoCtx);
3822 delete superContext[slotIdx];
3829 * Returns a string representation of this class.
3832 * Returns a string representation of this class containing the
3833 * constructor functions `displayName` and describing the class
3834 * members and their respective types.
3836 toString: function() {
3837 var s = '[' + this.constructor.displayName + ']', f = true;
3838 for (var k in this) {
3839 if (this.hasOwnProperty(k)) {
3840 s += (f ? ' {\n' : '') + ' ' + k + ': ' + typeof(this[k]) + '\n';
3844 return s + (f ? '' : '}');
3856 * The `Headers` class is an internal utility class exposed in HTTP
3857 * response objects using the `response.headers` property.
3859 var Headers = Class.extend(/** @lends LuCI.headers.prototype */ {
3860 __name__: 'LuCI.headers',
3861 __init__: function(xhr) {
3862 var hdrs = this.headers = {};
3863 xhr.getAllResponseHeaders().split(/\r\n/).forEach(function(line) {
3864 var m = /^([^:]+):(.*)$/.exec(line);
3866 hdrs[m[
1].trim().toLowerCase()] = m[
2].trim();
3871 * Checks whether the given header name is present.
3872 * Note: Header-Names are case-insensitive.
3875 * @memberof LuCI.headers
3876 * @param {string} name
3877 * The header name to check
3879 * @returns {boolean}
3880 * Returns `true` if the header name is present, `false` otherwise
3882 has: function(name) {
3883 return this.headers.hasOwnProperty(String(name).toLowerCase());
3887 * Returns the value of the given header name.
3888 * Note: Header-Names are case-insensitive.
3891 * @memberof LuCI.headers
3892 * @param {string} name
3893 * The header name to read
3895 * @returns {string|null}
3896 * The value of the given header name or `null` if the header isn't present.
3898 get: function(name) {
3899 var key = String(name).toLowerCase();
3900 return this.headers.hasOwnProperty(key) ? this.headers[key] : null;
3910 * The `Response` class is an internal utility class representing HTTP responses.
3912 var Response = Class.extend({
3913 __name__: 'LuCI.response',
3914 __init__: function(xhr, url, duration, headers, content) {
3916 * Describes whether the response is successful (status codes `
200.
.299`) or not
3918 * @memberof LuCI.response
3922 this.ok = (xhr.status
>=
200 && xhr.status
<=
299);
3925 * The numeric HTTP status code of the response
3927 * @memberof LuCI.response
3931 this.status = xhr.status;
3934 * The HTTP status description message of the response
3936 * @memberof LuCI.response
3940 this.statusText = xhr.statusText;
3943 * The HTTP headers of the response
3945 * @memberof LuCI.response
3947 * @type {LuCI.headers}
3949 this.headers = (headers != null) ? headers : new Headers(xhr);
3952 * The total duration of the HTTP request in milliseconds
3954 * @memberof LuCI.response
3958 this.duration = duration;
3961 * The final URL of the request, i.e. after following redirects.
3963 * @memberof LuCI.response
3972 if (content instanceof Blob) {
3973 this.responseBlob = content;
3974 this.responseJSON = null;
3975 this.responseText = null;
3977 else if (content != null
&& typeof(content) == 'object') {
3978 this.responseBlob = null;
3979 this.responseJSON = content;
3980 this.responseText = null;
3982 else if (content != null) {
3983 this.responseBlob = null;
3984 this.responseJSON = null;
3985 this.responseText = String(content);
3988 this.responseJSON = null;
3990 if (xhr.responseType == 'blob') {
3991 this.responseBlob = xhr.response;
3992 this.responseText = null;
3995 this.responseBlob = null;
3996 this.responseText = xhr.responseText;
4002 * Clones the given response object, optionally overriding the content
4003 * of the cloned instance.
4006 * @memberof LuCI.response
4007 * @param {*} [content]
4008 * Override the content of the cloned response. Object values will be
4009 * treated as JSON response data, all other types will be converted
4010 * using `String()` and treated as response text.
4012 * @returns {LuCI.response}
4013 * The cloned `Response` instance.
4015 clone: function(content) {
4016 var copy = new Response(this.xhr, this.url, this.duration, this.headers, content);
4019 copy.status = this.status;
4020 copy.statusText = this.statusText;
4026 * Access the response content as JSON data.
4029 * @memberof LuCI.response
4030 * @throws {SyntaxError}
4031 * Throws `SyntaxError` if the content isn't valid JSON.
4034 * The parsed JSON data.
4037 if (this.responseJSON == null)
4038 this.responseJSON = JSON.parse(this.responseText);
4040 return this.responseJSON;
4044 * Access the response content as string.
4047 * @memberof LuCI.response
4049 * The response content.
4052 if (this.responseText == null
&& this.responseJSON != null)
4053 this.responseText = JSON.stringify(this.responseJSON);
4055 return this.responseText;
4059 * Access the response content as blob.
4062 * @memberof LuCI.response
4064 * The response content as blob.
4067 return this.responseBlob;
4072 var requestQueue = [];
4074 function isQueueableRequest(opt) {
4078 if (opt.method != 'POST' || typeof(opt.content) != 'object')
4081 if (opt.nobatch === true)
4084 var rpcBaseURL = Request.expandURL(classes.rpc.getBaseURL());
4086 return (rpcBaseURL != null
&& opt.url.indexOf(rpcBaseURL) ==
0);
4089 function flushRequestQueue() {
4090 if (!requestQueue.length)
4093 var reqopt = Object.assign({}, requestQueue[
0][
0], { content: [], nobatch: true }),
4096 for (var i =
0; i
< requestQueue.length; i++) {
4097 batch[i] = requestQueue[i];
4098 reqopt.content[i] = batch[i][
0].content;
4101 requestQueue.length =
0;
4103 Request.request(rpcBaseURL, reqopt).then(function(reply) {
4104 var json = null, req = null;
4106 try { json = reply.json() }
4109 while ((req = batch.shift()) != null)
4110 if (Array.isArray(json)
&& json.length)
4111 req[
2].call(reqopt, reply.clone(json.shift()));
4113 req[
1].call(reqopt, new Error('No related RPC reply'));
4114 }).catch(function(error) {
4117 while ((req = batch.shift()) != null)
4118 req[
1].call(reqopt, error);
4128 * The `Request` class allows initiating HTTP requests and provides utilities
4129 * for dealing with responses.
4131 var Request = Class.singleton(/** @lends LuCI.request.prototype */ {
4132 __name__: 'LuCI.request',
4137 * Turn the given relative URL into an absolute URL if necessary.
4140 * @memberof LuCI.request
4141 * @param {string} url
4142 * The URL to convert.
4145 * The absolute URL derived from the given one, or the original URL
4146 * if it already was absolute.
4148 expandURL: function(url) {
4149 if (!/^(?:[^/]+:)?\/\//.test(url))
4150 url = location.protocol + '//' + location.host + url;
4156 * @typedef {Object} RequestOptions
4157 * @memberof LuCI.request
4159 * @property {string} [method=GET]
4160 * The HTTP method to use, e.g. `GET` or `POST`.
4162 * @property {Object
<string, Object|string
>} [query]
4163 * Query string data to append to the URL. Non-string values of the
4164 * given object will be converted to JSON.
4166 * @property {boolean} [cache=false]
4167 * Specifies whether the HTTP response may be retrieved from cache.
4169 * @property {string} [username]
4170 * Provides a username for HTTP basic authentication.
4172 * @property {string} [password]
4173 * Provides a password for HTTP basic authentication.
4175 * @property {number} [timeout]
4176 * Specifies the request timeout in milliseconds.
4178 * @property {boolean} [credentials=false]
4179 * Whether to include credentials such as cookies in the request.
4181 * @property {string} [responseType=text]
4182 * Overrides the request response type. Valid values or `text` to
4183 * interpret the response as UTF-
8 string or `blob` to handle the
4184 * response as binary `Blob` data.
4186 * @property {*} [content]
4187 * Specifies the HTTP message body to send along with the request.
4188 * If the value is a function, it is invoked and the return value
4189 * used as content, if it is a FormData instance, it is used as-is,
4190 * if it is an object, it will be converted to JSON, in all other
4191 * cases it is converted to a string.
4193 * @property {Object
<string, string
>} [header]
4194 * Specifies HTTP headers to set for the request.
4196 * @property {function} [progress]
4197 * An optional request callback function which receives ProgressEvent
4198 * instances as sole argument during the HTTP request transfer.
4202 * Initiate an HTTP request to the given target.
4205 * @memberof LuCI.request
4206 * @param {string} target
4207 * The URL to request.
4209 * @param {LuCI.request.RequestOptions} [options]
4210 * Additional options to configure the request.
4212 * @returns {Promise
<LuCI.response
>}
4213 * The resulting HTTP response.
4215 request: function(target, options) {
4216 return Promise.resolve(target).then((function(url) {
4217 var state = { xhr: new XMLHttpRequest(), url: this.expandURL(url), start: Date.now() },
4218 opt = Object.assign({}, options, state),
4221 callback = this.handleReadyStateChange;
4223 return new Promise(function(resolveFn, rejectFn) {
4224 opt.xhr.onreadystatechange = callback.bind(opt, resolveFn, rejectFn);
4225 opt.method = String(opt.method || 'GET').toUpperCase();
4227 if ('query' in opt) {
4228 var q = (opt.query != null) ? Object.keys(opt.query).map(function(k) {
4229 if (opt.query[k] != null) {
4230 var v = (typeof(opt.query[k]) == 'object')
4231 ? JSON.stringify(opt.query[k])
4232 : String(opt.query[k]);
4234 return '%s=%s'.format(encodeURIComponent(k), encodeURIComponent(v));
4237 return encodeURIComponent(k);
4239 }).join('
&') : '';
4242 switch (opt.method) {
4246 opt.url += ((/\?/).test(opt.url) ? '
&' : '?') + q;
4250 if (content == null) {
4252 contenttype = 'application/x-www-form-urlencoded';
4259 opt.url += ((/\?/).test(opt.url) ? '
&' : '?') + (new Date()).getTime();
4261 if (isQueueableRequest(opt)) {
4262 requestQueue.push([opt, rejectFn, resolveFn]);
4263 requestAnimationFrame(flushRequestQueue);
4267 if ('username' in opt
&& 'password' in opt)
4268 opt.xhr.open(opt.method, opt.url, true, opt.username, opt.password);
4270 opt.xhr.open(opt.method, opt.url, true);
4272 opt.xhr.responseType = opt.responseType || 'text';
4274 if ('overrideMimeType' in opt.xhr)
4275 opt.xhr.overrideMimeType('application/octet-stream');
4277 if ('timeout' in opt)
4278 opt.xhr.timeout = +opt.timeout;
4280 if ('credentials' in opt)
4281 opt.xhr.withCredentials = !!opt.credentials;
4283 if (opt.content != null) {
4284 switch (typeof(opt.content)) {
4286 content = opt.content(opt.xhr);
4290 if (!(opt.content instanceof FormData)) {
4291 content = JSON.stringify(opt.content);
4292 contenttype = 'application/json';
4295 content = opt.content;
4300 content = String(opt.content);
4304 if ('headers' in opt)
4305 for (var header in opt.headers)
4306 if (opt.headers.hasOwnProperty(header)) {
4307 if (header.toLowerCase() != 'content-type')
4308 opt.xhr.setRequestHeader(header, opt.headers[header]);
4310 contenttype = opt.headers[header];
4313 if ('progress' in opt
&& 'upload' in opt.xhr)
4314 opt.xhr.upload.addEventListener('progress', opt.progress);
4316 if (contenttype != null)
4317 opt.xhr.setRequestHeader('Content-Type', contenttype);
4320 opt.xhr.send(content);
4323 rejectFn.call(opt, e);
4329 handleReadyStateChange: function(resolveFn, rejectFn, ev) {
4331 duration = Date.now() - this.start;
4333 if (xhr.readyState !==
4)
4336 if (xhr.status ===
0 && xhr.statusText === '') {
4337 if (duration
>= this.timeout)
4338 rejectFn.call(this, new Error('XHR request timed out'));
4340 rejectFn.call(this, new Error('XHR request aborted by browser'));
4343 var response = new Response(
4344 xhr, xhr.responseURL || this.url, duration);
4346 Promise.all(Request.interceptors.map(function(fn) { return fn(response) }))
4347 .then(resolveFn.bind(this, response))
4348 .catch(rejectFn.bind(this));
4353 * Initiate an HTTP GET request to the given target.
4356 * @memberof LuCI.request
4357 * @param {string} url
4358 * The URL to request.
4360 * @param {LuCI.request.RequestOptions} [options]
4361 * Additional options to configure the request.
4363 * @returns {Promise
<LuCI.response
>}
4364 * The resulting HTTP response.
4366 get: function(url, options) {
4367 return this.request(url, Object.assign({ method: 'GET' }, options));
4371 * Initiate an HTTP POST request to the given target.
4374 * @memberof LuCI.request
4375 * @param {string} url
4376 * The URL to request.
4379 * The request data to send, see {@link LuCI.request.RequestOptions} for details.
4381 * @param {LuCI.request.RequestOptions} [options]
4382 * Additional options to configure the request.
4384 * @returns {Promise
<LuCI.response
>}
4385 * The resulting HTTP response.
4387 post: function(url, data, options) {
4388 return this.request(url, Object.assign({ method: 'POST', content: data }, options));
4392 * Interceptor functions are invoked whenever an HTTP reply is received, in the order
4393 * these functions have been registered.
4394 * @callback LuCI.request.interceptorFn
4395 * @param {LuCI.response} res
4396 * The HTTP response object
4400 * Register an HTTP response interceptor function. Interceptor
4401 * functions are useful to perform default actions on incoming HTTP
4402 * responses, such as checking for expired authentication or for
4403 * implementing request retries before returning a failure.
4406 * @memberof LuCI.request
4407 * @param {LuCI.request.interceptorFn} interceptorFn
4408 * The interceptor function to register.
4410 * @returns {LuCI.request.interceptorFn}
4411 * The registered function.
4413 addInterceptor: function(interceptorFn) {
4414 if (typeof(interceptorFn) == 'function')
4415 this.interceptors.push(interceptorFn);
4416 return interceptorFn;
4420 * Remove an HTTP response interceptor function. The passed function
4421 * value must be the very same value that was used to register the
4425 * @memberof LuCI.request
4426 * @param {LuCI.request.interceptorFn} interceptorFn
4427 * The interceptor function to remove.
4429 * @returns {boolean}
4430 * Returns `true` if any function has been removed, else `false`.
4432 removeInterceptor: function(interceptorFn) {
4433 var oldlen = this.interceptors.length, i = oldlen;
4435 if (this.interceptors[i] === interceptorFn)
4436 this.interceptors.splice(i,
1);
4437 return (this.interceptors.length
< oldlen);
4442 * @memberof LuCI.request
4446 * The `Request.poll` class provides some convince wrappers around
4447 * {@link LuCI.poll} mainly to simplify registering repeating HTTP
4448 * request calls as polling functions.
4452 * The callback function is invoked whenever an HTTP reply to a
4453 * polled request is received or when the polled request timed
4456 * @callback LuCI.request.poll~callbackFn
4457 * @param {LuCI.response} res
4458 * The HTTP response object.
4461 * The response JSON if the response could be parsed as such,
4464 * @param {number} duration
4465 * The total duration of the request in milliseconds.
4469 * Register a repeating HTTP request with an optional callback
4470 * to invoke whenever a response for the request is received.
4473 * @memberof LuCI.request.poll
4474 * @param {number} interval
4475 * The poll interval in seconds.
4477 * @param {string} url
4478 * The URL to request on each poll.
4480 * @param {LuCI.request.RequestOptions} [options]
4481 * Additional options to configure the request.
4483 * @param {LuCI.request.poll~callbackFn} [callback]
4484 * {@link LuCI.request.poll~callbackFn Callback} function to
4485 * invoke for each HTTP reply.
4487 * @throws {TypeError}
4488 * Throws `TypeError` when an invalid interval was passed.
4490 * @returns {function}
4491 * Returns the internally created poll function.
4493 add: function(interval, url, options, callback) {
4494 if (isNaN(interval) || interval
<=
0)
4495 throw new TypeError('Invalid poll interval');
4497 var ival = interval
>>> 0,
4498 opts = Object.assign({}, options, { timeout: ival *
1000 -
5 });
4500 var fn = function() {
4501 return Request.request(url, options).then(function(res) {
4505 var res_json = null;
4507 res_json = res.json();
4511 callback(res, res_json, res.duration);
4515 return (Poll.add(fn, ival) ? fn : null);
4519 * Remove a polling request that has been previously added using `add()`.
4520 * This function is essentially a wrapper around
4521 * {@link LuCI.poll.remove LuCI.poll.remove()}.
4524 * @memberof LuCI.request.poll
4525 * @param {function} entry
4526 * The poll function returned by {@link LuCI.request.poll#add add()}.
4528 * @returns {boolean}
4529 * Returns `true` if any function has been removed, else `false`.
4531 remove: function(entry) { return Poll.remove(entry) },
4534 * Alias for {@link LuCI.poll.start LuCI.poll.start()}.
4537 * @memberof LuCI.request.poll
4539 start: function() { return Poll.start() },
4542 * Alias for {@link LuCI.poll.stop LuCI.poll.stop()}.
4545 * @memberof LuCI.request.poll
4547 stop: function() { return Poll.stop() },
4550 * Alias for {@link LuCI.poll.active LuCI.poll.active()}.
4553 * @memberof LuCI.request.poll
4555 active: function() { return Poll.active() }
4565 * The `Poll` class allows registering and unregistering poll actions,
4566 * as well as starting, stopping and querying the state of the polling
4569 var Poll = Class.singleton(/** @lends LuCI.poll.prototype */ {
4570 __name__: 'LuCI.poll',
4575 * Add a new operation to the polling loop. If the polling loop is not
4576 * already started at this point, it will be implicitly started.
4579 * @memberof LuCI.poll
4580 * @param {function} fn
4581 * The function to invoke on each poll interval.
4583 * @param {number} interval
4584 * The poll interval in seconds.
4586 * @throws {TypeError}
4587 * Throws `TypeError` when an invalid interval was passed.
4589 * @returns {boolean}
4590 * Returns `true` if the function has been added or `false` if it
4591 * already is registered.
4593 add: function(fn, interval) {
4594 if (interval == null || interval
<=
0)
4595 interval = env.pollinterval || null;
4597 if (isNaN(interval) || typeof(fn) != 'function')
4598 throw new TypeError('Invalid argument to LuCI.poll.add()');
4600 for (var i =
0; i
< this.queue.length; i++)
4601 if (this.queue[i].fn === fn)
4612 if (this.tick != null
&& !this.active())
4619 * Remove an operation from the polling loop. If no further operations
4620 * are registered, the polling loop is implicitly stopped.
4623 * @memberof LuCI.poll
4624 * @param {function} fn
4625 * The function to remove.
4627 * @throws {TypeError}
4628 * Throws `TypeError` when the given argument isn't a function.
4630 * @returns {boolean}
4631 * Returns `true` if the function has been removed or `false` if it
4634 remove: function(fn) {
4635 if (typeof(fn) != 'function')
4636 throw new TypeError('Invalid argument to LuCI.poll.remove()');
4638 var len = this.queue.length;
4640 for (var i = len; i
> 0; i--)
4641 if (this.queue[i-
1].fn === fn)
4642 this.queue.splice(i-
1,
1);
4644 if (!this.queue.length
&& this.stop())
4647 return (this.queue.length != len);
4651 * (Re)start the polling loop. Dispatches a custom `poll-start` event
4652 * to the `document` object upon successful start.
4655 * @memberof LuCI.poll
4656 * @returns {boolean}
4657 * Returns `true` if polling has been started (or if no functions
4658 * where registered) or `false` when the polling loop already runs.
4666 if (this.queue.length) {
4667 this.timer = window.setInterval(this.step,
1000);
4669 document.dispatchEvent(new CustomEvent('poll-start'));
4676 * Stop the polling loop. Dispatches a custom `poll-stop` event
4677 * to the `document` object upon successful stop.
4680 * @memberof LuCI.poll
4681 * @returns {boolean}
4682 * Returns `true` if polling has been stopped or `false` if it didn't
4683 * run to begin with.
4689 document.dispatchEvent(new CustomEvent('poll-stop'));
4690 window.clearInterval(this.timer);
4698 for (var i =
0, e = null; (e = Poll.queue[i]) != null; i++) {
4699 if ((Poll.tick % e.i) !=
0)
4707 Promise.resolve(e.fn()).finally((function() { this.r = true }).bind(e));
4710 Poll.tick = (Poll.tick +
1) % Math.pow(
2,
32);
4714 * Test whether the polling loop is running.
4717 * @memberof LuCI.poll
4718 * @returns {boolean} - Returns `true` if polling is active, else `false`.
4720 active: function() {
4721 return (this.timer != null);
4731 * The `dom` class provides convenience method for creating and
4732 * manipulating DOM elements.
4734 * To import the class in views, use `'require dom'`, to import it in
4735 * external JavaScript, use `L.require(
"dom").then(...)`.
4737 var DOM = Class.singleton(/** @lends LuCI.dom.prototype */ {
4738 __name__: 'LuCI.dom',
4741 * Tests whether the given argument is a valid DOM `Node`.
4744 * @memberof LuCI.dom
4746 * The value to test.
4748 * @returns {boolean}
4749 * Returns `true` if the value is a DOM `Node`, else `false`.
4752 return (e != null
&& typeof(e) == 'object'
&& 'nodeType' in e);
4756 * Parses a given string as HTML and returns the first child node.
4759 * @memberof LuCI.dom
4761 * A string containing an HTML fragment to parse. Note that only
4762 * the first result of the resulting structure is returned, so an
4763 * input value of `
<div
>foo
</div
> <div
>bar
</div
>` will only return
4764 * the first `div` element node.
4767 * Returns the first DOM `Node` extracted from the HTML fragment or
4768 * `null` on parsing failures or if no element could be found.
4770 parse: function(s) {
4774 domParser = domParser || new DOMParser();
4775 elem = domParser.parseFromString(s, 'text/html').body.firstChild;
4783 * Tests whether a given `Node` matches the given query selector.
4785 * This function is a convenience wrapper around the standard
4786 * `Node.matches(
"selector")` function with the added benefit that
4787 * the `node` argument may be a non-`Node` value, in which case
4788 * this function simply returns `false`.
4791 * @memberof LuCI.dom
4793 * The `Node` argument to test the selector against.
4795 * @param {string} [selector]
4796 * The query selector expression to test against the given node.
4798 * @returns {boolean}
4799 * Returns `true` if the given node matches the specified selector
4800 * or `false` when the node argument is no valid DOM `Node` or the
4801 * selector didn't match.
4803 matches: function(node, selector) {
4804 var m = this.elem(node) ? node.matches || node.msMatchesSelector : null;
4805 return m ? m.call(node, selector) : false;
4809 * Returns the closest parent node that matches the given query
4810 * selector expression.
4812 * This function is a convenience wrapper around the standard
4813 * `Node.closest(
"selector")` function with the added benefit that
4814 * the `node` argument may be a non-`Node` value, in which case
4815 * this function simply returns `null`.
4818 * @memberof LuCI.dom
4820 * The `Node` argument to find the closest parent for.
4822 * @param {string} [selector]
4823 * The query selector expression to test against each parent.
4825 * @returns {Node|null}
4826 * Returns the closest parent node matching the selector or
4827 * `null` when the node argument is no valid DOM `Node` or the
4828 * selector didn't match any parent.
4830 parent: function(node, selector) {
4831 if (this.elem(node)
&& node.closest)
4832 return node.closest(selector);
4834 while (this.elem(node))
4835 if (this.matches(node, selector))
4838 node = node.parentNode;
4844 * Appends the given children data to the given node.
4847 * @memberof LuCI.dom
4849 * The `Node` argument to append the children to.
4851 * @param {*} [children]
4852 * The children to append to the given node.
4854 * When `children` is an array, then each item of the array
4855 * will be either appended as child element or text node,
4856 * depending on whether the item is a DOM `Node` instance or
4857 * some other non-`null` value. Non-`Node`, non-`null` values
4858 * will be converted to strings first before being passed as
4859 * argument to `createTextNode()`.
4861 * When `children` is a function, it will be invoked with
4862 * the passed `node` argument as sole parameter and the `append`
4863 * function will be invoked again, with the given `node` argument
4864 * as first and the return value of the `children` function as
4867 * When `children` is a DOM `Node` instance, it will be
4868 * appended to the given `node`.
4870 * When `children` is any other non-`null` value, it will be
4871 * converted to a string and appended to the `innerHTML` property
4872 * of the given `node`.
4874 * @returns {Node|null}
4875 * Returns the last children `Node` appended to the node or `null`
4876 * if either the `node` argument was no valid DOM `node` or if the
4877 * `children` was `null` or didn't result in further DOM nodes.
4879 append: function(node, children) {
4880 if (!this.elem(node))
4883 if (Array.isArray(children)) {
4884 for (var i =
0; i
< children.length; i++)
4885 if (this.elem(children[i]))
4886 node.appendChild(children[i]);
4887 else if (children !== null
&& children !== undefined)
4888 node.appendChild(document.createTextNode('' + children[i]));
4890 return node.lastChild;
4892 else if (typeof(children) === 'function') {
4893 return this.append(node, children(node));
4895 else if (this.elem(children)) {
4896 return node.appendChild(children);
4898 else if (children !== null
&& children !== undefined) {
4899 node.innerHTML = '' + children;
4900 return node.lastChild;
4907 * Replaces the content of the given node with the given children.
4909 * This function first removes any children of the given DOM
4910 * `Node` and then adds the given children following the
4911 * rules outlined below.
4914 * @memberof LuCI.dom
4916 * The `Node` argument to replace the children of.
4918 * @param {*} [children]
4919 * The children to replace into the given node.
4921 * When `children` is an array, then each item of the array
4922 * will be either appended as child element or text node,
4923 * depending on whether the item is a DOM `Node` instance or
4924 * some other non-`null` value. Non-`Node`, non-`null` values
4925 * will be converted to strings first before being passed as
4926 * argument to `createTextNode()`.
4928 * When `children` is a function, it will be invoked with
4929 * the passed `node` argument as sole parameter and the `append`
4930 * function will be invoked again, with the given `node` argument
4931 * as first and the return value of the `children` function as
4934 * When `children` is a DOM `Node` instance, it will be
4935 * appended to the given `node`.
4937 * When `children` is any other non-`null` value, it will be
4938 * converted to a string and appended to the `innerHTML` property
4939 * of the given `node`.
4941 * @returns {Node|null}
4942 * Returns the last children `Node` appended to the node or `null`
4943 * if either the `node` argument was no valid DOM `node` or if the
4944 * `children` was `null` or didn't result in further DOM nodes.
4946 content: function(node, children) {
4947 if (!this.elem(node))
4950 var dataNodes = node.querySelectorAll('[data-idref]');
4952 for (var i =
0; i
< dataNodes.length; i++)
4953 delete this.registry[dataNodes[i].getAttribute('data-idref')];
4955 while (node.firstChild)
4956 node.removeChild(node.firstChild);
4958 return this.append(node, children);
4962 * Sets attributes or registers event listeners on element nodes.
4965 * @memberof LuCI.dom
4967 * The `Node` argument to set the attributes or add the event
4968 * listeners for. When the given `node` value is not a valid
4969 * DOM `Node`, the function returns and does nothing.
4971 * @param {string|Object
<string, *
>} key
4972 * Specifies either the attribute or event handler name to use,
4973 * or an object containing multiple key, value pairs which are
4974 * each added to the node as either attribute or event handler,
4975 * depending on the respective value.
4978 * Specifies the attribute value or event handler function to add.
4979 * If the `key` parameter is an `Object`, this parameter will be
4982 * When `val` is of type function, it will be registered as event
4983 * handler on the given `node` with the `key` parameter being the
4986 * When `val` is of type object, it will be serialized as JSON and
4987 * added as attribute to the given `node`, using the given `key`
4988 * as attribute name.
4990 * When `val` is of any other type, it will be added as attribute
4991 * to the given `node` as-is, with the underlying `setAttribute()`
4992 * call implicitly turning it into a string.
4994 attr: function(node, key, val) {
4995 if (!this.elem(node))
5000 if (typeof(key) === 'object'
&& key !== null)
5002 else if (typeof(key) === 'string')
5003 attr = {}, attr[key] = val;
5006 if (!attr.hasOwnProperty(key) || attr[key] == null)
5009 switch (typeof(attr[key])) {
5011 node.addEventListener(key, attr[key]);
5015 node.setAttribute(key, JSON.stringify(attr[key]));
5019 node.setAttribute(key, attr[key]);
5025 * Creates a new DOM `Node` from the given `html`, `attr` and
5026 * `data` parameters.
5028 * This function has multiple signatures, it can be either invoked
5029 * in the form `create(html[, attr[, data]])` or in the form
5030 * `create(html[, data])`. The used variant is determined from the
5031 * type of the second argument.
5034 * @memberof LuCI.dom
5036 * Describes the node to create.
5038 * When the value of `html` is of type array, a `DocumentFragment`
5039 * node is created and each item of the array is first converted
5040 * to a DOM `Node` by passing it through `create()` and then added
5041 * as child to the fragment.
5043 * When the value of `html` is a DOM `Node` instance, no new
5044 * element will be created but the node will be used as-is.
5046 * When the value of `html` is a string starting with `
<`, it will
5047 * be passed to `dom.parse()` and the resulting value is used.
5049 * When the value of `html` is any other string, it will be passed
5050 * to `document.createElement()` for creating a new DOM `Node` of
5053 * @param {Object
<string, *
>} [attr]
5054 * Specifies an Object of key, value pairs to set as attributes
5055 * or event handlers on the created node. Refer to
5056 * {@link LuCI.dom#attr dom.attr()} for details.
5059 * Specifies children to append to the newly created element.
5060 * Refer to {@link LuCI.dom#append dom.append()} for details.
5062 * @throws {InvalidCharacterError}
5063 * Throws an `InvalidCharacterError` when the given `html`
5064 * argument contained malformed markup (such as not escaped
5065 * `
&` characters in XHTML mode) or when the given node name
5066 * in `html` contains characters which are not legal in DOM
5067 * element names, such as spaces.
5070 * Returns the newly created `Node`.
5072 create: function() {
5073 var html = arguments[
0],
5074 attr = arguments[
1],
5075 data = arguments[
2],
5078 if (!(attr instanceof Object) || Array.isArray(attr))
5079 data = attr, attr = null;
5081 if (Array.isArray(html)) {
5082 elem = document.createDocumentFragment();
5083 for (var i =
0; i
< html.length; i++)
5084 elem.appendChild(this.create(html[i]));
5086 else if (this.elem(html)) {
5089 else if (html.charCodeAt(
0) ===
60) {
5090 elem = this.parse(html);
5093 elem = document.createElement(html);
5099 this.attr(elem, attr);
5100 this.append(elem, data);
5108 * Attaches or detaches arbitrary data to and from a DOM `Node`.
5110 * This function is useful to attach non-string values or runtime
5111 * data that is not serializable to DOM nodes. To decouple data
5112 * from the DOM, values are not added directly to nodes, but
5113 * inserted into a registry instead which is then referenced by a
5114 * string key stored as `data-idref` attribute in the node.
5116 * This function has multiple signatures and is sensitive to the
5117 * number of arguments passed to it.
5119 * - `dom.data(node)` -
5120 * Fetches all data associated with the given node.
5121 * - `dom.data(node, key)` -
5122 * Fetches a specific key associated with the given node.
5123 * - `dom.data(node, key, val)` -
5124 * Sets a specific key to the given value associated with the
5126 * - `dom.data(node, null)` -
5127 * Clears any data associated with the node.
5128 * - `dom.data(node, key, null)` -
5129 * Clears the given key associated with the node.
5132 * @memberof LuCI.dom
5133 * @param {Node} node
5134 * The DOM `Node` instance to set or retrieve the data for.
5136 * @param {string|null} [key]
5137 * This is either a string specifying the key to retrieve, or
5138 * `null` to unset the entire node data.
5140 * @param {*|null} [val]
5141 * This is either a non-`null` value to set for a given key or
5142 * `null` to remove the given `key` from the specified node.
5145 * Returns the get or set value, or `null` when no value could
5148 data: function(node, key, val) {
5149 if (!node || !node.getAttribute)
5152 var id = node.getAttribute('data-idref');
5154 /* clear all data */
5155 if (arguments.length
> 1 && key == null) {
5157 node.removeAttribute('data-idref');
5158 val = this.registry[id]
5159 delete this.registry[id];
5167 else if (arguments.length
> 2 && key != null
&& val == null) {
5169 val = this.registry[id][key];
5170 delete this.registry[id][key];
5178 else if (arguments.length
> 2 && key != null
&& val != null) {
5180 do { id = Math.floor(Math.random() *
0xffffffff).toString(
16) }
5181 while (this.registry.hasOwnProperty(id));
5183 node.setAttribute('data-idref', id);
5184 this.registry[id] = {};
5187 return (this.registry[id][key] = val);
5191 else if (arguments.length ==
1) {
5193 return this.registry[id];
5199 else if (arguments.length ==
2) {
5201 return this.registry[id][key];
5208 * Binds the given class instance ot the specified DOM `Node`.
5210 * This function uses the `dom.data()` facility to attach the
5211 * passed instance of a Class to a node. This is needed for
5212 * complex widget elements or similar where the corresponding
5213 * class instance responsible for the element must be retrieved
5214 * from DOM nodes obtained by `querySelector()` or similar means.
5217 * @memberof LuCI.dom
5218 * @param {Node} node
5219 * The DOM `Node` instance to bind the class to.
5221 * @param {Class} inst
5222 * The Class instance to bind to the node.
5224 * @throws {TypeError}
5225 * Throws a `TypeError` when the given instance argument isn't
5226 * a valid Class instance.
5229 * Returns the bound class instance.
5231 bindClassInstance: function(node, inst) {
5232 if (!(inst instanceof Class))
5233 LuCI.prototype.error('TypeError', 'Argument must be a class instance');
5235 return this.data(node, '_class', inst);
5239 * Finds a bound class instance on the given node itself or the
5240 * first bound instance on its closest parent node.
5243 * @memberof LuCI.dom
5244 * @param {Node} node
5245 * The DOM `Node` instance to start from.
5247 * @returns {Class|null}
5248 * Returns the founds class instance if any or `null` if no bound
5249 * class could be found on the node itself or any of its parents.
5251 findClassInstance: function(node) {
5255 inst = this.data(node, '_class');
5256 node = node.parentNode;
5258 while (!(inst instanceof Class)
&& node != null);
5264 * Finds a bound class instance on the given node itself or the
5265 * first bound instance on its closest parent node and invokes
5266 * the specified method name on the found class instance.
5269 * @memberof LuCI.dom
5270 * @param {Node} node
5271 * The DOM `Node` instance to start from.
5273 * @param {string} method
5274 * The name of the method to invoke on the found class instance.
5276 * @param {...*} params
5277 * Additional arguments to pass to the invoked method as-is.
5280 * Returns the return value of the invoked method if a class
5281 * instance and method has been found. Returns `null` if either
5282 * no bound class instance could be found, or if the found
5283 * instance didn't have the requested `method`.
5285 callClassMethod: function(node, method /*, ... */) {
5286 var inst = this.findClassInstance(node);
5288 if (inst == null || typeof(inst[method]) != 'function')
5291 return inst[method].apply(inst, inst.varargs(arguments,
2));
5295 * The ignore callback function is invoked by `isEmpty()` for each
5296 * child node to decide whether to ignore a child node or not.
5298 * When this function returns `false`, the node passed to it is
5299 * ignored, else not.
5301 * @callback LuCI.dom~ignoreCallbackFn
5302 * @param {Node} node
5303 * The child node to test.
5305 * @returns {boolean}
5306 * Boolean indicating whether to ignore the node or not.
5310 * Tests whether a given DOM `Node` instance is empty or appears
5313 * Any element child nodes which have the CSS class `hidden` set
5314 * or for which the optionally passed `ignoreFn` callback function
5315 * returns `false` are ignored.
5318 * @memberof LuCI.dom
5319 * @param {Node} node
5320 * The DOM `Node` instance to test.
5322 * @param {LuCI.dom~ignoreCallbackFn} [ignoreFn]
5323 * Specifies an optional function which is invoked for each child
5324 * node to decide whether the child node should be ignored or not.
5326 * @returns {boolean}
5327 * Returns `true` if the node does not have any children or if
5328 * any children node either has a `hidden` CSS class or a `false`
5329 * result when testing it using the given `ignoreFn`.
5331 isEmpty: function(node, ignoreFn) {
5332 for (var child = node.firstElementChild; child != null; child = child.nextElementSibling)
5333 if (!child.classList.contains('hidden')
&& (!ignoreFn || !ignoreFn(child)))
5346 * The `session` class provides various session related functionality.
5348 var Session = Class.singleton(/** @lends LuCI.session.prototype */ {
5349 __name__: 'LuCI.session',
5352 * Retrieve the current session ID.
5355 * Returns the current session ID.
5358 return env.sessionid || '
00000000000000000000000000000000';
5362 * Retrieve the current session token.
5364 * @returns {string|null}
5365 * Returns the current session token or `null` if not logged in.
5367 getToken: function() {
5368 return env.token || null;
5372 * Retrieve data from the local session storage.
5374 * @param {string} [key]
5375 * The key to retrieve from the session data store. If omitted, all
5376 * session data will be returned.
5379 * Returns the stored session data or `null` if the given key wasn't
5382 getLocalData: function(key) {
5384 var sid = this.getID(),
5385 item = 'luci-session-store',
5386 data = JSON.parse(window.sessionStorage.getItem(item));
5388 if (!LuCI.prototype.isObject(data) || !data.hasOwnProperty(sid)) {
5394 return data[sid].hasOwnProperty(key) ? data[sid][key] : null;
5399 return (key != null) ? null : {};
5404 * Set data in the local session storage.
5406 * @param {string} key
5407 * The key to set in the session data store.
5410 * The value to store. It will be internally converted to JSON before
5411 * being put in the session store.
5413 * @returns {boolean}
5414 * Returns `true` if the data could be stored or `false` on error.
5416 setLocalData: function(key, value) {
5421 var sid = this.getID(),
5422 item = 'luci-session-store',
5423 data = JSON.parse(window.sessionStorage.getItem(item));
5425 if (!LuCI.prototype.isObject(data) || !data.hasOwnProperty(sid)) {
5431 data[sid][key] = value;
5433 delete data[sid][key];
5435 window.sessionStorage.setItem(item, JSON.stringify(data));
5451 * The `view` class forms the basis of views and provides a standard
5452 * set of methods to inherit from.
5454 var View = Class.extend(/** @lends LuCI.view.prototype */ {
5455 __name__: 'LuCI.view',
5457 __init__: function() {
5458 var vp = document.getElementById('view');
5460 DOM.content(vp, E('div', { 'class': 'spinning' }, _('Loading view…')));
5462 return Promise.resolve(this.load())
5463 .then(LuCI.prototype.bind(this.render, this))
5464 .then(LuCI.prototype.bind(function(nodes) {
5465 var vp = document.getElementById('view');
5467 DOM.content(vp, nodes);
5468 DOM.append(vp, this.addFooter());
5469 }, this)).catch(LuCI.prototype.error);
5473 * The load function is invoked before the view is rendered.
5475 * The invocation of this function is wrapped by
5476 * `Promise.resolve()` so it may return Promises if needed.
5478 * The return value of the function (or the resolved values
5479 * of the promise returned by it) will be passed as first
5480 * argument to `render()`.
5482 * This function is supposed to be overwritten by subclasses,
5483 * the default implementation does nothing.
5487 * @memberof LuCI.view
5489 * @returns {*|Promise
<*
>}
5490 * May return any value or a Promise resolving to any value.
5492 load: function() {},
5495 * The render function is invoked after the
5496 * {@link LuCI.view#load load()} function and responsible
5497 * for setting up the view contents. It must return a DOM
5498 * `Node` or `DocumentFragment` holding the contents to
5499 * insert into the view area.
5501 * The invocation of this function is wrapped by
5502 * `Promise.resolve()` so it may return Promises if needed.
5504 * The return value of the function (or the resolved values
5505 * of the promise returned by it) will be inserted into the
5506 * main content area using
5507 * {@link LuCI.dom#append dom.append()}.
5509 * This function is supposed to be overwritten by subclasses,
5510 * the default implementation does nothing.
5514 * @memberof LuCI.view
5515 * @param {*|null} load_results
5516 * This function will receive the return value of the
5517 * {@link LuCI.view#load view.load()} function as first
5520 * @returns {Node|Promise
<Node
>}
5521 * Should return a DOM `Node` value or a `Promise` resolving
5522 * to a `Node` value.
5524 render: function() {},
5527 * The handleSave function is invoked when the user clicks
5528 * the `Save` button in the page action footer.
5530 * The default implementation should be sufficient for most
5531 * views using {@link form#Map form.Map()} based forms - it
5532 * will iterate all forms present in the view and invoke
5533 * the {@link form#Map#save Map.save()} method on each form.
5535 * Views not using `Map` instances or requiring other special
5536 * logic should overwrite `handleSave()` with a custom
5539 * To disable the `Save` page footer button, views extending
5540 * this base class should overwrite the `handleSave` function
5543 * The invocation of this function is wrapped by
5544 * `Promise.resolve()` so it may return Promises if needed.
5547 * @memberof LuCI.view
5549 * The DOM event that triggered the function.
5551 * @returns {*|Promise
<*
>}
5552 * Any return values of this function are discarded, but
5553 * passed through `Promise.resolve()` to ensure that any
5554 * returned promise runs to completion before the button
5557 handleSave: function(ev) {
5560 document.getElementById('maincontent')
5561 .querySelectorAll('.cbi-map').forEach(function(map) {
5562 tasks.push(DOM.callClassMethod(map, 'save'));
5565 return Promise.all(tasks);
5569 * The handleSaveApply function is invoked when the user clicks
5570 * the `Save
& Apply` button in the page action footer.
5572 * The default implementation should be sufficient for most
5573 * views using {@link form#Map form.Map()} based forms - it
5575 * {@link LuCI.view.handleSave view.handleSave()} and then
5576 * call {@link ui#changes#apply ui.changes.apply()} to start the
5577 * modal config apply and page reload flow.
5579 * Views not using `Map` instances or requiring other special
5580 * logic should overwrite `handleSaveApply()` with a custom
5583 * To disable the `Save
& Apply` page footer button, views
5584 * extending this base class should overwrite the
5585 * `handleSaveApply` function with `null`.
5587 * The invocation of this function is wrapped by
5588 * `Promise.resolve()` so it may return Promises if needed.
5591 * @memberof LuCI.view
5593 * The DOM event that triggered the function.
5595 * @returns {*|Promise
<*
>}
5596 * Any return values of this function are discarded, but
5597 * passed through `Promise.resolve()` to ensure that any
5598 * returned promise runs to completion before the button
5601 handleSaveApply: function(ev, mode) {
5602 return this.handleSave(ev).then(function() {
5603 classes.ui.changes.apply(mode == '
0');
5608 * The handleReset function is invoked when the user clicks
5609 * the `Reset` button in the page action footer.
5611 * The default implementation should be sufficient for most
5612 * views using {@link form#Map form.Map()} based forms - it
5613 * will iterate all forms present in the view and invoke
5614 * the {@link form#Map#save Map.reset()} method on each form.
5616 * Views not using `Map` instances or requiring other special
5617 * logic should overwrite `handleReset()` with a custom
5620 * To disable the `Reset` page footer button, views extending
5621 * this base class should overwrite the `handleReset` function
5624 * The invocation of this function is wrapped by
5625 * `Promise.resolve()` so it may return Promises if needed.
5628 * @memberof LuCI.view
5630 * The DOM event that triggered the function.
5632 * @returns {*|Promise
<*
>}
5633 * Any return values of this function are discarded, but
5634 * passed through `Promise.resolve()` to ensure that any
5635 * returned promise runs to completion before the button
5638 handleReset: function(ev) {
5641 document.getElementById('maincontent')
5642 .querySelectorAll('.cbi-map').forEach(function(map) {
5643 tasks.push(DOM.callClassMethod(map, 'reset'));
5646 return Promise.all(tasks);
5650 * Renders a standard page action footer if any of the
5651 * `handleSave()`, `handleSaveApply()` or `handleReset()`
5652 * functions are defined.
5654 * The default implementation should be sufficient for most
5655 * views - it will render a standard page footer with action
5656 * buttons labeled `Save`, `Save
& Apply` and `Reset`
5657 * triggering the `handleSave()`, `handleSaveApply()` and
5658 * `handleReset()` functions respectively.
5660 * When any of these `handle*()` functions is overwritten
5661 * with `null` by a view extending this class, the
5662 * corresponding button will not be rendered.
5665 * @memberof LuCI.view
5666 * @returns {DocumentFragment}
5667 * Returns a `DocumentFragment` containing the footer bar
5668 * with buttons for each corresponding `handle*()` action
5669 * or an empty `DocumentFragment` if all three `handle*()`
5670 * methods are overwritten with `null`.
5672 addFooter: function() {
5674 vp = document.getElementById('view'),
5678 vp.querySelectorAll('.cbi-map').forEach(function(map) {
5679 var m = DOM.findClassInstance(map);
5689 readonly = !LuCI.prototype.hasViewPermission();
5691 var saveApplyBtn = this.handleSaveApply ? new classes.ui.ComboButton('
0', {
5692 0: [ _('Save
& Apply') ],
5693 1: [ _('Apply unchecked') ]
5696 0: 'btn cbi-button cbi-button-apply important',
5697 1: 'btn cbi-button cbi-button-negative important'
5699 click: classes.ui.createHandlerFn(this, 'handleSaveApply'),
5700 disabled: readonly || null
5701 }).render() : E([]);
5703 if (this.handleSaveApply || this.handleSave || this.handleReset) {
5704 footer.appendChild(E('div', { 'class': 'cbi-page-actions' }, [
5706 this.handleSave ? E('button', {
5707 'class': 'cbi-button cbi-button-save',
5708 'click': classes.ui.createHandlerFn(this, 'handleSave'),
5709 'disabled': readonly || null
5710 }, [ _('Save') ]) : '', ' ',
5711 this.handleReset ? E('button', {
5712 'class': 'cbi-button cbi-button-reset',
5713 'click': classes.ui.createHandlerFn(this, 'handleReset'),
5714 'disabled': readonly || null
5715 }, [ _('Reset') ]) : ''
5724 var dummyElem = null,
5726 originalCBIInit = null,
5729 preloadClasses = null;
5731 /*
"preload" builtin classes to make the available via require */
5741 var naturalCompare = new Intl.Collator(undefined, { numeric: true }).compare;
5743 var LuCI = Class.extend(/** @lends LuCI.prototype */ {
5745 __init__: function(setenv) {
5747 document.querySelectorAll('script[src*=
"/luci.js"]').forEach(function(s) {
5748 if (setenv.base_url == null || setenv.base_url == '') {
5749 var m = (s.getAttribute('src') || '').match(/^(.*)\/luci\.js(?:\?v=([^?]+))?$/);
5751 setenv.base_url = m[
1];
5752 setenv.resource_version = m[
2];
5757 if (setenv.base_url == null)
5758 this.error('InternalError', 'Cannot find url of luci.js');
5760 setenv.cgi_base = setenv.scriptname.replace(/\/[^\/]+$/, '');
5762 Object.assign(env, setenv);
5764 var domReady = new Promise(function(resolveFn, rejectFn) {
5765 document.addEventListener('DOMContentLoaded', resolveFn);
5771 this.require('rpc'),
5772 this.require('form'),
5773 this.probeRPCBaseURL()
5774 ]).then(this.setupDOM.bind(this)).catch(this.error);
5776 originalCBIInit = window.cbi_init;
5777 window.cbi_init = function() {};
5781 * Captures the current stack trace and throws an error of the
5782 * specified type as a new exception. Also logs the exception as
5783 * error to the debug console if it is available.
5788 * @param {Error|string} [type=Error]
5789 * Either a string specifying the type of the error to throw or an
5790 * existing `Error` instance to copy.
5792 * @param {string} [fmt=Unspecified error]
5793 * A format string which is used to form the error message, together
5794 * with all subsequent optional arguments.
5796 * @param {...*} [args]
5797 * Zero or more variable arguments to the supplied format string.
5800 * Throws the created error object with the captured stack trace
5801 * appended to the message and the type set to the given type
5802 * argument or copied from the given error instance.
5804 raise: function(type, fmt /*, ...*/) {
5806 msg = fmt ? String.prototype.format.apply(fmt, this.varargs(arguments,
2)) : null,
5809 if (type instanceof Error) {
5813 e.message = msg + ': ' + e.message;
5816 try { throw new Error('stacktrace') }
5817 catch (e2) { stack = (e2.stack || '').split(/\n/) }
5819 e = new (window[type || 'Error'] || Error)(msg || 'Unspecified error');
5820 e.name = type || 'Error';
5823 stack = (stack || []).map(function(frame) {
5824 frame = frame.replace(/(.*?)@(.+):(\d+):(\d+)/g, 'at $
1 ($
2:$
3:$
4)').trim();
5825 return frame ? ' ' + frame : '';
5828 if (!/^ at /.test(stack[
0]))
5831 if (/\braise /.test(stack[
0]))
5834 if (/\berror /.test(stack[
0]))
5838 e.message += '\n' + stack.join('\n');
5840 if (window.console
&& console.debug)
5847 * A wrapper around {@link LuCI#raise raise()} which also renders
5848 * the error either as modal overlay when `ui.js` is already loaded
5849 * or directly into the view body.
5854 * @param {Error|string} [type=Error]
5855 * Either a string specifying the type of the error to throw or an
5856 * existing `Error` instance to copy.
5858 * @param {string} [fmt=Unspecified error]
5859 * A format string which is used to form the error message, together
5860 * with all subsequent optional arguments.
5862 * @param {...*} [args]
5863 * Zero or more variable arguments to the supplied format string.
5866 * Throws the created error object with the captured stack trace
5867 * appended to the message and the type set to the given type
5868 * argument or copied from the given error instance.
5870 error: function(type, fmt /*, ...*/) {
5872 LuCI.prototype.raise.apply(LuCI.prototype,
5873 Array.prototype.slice.call(arguments));
5878 classes.ui.addNotification(e.name || _('Runtime error'),
5879 E('pre', {}, e.message), 'danger');
5881 DOM.content(document.querySelector('#maincontent'),
5882 E('pre', { 'class': 'alert-message error' }, e.message));
5892 * Return a bound function using the given `self` as `this` context
5893 * and any further arguments as parameters to the bound function.
5898 * @param {function} fn
5899 * The function to bind.
5902 * The value to bind as `this` context to the specified function.
5904 * @param {...*} [args]
5905 * Zero or more variable arguments which are bound to the function
5908 * @returns {function}
5909 * Returns the bound function.
5911 bind: function(fn, self /*, ... */) {
5912 return Function.prototype.bind.apply(fn, this.varargs(arguments,
2, self));
5916 * Load an additional LuCI JavaScript class and its dependencies,
5917 * instantiate it and return the resulting class instance. Each
5918 * class is only loaded once. Subsequent attempts to load the same
5919 * class will return the already instantiated class.
5924 * @param {string} name
5925 * The name of the class to load in dotted notation. Dots will
5926 * be replaced by spaces and joined with the runtime-determined
5927 * base URL of LuCI.js to form an absolute URL to load the class
5930 * @throws {DependencyError}
5931 * Throws a `DependencyError` when the class to load includes
5932 * circular dependencies.
5934 * @throws {NetworkError}
5935 * Throws `NetworkError` when the underlying {@link LuCI.request}
5938 * @throws {SyntaxError}
5939 * Throws `SyntaxError` when the loaded class file code cannot
5940 * be interpreted by `eval`.
5942 * @throws {TypeError}
5943 * Throws `TypeError` when the class file could be loaded and
5944 * interpreted, but when invoking its code did not yield a valid
5947 * @returns {Promise
<LuCI.baseclass
>}
5948 * Returns the instantiated class.
5950 require: function(name, from) {
5951 var L = this, url = null, from = from || [];
5953 /* Class already loaded */
5954 if (classes[name] != null) {
5955 /* Circular dependency */
5956 if (from.indexOf(name) != -
1)
5957 LuCI.prototype.raise('DependencyError',
5958 'Circular dependency: class
"%s" depends on
"%s"',
5959 name, from.join('
" which depends on "'));
5961 return Promise.resolve(classes[name]);
5964 url = '%s/%s.js%s'.format(env.base_url, name.replace(/\./g, '/'), (env.resource_version ? '?v=' + env.resource_version : ''));
5965 from = [ name ].concat(from);
5967 var compileClass = function(res) {
5969 LuCI.prototype.raise('NetworkError',
5970 'HTTP error %d while loading class file
"%s"', res.status, url);
5972 var source = res.text(),
5973 requirematch = /^require[ \t]+(\S+)(?:[ \t]+as[ \t]+([a-zA-Z_]\S*))?$/,
5974 strictmatch = /^use[ \t]+strict$/,
5978 /* find require statements in source */
5979 for (var i =
0, off = -
1, prev = -
1, quote = -
1, comment = -
1, esc = false; i
< source.length; i++) {
5980 var chr = source.charCodeAt(i);
5985 else if (comment != -
1) {
5986 if ((comment ==
47 && chr ==
10) || (comment ==
42 && prev ==
42 && chr ==
47))
5989 else if ((chr ==
42 || chr ==
47)
&& prev ==
47) {
5992 else if (chr ==
92) {
5995 else if (chr == quote) {
5996 var s = source.substring(off, i),
5997 m = requirematch.exec(s);
6000 var dep = m[
1], as = m[
2] || dep.replace(/[^a-zA-Z0-
9_]/g, '_');
6001 depends.push(LuCI.prototype.require(dep, from));
6004 else if (!strictmatch.exec(s)) {
6011 else if (quote == -
1 && (chr ==
34 || chr ==
39)) {
6019 /* load dependencies and instantiate class */
6020 return Promise.all(depends).then(function(instances) {
6021 var _factory, _class;
6025 '(function(window, document, L%s) { %s })\n\n//# sourceURL=%s\n'
6026 .format(args, source, res.url));
6029 LuCI.prototype.raise('SyntaxError', '%s\n in %s:%s',
6030 error.message, res.url, error.lineNumber || '?');
6033 _factory.displayName = toCamelCase(name + 'ClassFactory');
6034 _class = _factory.apply(_factory, [window, document, L].concat(instances));
6036 if (!Class.isSubclass(_class))
6037 LuCI.prototype.error('TypeError', '
"%s" factory yields invalid constructor', name);
6039 if (_class.displayName == 'AnonymousClass')
6040 _class.displayName = toCamelCase(name + 'Class');
6042 var ptr = Object.getPrototypeOf(L),
6043 parts = name.split(/\./),
6044 instance = new _class();
6046 for (var i =
0; ptr
&& i
< parts.length -
1; i++)
6047 ptr = ptr[parts[i]];
6050 ptr[parts[i]] = instance;
6052 classes[name] = instance;
6058 /* Request class file */
6059 classes[name] = Request.get(url, { cache: true }).then(compileClass);
6061 return classes[name];
6065 probeRPCBaseURL: function() {
6066 if (rpcBaseURL == null)
6067 rpcBaseURL = Session.getLocalData('rpcBaseURL');
6069 if (rpcBaseURL == null) {
6076 var rpcFallbackURL = this.url('admin/ubus');
6078 rpcBaseURL = Request.post(env.ubuspath, msg, { nobatch: true }).then(function(res) {
6079 return (rpcBaseURL = res.status ==
200 ? env.ubuspath : rpcFallbackURL);
6081 return (rpcBaseURL = rpcFallbackURL);
6082 }).then(function(url) {
6083 Session.setLocalData('rpcBaseURL', url);
6088 return Promise.resolve(rpcBaseURL);
6091 probeSystemFeatures: function() {
6092 if (sysFeatures == null)
6093 sysFeatures = Session.getLocalData('features');
6095 if (!this.isObject(sysFeatures)) {
6096 sysFeatures = classes.rpc.declare({
6098 method: 'getFeatures',
6100 })().then(function(features) {
6101 Session.setLocalData('features', features);
6102 sysFeatures = features;
6108 return Promise.resolve(sysFeatures);
6111 probePreloadClasses: function() {
6112 if (preloadClasses == null)
6113 preloadClasses = Session.getLocalData('preload');
6115 if (!Array.isArray(preloadClasses)) {
6116 preloadClasses = this.resolveDefault(classes.rpc.declare({
6120 expect: { 'entries': [] }
6121 })(this.fspath(this.resource('preload'))), []).then(function(entries) {
6124 for (var i =
0; i
< entries.length; i++) {
6125 if (entries[i].type != 'file')
6128 var m = entries[i].name.match(/(.+)\.js$/);
6131 classes.push('preload.%s'.format(m[
1]));
6134 Session.setLocalData('preload', classes);
6135 preloadClasses = classes;
6141 return Promise.resolve(preloadClasses);
6145 * Test whether a particular system feature is available, such as
6146 * hostapd SAE support or an installed firewall. The features are
6147 * queried once at the beginning of the LuCI session and cached in
6148 * `SessionStorage` throughout the lifetime of the associated tab or
6154 * @param {string} feature
6155 * The feature to test. For detailed list of known feature flags,
6156 * see `/modules/luci-base/root/usr/libexec/rpcd/luci`.
6158 * @param {string} [subfeature]
6159 * Some feature classes like `hostapd` provide sub-feature flags,
6160 * such as `sae` or `
11w` support. The `subfeature` argument can
6161 * be used to query these.
6163 * @return {boolean|null}
6164 * Return `true` if the queried feature (and sub-feature) is available
6165 * or `false` if the requested feature isn't present or known.
6166 * Return `null` when a sub-feature was queried for a feature which
6167 * has no sub-features.
6169 hasSystemFeature: function() {
6170 var ft = sysFeatures[arguments[
0]];
6172 if (arguments.length ==
2)
6173 return this.isObject(ft) ? ft[arguments[
1]] : null;
6175 return (ft != null
&& ft != false);
6179 notifySessionExpiry: function() {
6182 classes.ui.showModal(_('Session expired'), [
6183 E('div', { class: 'alert-message warning' },
6184 _('A new login is required since the authentication session expired.')),
6185 E('div', { class: 'right' },
6187 class: 'btn primary',
6189 var loc = window.location;
6190 window.location = loc.protocol + '//' + loc.host + loc.pathname + loc.search;
6195 LuCI.prototype.raise('SessionError', 'Login session is expired');
6199 setupDOM: function(res) {
6204 rpcBaseURL = res[
4];
6206 rpcClass.setBaseURL(rpcBaseURL);
6208 rpcClass.addInterceptor(function(msg, req) {
6209 if (!LuCI.prototype.isObject(msg) ||
6210 !LuCI.prototype.isObject(msg.error) ||
6211 msg.error.code != -
32002)
6214 if (!LuCI.prototype.isObject(req) ||
6215 (req.object == 'session'
&& req.method == 'access'))
6218 return rpcClass.declare({
6219 'object': 'session',
6221 'params': [ 'scope', 'object', 'function' ],
6222 'expect': { access: true }
6223 })('uci', 'luci', 'read').catch(LuCI.prototype.notifySessionExpiry);
6226 Request.addInterceptor(function(res) {
6227 var isDenied = false;
6229 if (res.status ==
403 && res.headers.get('X-LuCI-Login-Required') == 'yes')
6235 LuCI.prototype.notifySessionExpiry();
6238 document.addEventListener('poll-start', function(ev) {
6239 uiClass.showIndicator('poll-status', _('Refreshing'), function(ev) {
6240 Request.poll.active() ? Request.poll.stop() : Request.poll.start();
6244 document.addEventListener('poll-stop', function(ev) {
6245 uiClass.showIndicator('poll-status', _('Paused'), null, 'inactive');
6248 return Promise.all([
6249 this.probeSystemFeatures(),
6250 this.probePreloadClasses()
6251 ]).finally(LuCI.prototype.bind(function() {
6254 if (Array.isArray(preloadClasses))
6255 for (var i =
0; i
< preloadClasses.length; i++)
6256 tasks.push(this.require(preloadClasses[i]));
6258 return Promise.all(tasks);
6259 }, this)).finally(this.initDOM);
6263 initDOM: function() {
6266 document.dispatchEvent(new CustomEvent('luci-loaded'));
6270 * The `env` object holds environment settings used by LuCI, such
6271 * as request timeouts, base URLs etc.
6279 * Construct an absolute filesystem path relative to the server
6285 * @param {...string} [parts]
6286 * An array of parts to join into a path.
6289 * Return the joined path.
6291 fspath: function(/* ... */) {
6292 var path = env.documentroot;
6294 for (var i =
0; i
< arguments.length; i++)
6295 path += '/' + arguments[i];
6297 var p = path.replace(/\/+$/, '').replace(/\/+/g, '/').split(/\//),
6300 for (var i =
0; i
< p.length; i++)
6303 else if (p[i] != '.')
6306 return res.join('/');
6310 * Construct a relative URL path from the given prefix and parts.
6311 * The resulting URL is guaranteed to only contain the characters
6312 * `a-z`, `A-Z`, `
0-
9`, `_`, `.`, `%`, `,`, `;`, and `-` as well
6313 * as `/` for the path separator.
6318 * @param {string} [prefix]
6319 * The prefix to join the given parts with. If the `prefix` is
6320 * omitted, it defaults to an empty string.
6322 * @param {string[]} [parts]
6323 * An array of parts to join into a URL path. Parts may contain
6324 * slashes and any of the other characters mentioned above.
6327 * Return the joined URL path.
6329 path: function(prefix, parts) {
6330 var url = [ prefix || '' ];
6332 for (var i =
0; i
< parts.length; i++)
6333 if (/^(?:[a-zA-Z0-
9_.%,;-]+\/)*[a-zA-Z0-
9_.%,;-]+$/.test(parts[i]))
6334 url.push('/', parts[i]);
6336 if (url.length ===
1)
6339 return url.join('');
6343 * Construct a URL with path relative to the script path of the server
6344 * side LuCI application (usually `/cgi-bin/luci`).
6346 * The resulting URL is guaranteed to only contain the characters
6347 * `a-z`, `A-Z`, `
0-
9`, `_`, `.`, `%`, `,`, `;`, and `-` as well
6348 * as `/` for the path separator.
6353 * @param {string[]} [parts]
6354 * An array of parts to join into a URL path. Parts may contain
6355 * slashes and any of the other characters mentioned above.
6358 * Returns the resulting URL path.
6361 return this.path(env.scriptname, arguments);
6365 * Construct a URL path relative to the global static resource path
6366 * of the LuCI ui (usually `/luci-static/resources`).
6368 * The resulting URL is guaranteed to only contain the characters
6369 * `a-z`, `A-Z`, `
0-
9`, `_`, `.`, `%`, `,`, `;`, and `-` as well
6370 * as `/` for the path separator.
6375 * @param {string[]} [parts]
6376 * An array of parts to join into a URL path. Parts may contain
6377 * slashes and any of the other characters mentioned above.
6380 * Returns the resulting URL path.
6382 resource: function() {
6383 return this.path(env.resource, arguments);
6387 * Construct a URL path relative to the media resource path of the
6388 * LuCI ui (usually `/luci-static/$theme_name`).
6390 * The resulting URL is guaranteed to only contain the characters
6391 * `a-z`, `A-Z`, `
0-
9`, `_`, `.`, `%`, `,`, `;`, and `-` as well
6392 * as `/` for the path separator.
6397 * @param {string[]} [parts]
6398 * An array of parts to join into a URL path. Parts may contain
6399 * slashes and any of the other characters mentioned above.
6402 * Returns the resulting URL path.
6405 return this.path(env.media, arguments);
6409 * Return the complete URL path to the current view.
6415 * Returns the URL path to the current view.
6417 location: function() {
6418 return this.path(env.scriptname, env.requestpath);
6423 * Tests whether the passed argument is a JavaScript object.
6424 * This function is meant to be an object counterpart to the
6425 * standard `Array.isArray()` function.
6434 * Returns `true` if the given value is of type object and
6435 * not `null`, else returns `false`.
6437 isObject: function(val) {
6438 return (val != null
&& typeof(val) == 'object');
6442 * Return an array of sorted object keys, optionally sorted by
6443 * a different key or a different sorting mode.
6448 * @param {object} obj
6449 * The object to extract the keys from. If the given value is
6450 * not an object, the function will return an empty array.
6452 * @param {string|null} [key]
6453 * Specifies the key to order by. This is mainly useful for
6454 * nested objects of objects or objects of arrays when sorting
6455 * shall not be performed by the primary object keys but by
6456 * some other key pointing to a value within the nested values.
6458 * @param {
"addr"|
"num"} [sortmode]
6459 * Can be either `addr` or `num` to override the natural
6460 * lexicographic sorting with a sorting suitable for IP/MAC style
6461 * addresses or numeric values respectively.
6463 * @return {string[]}
6464 * Returns an array containing the sorted keys of the given object.
6466 sortedKeys: function(obj, key, sortmode) {
6467 if (obj == null || typeof(obj) != 'object')
6470 return Object.keys(obj).map(function(e) {
6471 var v = (key != null) ? obj[e][key] : e;
6475 v = (v != null) ? v.replace(/(?:^|[.:])([
0-
9a-fA-F]{
1,
4})/g,
6476 function(m0, m1) { return ('
000' + m1.toLowerCase()).substr(-
4) }) : null;
6480 v = (v != null) ? +v : null;
6485 }).filter(function(e) {
6486 return (e[
1] != null);
6487 }).sort(function(a, b) {
6488 return naturalCompare(a[
1], b[
1]);
6489 }).map(function(e) {
6495 * Compares two values numerically and returns -
1,
0 or
1 depending
6496 * on whether the first value is smaller, equal to or larger than the
6497 * second one respectively.
6499 * This function is meant to be used as comparator function for
6511 * Returns -
1 if the first value is smaller than the second one.
6512 * Returns
0 if both values are equal.
6513 * Returns
1 if the first value is larger than the second one.
6515 naturalCompare: naturalCompare,
6518 * Converts the given value to an array using toArray() if needed,
6519 * performs a numerical sort using naturalCompare() and returns the
6520 * result. If the input already is an array, no copy is being made
6521 * and the sorting is performed in-place.
6524 * @see naturalCompare
6527 * The input value to sort (and convert to an array if needed).
6529 * @return {Array
<*
>}
6530 * Returns the resulting, numerically sorted array.
6532 sortedArray: function(val) {
6533 return this.toArray(val).sort(naturalCompare);
6537 * Converts the given value to an array. If the given value is of
6538 * type array, it is returned as-is, values of type object are
6539 * returned as one-element array containing the object, empty
6540 * strings and `null` values are returned as empty array, all other
6541 * values are converted using `String()`, trimmed, split on white
6542 * space and returned as array.
6548 * The value to convert into an array.
6550 * @return {Array
<*
>}
6551 * Returns the resulting array.
6553 toArray: function(val) {
6556 else if (Array.isArray(val))
6558 else if (typeof(val) == 'object')
6561 var s = String(val).trim();
6566 return s.split(/\s+/);
6570 * Returns a promise resolving with either the given value or with
6571 * the given default in case the input value is a rejecting promise.
6577 * The value to resolve the promise with.
6579 * @param {*} defvalue
6580 * The default value to resolve the promise with in case the given
6581 * input value is a rejecting promise.
6583 * @returns {Promise
<*
>}
6584 * Returns a new promise resolving either to the given input value or
6585 * to the given default value on error.
6587 resolveDefault: function(value, defvalue) {
6588 return Promise.resolve(value).catch(function() { return defvalue });
6592 * The request callback function is invoked whenever an HTTP
6593 * reply to a request made using the `L.get()`, `L.post()` or
6594 * `L.poll()` function is timed out or received successfully.
6599 * @callback LuCI.requestCallbackFn
6600 * @param {XMLHTTPRequest} xhr
6601 * The XMLHTTPRequest instance used to make the request.
6604 * The response JSON if the response could be parsed as such,
6607 * @param {number} duration
6608 * The total duration of the request in milliseconds.
6612 * Issues a GET request to the given url and invokes the specified
6613 * callback function. The function is a wrapper around
6614 * {@link LuCI.request#request Request.request()}.
6620 * @param {string} url
6621 * The URL to request.
6623 * @param {Object
<string, string
>} [args]
6624 * Additional query string arguments to append to the URL.
6626 * @param {LuCI.requestCallbackFn} cb
6627 * The callback function to invoke when the request finishes.
6629 * @return {Promise
<null
>}
6630 * Returns a promise resolving to `null` when concluded.
6632 get: function(url, args, cb) {
6633 return this.poll(null, url, args, cb, false);
6637 * Issues a POST request to the given url and invokes the specified
6638 * callback function. The function is a wrapper around
6639 * {@link LuCI.request#request Request.request()}. The request is
6640 * sent using `application/x-www-form-urlencoded` encoding and will
6641 * contain a field `token` with the current value of `LuCI.env.token`
6648 * @param {string} url
6649 * The URL to request.
6651 * @param {Object
<string, string
>} [args]
6652 * Additional post arguments to append to the request body.
6654 * @param {LuCI.requestCallbackFn} cb
6655 * The callback function to invoke when the request finishes.
6657 * @return {Promise
<null
>}
6658 * Returns a promise resolving to `null` when concluded.
6660 post: function(url, args, cb) {
6661 return this.poll(null, url, args, cb, true);
6665 * Register a polling HTTP request that invokes the specified
6666 * callback function. The function is a wrapper around
6667 * {@link LuCI.request.poll#add Request.poll.add()}.
6673 * @param {number} interval
6674 * The poll interval to use. If set to a value less than or equal
6675 * to `
0`, it will default to the global poll interval configured
6676 * in `LuCI.env.pollinterval`.
6678 * @param {string} url
6679 * The URL to request.
6681 * @param {Object
<string, string
>} [args]
6682 * Specifies additional arguments for the request. For GET requests,
6683 * the arguments are appended to the URL as query string, for POST
6684 * requests, they'll be added to the request body.
6686 * @param {LuCI.requestCallbackFn} cb
6687 * The callback function to invoke whenever a request finishes.
6689 * @param {boolean} [post=false]
6690 * When set to `false` or not specified, poll requests will be made
6691 * using the GET method. When set to `true`, POST requests will be
6692 * issued. In case of POST requests, the request body will contain
6693 * an argument `token` with the current value of `LuCI.env.token` by
6694 * default, regardless of the parameters specified with `args`.
6696 * @return {function}
6697 * Returns the internally created function that has been passed to
6698 * {@link LuCI.request.poll#add Request.poll.add()}. This value can
6699 * be passed to {@link LuCI.poll.remove Poll.remove()} to remove the
6702 poll: function(interval, url, args, cb, post) {
6703 if (interval !== null
&& interval
<=
0)
6704 interval = env.pollinterval;
6706 var data = post ? { token: env.token } : null,
6707 method = post ? 'POST' : 'GET';
6709 if (!/^(?:\/|\S+:\/\/)/.test(url))
6710 url = this.url(url);
6713 data = Object.assign(data || {}, args);
6715 if (interval !== null)
6716 return Request.poll.add(interval, url, { method: method, query: data }, cb);
6718 return Request.request(url, { method: method, query: data })
6719 .then(function(res) {
6721 if (/^application\/json\b/.test(res.headers.get('Content-Type')))
6722 try { json = res.json() } catch(e) {}
6723 cb(res.xhr, json, res.duration);
6728 * Check whether a view has sufficient permissions.
6730 * @return {boolean|null}
6731 * Returns `null` if the current session has no permission at all to
6732 * load resources required by the view. Returns `false` if readonly
6733 * permissions are granted or `true` if at least one required ACL
6734 * group is granted with write permissions.
6736 hasViewPermission: function() {
6737 if (!this.isObject(env.nodespec) || !env.nodespec.satisfied)
6740 return !env.nodespec.readonly;
6744 * Deprecated wrapper around {@link LuCI.poll.remove Poll.remove()}.
6750 * @param {function} entry
6751 * The polling function to remove.
6754 * Returns `true` when the function has been removed or `false` if
6755 * it could not be found.
6757 stop: function(entry) { return Poll.remove(entry) },
6760 * Deprecated wrapper around {@link LuCI.poll.stop Poll.stop()}.
6767 * Returns `true` when the polling loop has been stopped or `false`
6768 * when it didn't run to begin with.
6770 halt: function() { return Poll.stop() },
6773 * Deprecated wrapper around {@link LuCI.poll.start Poll.start()}.
6780 * Returns `true` when the polling loop has been started or `false`
6781 * when it was already running.
6783 run: function() { return Poll.start() },
6786 * Legacy `L.dom` class alias. New view code should use `'require dom';`
6787 * to request the `LuCI.dom` class.
6796 * Legacy `L.view` class alias. New view code should use `'require view';`
6797 * to request the `LuCI.view` class.
6806 * Legacy `L.Poll` class alias. New view code should use `'require poll';`
6807 * to request the `LuCI.poll` class.
6816 * Legacy `L.Request` class alias. New view code should use `'require request';`
6817 * to request the `LuCI.request` class.
6826 * Legacy `L.Class` class alias. New view code should use `'require baseclass';`
6827 * to request the `LuCI.baseclass` class.
6842 * The `LuCI.xhr` class is a legacy compatibility shim for the
6843 * functionality formerly provided by `xhr.js`. It is registered as global
6844 * `window.XHR` symbol for compatibility with legacy code.
6846 * New code should use {@link LuCI.request} instead to implement HTTP
6849 var XHR = Class.extend(/** @lends LuCI.xhr.prototype */ {
6850 __name__: 'LuCI.xhr',
6851 __init__: function() {
6852 if (window.console
&& console.debug)
6853 console.debug('Direct use XHR() is deprecated, please use L.Request instead');
6856 _response: function(cb, res, json, duration) {
6858 cb(res, json, duration);
6863 * This function is a legacy wrapper around
6864 * {@link LuCI#get LuCI.get()}.
6868 * @memberof LuCI.xhr
6870 * @param {string} url
6871 * The URL to request
6873 * @param {Object} [data]
6874 * Additional query string data
6876 * @param {LuCI.requestCallbackFn} [callback]
6877 * Callback function to invoke on completion
6879 * @param {number} [timeout]
6880 * Request timeout to use
6882 * @return {Promise
<null
>}
6884 get: function(url, data, callback, timeout) {
6886 LuCI.prototype.get(url, data, this._response.bind(this, callback), timeout);
6890 * This function is a legacy wrapper around
6891 * {@link LuCI#post LuCI.post()}.
6895 * @memberof LuCI.xhr
6897 * @param {string} url
6898 * The URL to request
6900 * @param {Object} [data]
6901 * Additional data to append to the request body.
6903 * @param {LuCI.requestCallbackFn} [callback]
6904 * Callback function to invoke on completion
6906 * @param {number} [timeout]
6907 * Request timeout to use
6909 * @return {Promise
<null
>}
6911 post: function(url, data, callback, timeout) {
6913 LuCI.prototype.post(url, data, this._response.bind(this, callback), timeout);
6917 * Cancels a running request.
6919 * This function does not actually cancel the underlying
6920 * `XMLHTTPRequest` request but it sets a flag which prevents the
6921 * invocation of the callback function when the request eventually
6922 * finishes or timed out.
6926 * @memberof LuCI.xhr
6928 cancel: function() { delete this.active },
6931 * Checks the running state of the request.
6935 * @memberof LuCI.xhr
6937 * @returns {boolean}
6938 * Returns `true` if the request is still running or `false` if it
6939 * already completed.
6941 busy: function() { return (this.active === true) },
6944 * Ignored for backwards compatibility.
6946 * This function does nothing.
6950 * @memberof LuCI.xhr
6952 abort: function() {},
6955 * Existing for backwards compatibility.
6957 * This function simply throws an `InternalError` when invoked.
6961 * @memberof LuCI.xhr
6963 * @throws {InternalError}
6964 * Throws an `InternalError` with the message `Not implemented`
6967 send_form: function() { LuCI.prototype.error('InternalError', 'Not implemented') },
6970 XHR.get = function() { return LuCI.prototype.get.apply(LuCI.prototype, arguments) };
6971 XHR.post = function() { return LuCI.prototype.post.apply(LuCI.prototype, arguments) };
6972 XHR.poll = function() { return LuCI.prototype.poll.apply(LuCI.prototype, arguments) };
6973 XHR.stop = Request.poll.remove.bind(Request.poll);
6974 XHR.halt = Request.poll.stop.bind(Request.poll);
6975 XHR.run = Request.poll.start.bind(Request.poll);
6976 XHR.running = Request.poll.active.bind(Request.poll);
6980 })(window, document);
6993 Documentation generated by
<a href=
"https://github.com/jsdoc3/jsdoc">JSDoc
3.6.11</a> on Sun Mar
17 2024 07:
20:
27 GMT+
0000 (Coordinated Universal Time)
6997 <script>prettyPrint();
</script>
6998 <script src=
"scripts/jaguar.js"></script>