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#datatype"><a href=
"LuCI.form.FlagValue.html#datatype">datatype
</a></li>
824 <li data-name=
"LuCI.form.FlagValue#default"><a href=
"LuCI.form.FlagValue.html#default">default
</a></li>
826 <li data-name=
"LuCI.form.FlagValue#editable"><a href=
"LuCI.form.FlagValue.html#editable">editable
</a></li>
828 <li data-name=
"LuCI.form.FlagValue#modalonly"><a href=
"LuCI.form.FlagValue.html#modalonly">modalonly
</a></li>
830 <li data-name=
"LuCI.form.FlagValue#onchange"><a href=
"LuCI.form.FlagValue.html#onchange">onchange
</a></li>
832 <li data-name=
"LuCI.form.FlagValue#optional"><a href=
"LuCI.form.FlagValue.html#optional">optional
</a></li>
834 <li data-name=
"LuCI.form.FlagValue#password"><a href=
"LuCI.form.FlagValue.html#password">password
</a></li>
836 <li data-name=
"LuCI.form.FlagValue#placeholder"><a href=
"LuCI.form.FlagValue.html#placeholder">placeholder
</a></li>
838 <li data-name=
"LuCI.form.FlagValue#readonly"><a href=
"LuCI.form.FlagValue.html#readonly">readonly
</a></li>
840 <li data-name=
"LuCI.form.FlagValue#retain"><a href=
"LuCI.form.FlagValue.html#retain">retain
</a></li>
842 <li data-name=
"LuCI.form.FlagValue#rmempty"><a href=
"LuCI.form.FlagValue.html#rmempty">rmempty
</a></li>
844 <li data-name=
"LuCI.form.FlagValue#uciconfig"><a href=
"LuCI.form.FlagValue.html#uciconfig">uciconfig
</a></li>
846 <li data-name=
"LuCI.form.FlagValue#ucioption"><a href=
"LuCI.form.FlagValue.html#ucioption">ucioption
</a></li>
848 <li data-name=
"LuCI.form.FlagValue#ucisection"><a href=
"LuCI.form.FlagValue.html#ucisection">ucisection
</a></li>
850 <li data-name=
"LuCI.form.FlagValue#validate"><a href=
"LuCI.form.FlagValue.html#validate">validate
</a></li>
852 <li data-name=
"LuCI.form.FlagValue#width"><a href=
"LuCI.form.FlagValue.html#width">width
</a></li>
855 <ul class=
"typedefs itemMembers">
858 <ul class=
"typedefs itemMembers">
861 <ul class=
"methods itemMembers">
863 <span class=
"subtitle">Methods
</span>
865 <li data-name=
"LuCI.form.FlagValue#append"><a href=
"LuCI.form.FlagValue.html#append">append
</a></li>
867 <li data-name=
"LuCI.form.FlagValue#cbid"><a href=
"LuCI.form.FlagValue.html#cbid">cbid
</a></li>
869 <li data-name=
"LuCI.form.FlagValue#cfgvalue"><a href=
"LuCI.form.FlagValue.html#cfgvalue">cfgvalue
</a></li>
871 <li data-name=
"LuCI.form.FlagValue#depends"><a href=
"LuCI.form.FlagValue.html#depends">depends
</a></li>
873 <li data-name=
"LuCI.form.FlagValue#formvalue"><a href=
"LuCI.form.FlagValue.html#formvalue">formvalue
</a></li>
875 <li data-name=
"LuCI.form.FlagValue#getUIElement"><a href=
"LuCI.form.FlagValue.html#getUIElement">getUIElement
</a></li>
877 <li data-name=
"LuCI.form.FlagValue#getValidationError"><a href=
"LuCI.form.FlagValue.html#getValidationError">getValidationError
</a></li>
879 <li data-name=
"LuCI.form.FlagValue#isActive"><a href=
"LuCI.form.FlagValue.html#isActive">isActive
</a></li>
881 <li data-name=
"LuCI.form.FlagValue#isValid"><a href=
"LuCI.form.FlagValue.html#isValid">isValid
</a></li>
883 <li data-name=
"LuCI.form.FlagValue#load"><a href=
"LuCI.form.FlagValue.html#load">load
</a></li>
885 <li data-name=
"LuCI.form.FlagValue#parse"><a href=
"LuCI.form.FlagValue.html#parse">parse
</a></li>
887 <li data-name=
"LuCI.form.FlagValue#remove"><a href=
"LuCI.form.FlagValue.html#remove">remove
</a></li>
889 <li data-name=
"LuCI.form.FlagValue#stripTags"><a href=
"LuCI.form.FlagValue.html#stripTags">stripTags
</a></li>
891 <li data-name=
"LuCI.form.FlagValue#textvalue"><a href=
"LuCI.form.FlagValue.html#textvalue">textvalue
</a></li>
893 <li data-name=
"LuCI.form.FlagValue#titleFn"><a href=
"LuCI.form.FlagValue.html#titleFn">titleFn
</a></li>
895 <li data-name=
"LuCI.form.FlagValue#value"><a href=
"LuCI.form.FlagValue.html#value">value
</a></li>
897 <li data-name=
"LuCI.form.FlagValue#write"><a href=
"LuCI.form.FlagValue.html#write">write
</a></li>
900 <ul class=
"events itemMembers">
905 <li class=
"item" data-name=
"LuCI.form.GridSection">
907 <a href=
"LuCI.form.GridSection.html">LuCI.form.GridSection
</a>
910 <ul class=
"members itemMembers">
912 <span class=
"subtitle">Members
</span>
914 <li data-name=
"LuCI.form.GridSection#addbtntitle"><a href=
"LuCI.form.GridSection.html#addbtntitle">addbtntitle
</a></li>
916 <li data-name=
"LuCI.form.GridSection#addremove"><a href=
"LuCI.form.GridSection.html#addremove">addremove
</a></li>
918 <li data-name=
"LuCI.form.GridSection#anonymous"><a href=
"LuCI.form.GridSection.html#anonymous">anonymous
</a></li>
920 <li data-name=
"LuCI.form.GridSection#extedit"><a href=
"LuCI.form.GridSection.html#extedit">extedit
</a></li>
922 <li data-name=
"LuCI.form.GridSection#max_cols"><a href=
"LuCI.form.GridSection.html#max_cols">max_cols
</a></li>
924 <li data-name=
"LuCI.form.GridSection#modaltitle"><a href=
"LuCI.form.GridSection.html#modaltitle">modaltitle
</a></li>
926 <li data-name=
"LuCI.form.GridSection#nodescriptions"><a href=
"LuCI.form.GridSection.html#nodescriptions">nodescriptions
</a></li>
928 <li data-name=
"LuCI.form.GridSection#parentoption"><a href=
"LuCI.form.GridSection.html#parentoption">parentoption
</a></li>
930 <li data-name=
"LuCI.form.GridSection#rowcolors"><a href=
"LuCI.form.GridSection.html#rowcolors">rowcolors
</a></li>
932 <li data-name=
"LuCI.form.GridSection#sectiontitle"><a href=
"LuCI.form.GridSection.html#sectiontitle">sectiontitle
</a></li>
934 <li data-name=
"LuCI.form.GridSection#sortable"><a href=
"LuCI.form.GridSection.html#sortable">sortable
</a></li>
936 <li data-name=
"LuCI.form.GridSection#tabbed"><a href=
"LuCI.form.GridSection.html#tabbed">tabbed
</a></li>
938 <li data-name=
"LuCI.form.GridSection#tooltip"><a href=
"LuCI.form.GridSection.html#tooltip">tooltip
</a></li>
940 <li data-name=
"LuCI.form.GridSection#tooltipicon"><a href=
"LuCI.form.GridSection.html#tooltipicon">tooltipicon
</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##addbtntitle"><a href=
"LuCI.form.TableSection.html#addbtntitle">addbtntitle
</a></li>
1550 <li data-name=
"LuCI.form.TableSection##addremove"><a href=
"LuCI.form.TableSection.html#addremove">addremove
</a></li>
1552 <li data-name=
"LuCI.form.TableSection##anonymous"><a href=
"LuCI.form.TableSection.html#anonymous">anonymous
</a></li>
1554 <li data-name=
"LuCI.form.TableSection##extedit"><a href=
"LuCI.form.TableSection.html#extedit">extedit
</a></li>
1556 <li data-name=
"LuCI.form.TableSection##max_cols"><a href=
"LuCI.form.TableSection.html#max_cols">max_cols
</a></li>
1558 <li data-name=
"LuCI.form.TableSection##modaltitle"><a href=
"LuCI.form.TableSection.html#modaltitle">modaltitle
</a></li>
1560 <li data-name=
"LuCI.form.TableSection##nodescriptions"><a href=
"LuCI.form.TableSection.html#nodescriptions">nodescriptions
</a></li>
1562 <li data-name=
"LuCI.form.TableSection##rowcolors"><a href=
"LuCI.form.TableSection.html#rowcolors">rowcolors
</a></li>
1564 <li data-name=
"LuCI.form.TableSection##sectiontitle"><a href=
"LuCI.form.TableSection.html#sectiontitle">sectiontitle
</a></li>
1566 <li data-name=
"LuCI.form.TableSection##sortable"><a href=
"LuCI.form.TableSection.html#sortable">sortable
</a></li>
1568 <li data-name=
"LuCI.form.TableSection##uciconfig"><a href=
"LuCI.form.TableSection.html#uciconfig">uciconfig
</a></li>
1570 <li data-name=
"LuCI.form.TableSection#addbtntitle"><a href=
"LuCI.form.TableSection.html#addbtntitle">addbtntitle
</a></li>
1572 <li data-name=
"LuCI.form.TableSection#addremove"><a href=
"LuCI.form.TableSection.html#addremove">addremove
</a></li>
1574 <li data-name=
"LuCI.form.TableSection#anonymous"><a href=
"LuCI.form.TableSection.html#anonymous">anonymous
</a></li>
1576 <li data-name=
"LuCI.form.TableSection#parentoption"><a href=
"LuCI.form.TableSection.html#parentoption">parentoption
</a></li>
1578 <li data-name=
"LuCI.form.TableSection#tabbed"><a href=
"LuCI.form.TableSection.html#tabbed">tabbed
</a></li>
1580 <li data-name=
"LuCI.form.TableSection#tooltip"><a href=
"LuCI.form.TableSection.html#tooltip">tooltip
</a></li>
1582 <li data-name=
"LuCI.form.TableSection#tooltipicon"><a href=
"LuCI.form.TableSection.html#tooltipicon">tooltipicon
</a></li>
1584 <li data-name=
"LuCI.form.TableSection#uciconfig"><a href=
"LuCI.form.TableSection.html#uciconfig">uciconfig
</a></li>
1587 <ul class=
"typedefs itemMembers">
1590 <ul class=
"typedefs itemMembers">
1593 <ul class=
"methods itemMembers">
1595 <span class=
"subtitle">Methods
</span>
1597 <li data-name=
"LuCI.form.TableSection#addModalOptions"><a href=
"LuCI.form.TableSection.html#addModalOptions">addModalOptions
</a></li>
1599 <li data-name=
"LuCI.form.TableSection#append"><a href=
"LuCI.form.TableSection.html#append">append
</a></li>
1601 <li data-name=
"LuCI.form.TableSection#cfgvalue"><a href=
"LuCI.form.TableSection.html#cfgvalue">cfgvalue
</a></li>
1603 <li data-name=
"LuCI.form.TableSection#filter"><a href=
"LuCI.form.TableSection.html#filter">filter
</a></li>
1605 <li data-name=
"LuCI.form.TableSection#formvalue"><a href=
"LuCI.form.TableSection.html#formvalue">formvalue
</a></li>
1607 <li data-name=
"LuCI.form.TableSection#getOption"><a href=
"LuCI.form.TableSection.html#getOption">getOption
</a></li>
1609 <li data-name=
"LuCI.form.TableSection#getUIElement"><a href=
"LuCI.form.TableSection.html#getUIElement">getUIElement
</a></li>
1611 <li data-name=
"LuCI.form.TableSection#load"><a href=
"LuCI.form.TableSection.html#load">load
</a></li>
1613 <li data-name=
"LuCI.form.TableSection#option"><a href=
"LuCI.form.TableSection.html#option">option
</a></li>
1615 <li data-name=
"LuCI.form.TableSection#parse"><a href=
"LuCI.form.TableSection.html#parse">parse
</a></li>
1617 <li data-name=
"LuCI.form.TableSection#stripTags"><a href=
"LuCI.form.TableSection.html#stripTags">stripTags
</a></li>
1619 <li data-name=
"LuCI.form.TableSection#tab"><a href=
"LuCI.form.TableSection.html#tab">tab
</a></li>
1621 <li data-name=
"LuCI.form.TableSection#taboption"><a href=
"LuCI.form.TableSection.html#taboption">taboption
</a></li>
1623 <li data-name=
"LuCI.form.TableSection#titleFn"><a href=
"LuCI.form.TableSection.html#titleFn">titleFn
</a></li>
1626 <ul class=
"events itemMembers">
1631 <li class=
"item" data-name=
"LuCI.form.TextValue">
1632 <span class=
"title">
1633 <a href=
"LuCI.form.TextValue.html">LuCI.form.TextValue
</a>
1636 <ul class=
"members itemMembers">
1638 <span class=
"subtitle">Members
</span>
1640 <li data-name=
"LuCI.form.TextValue##cols"><a href=
"LuCI.form.TextValue.html#cols">cols
</a></li>
1642 <li data-name=
"LuCI.form.TextValue##monospace"><a href=
"LuCI.form.TextValue.html#monospace">monospace
</a></li>
1644 <li data-name=
"LuCI.form.TextValue##rows"><a href=
"LuCI.form.TextValue.html#rows">rows
</a></li>
1646 <li data-name=
"LuCI.form.TextValue##wrap"><a href=
"LuCI.form.TextValue.html#wrap">wrap
</a></li>
1648 <li data-name=
"LuCI.form.TextValue#datatype"><a href=
"LuCI.form.TextValue.html#datatype">datatype
</a></li>
1650 <li data-name=
"LuCI.form.TextValue#default"><a href=
"LuCI.form.TextValue.html#default">default
</a></li>
1652 <li data-name=
"LuCI.form.TextValue#editable"><a href=
"LuCI.form.TextValue.html#editable">editable
</a></li>
1654 <li data-name=
"LuCI.form.TextValue#modalonly"><a href=
"LuCI.form.TextValue.html#modalonly">modalonly
</a></li>
1656 <li data-name=
"LuCI.form.TextValue#onchange"><a href=
"LuCI.form.TextValue.html#onchange">onchange
</a></li>
1658 <li data-name=
"LuCI.form.TextValue#optional"><a href=
"LuCI.form.TextValue.html#optional">optional
</a></li>
1660 <li data-name=
"LuCI.form.TextValue#password"><a href=
"LuCI.form.TextValue.html#password">password
</a></li>
1662 <li data-name=
"LuCI.form.TextValue#placeholder"><a href=
"LuCI.form.TextValue.html#placeholder">placeholder
</a></li>
1664 <li data-name=
"LuCI.form.TextValue#readonly"><a href=
"LuCI.form.TextValue.html#readonly">readonly
</a></li>
1666 <li data-name=
"LuCI.form.TextValue#retain"><a href=
"LuCI.form.TextValue.html#retain">retain
</a></li>
1668 <li data-name=
"LuCI.form.TextValue#rmempty"><a href=
"LuCI.form.TextValue.html#rmempty">rmempty
</a></li>
1670 <li data-name=
"LuCI.form.TextValue#uciconfig"><a href=
"LuCI.form.TextValue.html#uciconfig">uciconfig
</a></li>
1672 <li data-name=
"LuCI.form.TextValue#ucioption"><a href=
"LuCI.form.TextValue.html#ucioption">ucioption
</a></li>
1674 <li data-name=
"LuCI.form.TextValue#ucisection"><a href=
"LuCI.form.TextValue.html#ucisection">ucisection
</a></li>
1676 <li data-name=
"LuCI.form.TextValue#validate"><a href=
"LuCI.form.TextValue.html#validate">validate
</a></li>
1678 <li data-name=
"LuCI.form.TextValue#width"><a href=
"LuCI.form.TextValue.html#width">width
</a></li>
1681 <ul class=
"typedefs itemMembers">
1684 <ul class=
"typedefs itemMembers">
1687 <ul class=
"methods itemMembers">
1689 <span class=
"subtitle">Methods
</span>
1691 <li data-name=
"LuCI.form.TextValue#append"><a href=
"LuCI.form.TextValue.html#append">append
</a></li>
1693 <li data-name=
"LuCI.form.TextValue#cbid"><a href=
"LuCI.form.TextValue.html#cbid">cbid
</a></li>
1695 <li data-name=
"LuCI.form.TextValue#cfgvalue"><a href=
"LuCI.form.TextValue.html#cfgvalue">cfgvalue
</a></li>
1697 <li data-name=
"LuCI.form.TextValue#depends"><a href=
"LuCI.form.TextValue.html#depends">depends
</a></li>
1699 <li data-name=
"LuCI.form.TextValue#formvalue"><a href=
"LuCI.form.TextValue.html#formvalue">formvalue
</a></li>
1701 <li data-name=
"LuCI.form.TextValue#getUIElement"><a href=
"LuCI.form.TextValue.html#getUIElement">getUIElement
</a></li>
1703 <li data-name=
"LuCI.form.TextValue#getValidationError"><a href=
"LuCI.form.TextValue.html#getValidationError">getValidationError
</a></li>
1705 <li data-name=
"LuCI.form.TextValue#isActive"><a href=
"LuCI.form.TextValue.html#isActive">isActive
</a></li>
1707 <li data-name=
"LuCI.form.TextValue#isValid"><a href=
"LuCI.form.TextValue.html#isValid">isValid
</a></li>
1709 <li data-name=
"LuCI.form.TextValue#load"><a href=
"LuCI.form.TextValue.html#load">load
</a></li>
1711 <li data-name=
"LuCI.form.TextValue#parse"><a href=
"LuCI.form.TextValue.html#parse">parse
</a></li>
1713 <li data-name=
"LuCI.form.TextValue#remove"><a href=
"LuCI.form.TextValue.html#remove">remove
</a></li>
1715 <li data-name=
"LuCI.form.TextValue#stripTags"><a href=
"LuCI.form.TextValue.html#stripTags">stripTags
</a></li>
1717 <li data-name=
"LuCI.form.TextValue#textvalue"><a href=
"LuCI.form.TextValue.html#textvalue">textvalue
</a></li>
1719 <li data-name=
"LuCI.form.TextValue#titleFn"><a href=
"LuCI.form.TextValue.html#titleFn">titleFn
</a></li>
1721 <li data-name=
"LuCI.form.TextValue#write"><a href=
"LuCI.form.TextValue.html#write">write
</a></li>
1724 <ul class=
"events itemMembers">
1729 <li class=
"item" data-name=
"LuCI.form.TypedSection">
1730 <span class=
"title">
1731 <a href=
"LuCI.form.TypedSection.html">LuCI.form.TypedSection
</a>
1734 <ul class=
"members itemMembers">
1736 <span class=
"subtitle">Members
</span>
1738 <li data-name=
"LuCI.form.TypedSection##addbtntitle"><a href=
"LuCI.form.TypedSection.html#addbtntitle">addbtntitle
</a></li>
1740 <li data-name=
"LuCI.form.TypedSection##addremove"><a href=
"LuCI.form.TypedSection.html#addremove">addremove
</a></li>
1742 <li data-name=
"LuCI.form.TypedSection##anonymous"><a href=
"LuCI.form.TypedSection.html#anonymous">anonymous
</a></li>
1744 <li data-name=
"LuCI.form.TypedSection##tabbed"><a href=
"LuCI.form.TypedSection.html#tabbed">tabbed
</a></li>
1746 <li data-name=
"LuCI.form.TypedSection##tooltip"><a href=
"LuCI.form.TypedSection.html#tooltip">tooltip
</a></li>
1748 <li data-name=
"LuCI.form.TypedSection##tooltipicon"><a href=
"LuCI.form.TypedSection.html#tooltipicon">tooltipicon
</a></li>
1750 <li data-name=
"LuCI.form.TypedSection##uciconfig"><a href=
"LuCI.form.TypedSection.html#uciconfig">uciconfig
</a></li>
1752 <li data-name=
"LuCI.form.TypedSection#parentoption"><a href=
"LuCI.form.TypedSection.html#parentoption">parentoption
</a></li>
1755 <ul class=
"typedefs itemMembers">
1758 <ul class=
"typedefs itemMembers">
1761 <ul class=
"methods itemMembers">
1763 <span class=
"subtitle">Methods
</span>
1765 <li data-name=
"LuCI.form.TypedSection#append"><a href=
"LuCI.form.TypedSection.html#append">append
</a></li>
1767 <li data-name=
"LuCI.form.TypedSection#cfgsections"><a href=
"LuCI.form.TypedSection.html#cfgsections">cfgsections
</a></li>
1769 <li data-name=
"LuCI.form.TypedSection#cfgvalue"><a href=
"LuCI.form.TypedSection.html#cfgvalue">cfgvalue
</a></li>
1771 <li data-name=
"LuCI.form.TypedSection#filter"><a href=
"LuCI.form.TypedSection.html#filter">filter
</a></li>
1773 <li data-name=
"LuCI.form.TypedSection#formvalue"><a href=
"LuCI.form.TypedSection.html#formvalue">formvalue
</a></li>
1775 <li data-name=
"LuCI.form.TypedSection#getOption"><a href=
"LuCI.form.TypedSection.html#getOption">getOption
</a></li>
1777 <li data-name=
"LuCI.form.TypedSection#getUIElement"><a href=
"LuCI.form.TypedSection.html#getUIElement">getUIElement
</a></li>
1779 <li data-name=
"LuCI.form.TypedSection#load"><a href=
"LuCI.form.TypedSection.html#load">load
</a></li>
1781 <li data-name=
"LuCI.form.TypedSection#option"><a href=
"LuCI.form.TypedSection.html#option">option
</a></li>
1783 <li data-name=
"LuCI.form.TypedSection#parse"><a href=
"LuCI.form.TypedSection.html#parse">parse
</a></li>
1785 <li data-name=
"LuCI.form.TypedSection#render"><a href=
"LuCI.form.TypedSection.html#render">render
</a></li>
1787 <li data-name=
"LuCI.form.TypedSection#stripTags"><a href=
"LuCI.form.TypedSection.html#stripTags">stripTags
</a></li>
1789 <li data-name=
"LuCI.form.TypedSection#tab"><a href=
"LuCI.form.TypedSection.html#tab">tab
</a></li>
1791 <li data-name=
"LuCI.form.TypedSection#taboption"><a href=
"LuCI.form.TypedSection.html#taboption">taboption
</a></li>
1793 <li data-name=
"LuCI.form.TypedSection#titleFn"><a href=
"LuCI.form.TypedSection.html#titleFn">titleFn
</a></li>
1796 <ul class=
"events itemMembers">
1801 <li class=
"item" data-name=
"LuCI.form.Value">
1802 <span class=
"title">
1803 <a href=
"LuCI.form.Value.html">LuCI.form.Value
</a>
1806 <ul class=
"members itemMembers">
1808 <span class=
"subtitle">Members
</span>
1810 <li data-name=
"LuCI.form.Value##password"><a href=
"LuCI.form.Value.html#password">password
</a></li>
1812 <li data-name=
"LuCI.form.Value##placeholder"><a href=
"LuCI.form.Value.html#placeholder">placeholder
</a></li>
1814 <li data-name=
"LuCI.form.Value#datatype"><a href=
"LuCI.form.Value.html#datatype">datatype
</a></li>
1816 <li data-name=
"LuCI.form.Value#default"><a href=
"LuCI.form.Value.html#default">default
</a></li>
1818 <li data-name=
"LuCI.form.Value#editable"><a href=
"LuCI.form.Value.html#editable">editable
</a></li>
1820 <li data-name=
"LuCI.form.Value#modalonly"><a href=
"LuCI.form.Value.html#modalonly">modalonly
</a></li>
1822 <li data-name=
"LuCI.form.Value#onchange"><a href=
"LuCI.form.Value.html#onchange">onchange
</a></li>
1824 <li data-name=
"LuCI.form.Value#optional"><a href=
"LuCI.form.Value.html#optional">optional
</a></li>
1826 <li data-name=
"LuCI.form.Value#readonly"><a href=
"LuCI.form.Value.html#readonly">readonly
</a></li>
1828 <li data-name=
"LuCI.form.Value#retain"><a href=
"LuCI.form.Value.html#retain">retain
</a></li>
1830 <li data-name=
"LuCI.form.Value#rmempty"><a href=
"LuCI.form.Value.html#rmempty">rmempty
</a></li>
1832 <li data-name=
"LuCI.form.Value#uciconfig"><a href=
"LuCI.form.Value.html#uciconfig">uciconfig
</a></li>
1834 <li data-name=
"LuCI.form.Value#ucioption"><a href=
"LuCI.form.Value.html#ucioption">ucioption
</a></li>
1836 <li data-name=
"LuCI.form.Value#ucisection"><a href=
"LuCI.form.Value.html#ucisection">ucisection
</a></li>
1838 <li data-name=
"LuCI.form.Value#validate"><a href=
"LuCI.form.Value.html#validate">validate
</a></li>
1840 <li data-name=
"LuCI.form.Value#width"><a href=
"LuCI.form.Value.html#width">width
</a></li>
1843 <ul class=
"typedefs itemMembers">
1846 <ul class=
"typedefs itemMembers">
1849 <ul class=
"methods itemMembers">
1851 <span class=
"subtitle">Methods
</span>
1853 <li data-name=
"LuCI.form.Value#append"><a href=
"LuCI.form.Value.html#append">append
</a></li>
1855 <li data-name=
"LuCI.form.Value#cbid"><a href=
"LuCI.form.Value.html#cbid">cbid
</a></li>
1857 <li data-name=
"LuCI.form.Value#cfgvalue"><a href=
"LuCI.form.Value.html#cfgvalue">cfgvalue
</a></li>
1859 <li data-name=
"LuCI.form.Value#depends"><a href=
"LuCI.form.Value.html#depends">depends
</a></li>
1861 <li data-name=
"LuCI.form.Value#formvalue"><a href=
"LuCI.form.Value.html#formvalue">formvalue
</a></li>
1863 <li data-name=
"LuCI.form.Value#getUIElement"><a href=
"LuCI.form.Value.html#getUIElement">getUIElement
</a></li>
1865 <li data-name=
"LuCI.form.Value#getValidationError"><a href=
"LuCI.form.Value.html#getValidationError">getValidationError
</a></li>
1867 <li data-name=
"LuCI.form.Value#isActive"><a href=
"LuCI.form.Value.html#isActive">isActive
</a></li>
1869 <li data-name=
"LuCI.form.Value#isValid"><a href=
"LuCI.form.Value.html#isValid">isValid
</a></li>
1871 <li data-name=
"LuCI.form.Value#load"><a href=
"LuCI.form.Value.html#load">load
</a></li>
1873 <li data-name=
"LuCI.form.Value#parse"><a href=
"LuCI.form.Value.html#parse">parse
</a></li>
1875 <li data-name=
"LuCI.form.Value#remove"><a href=
"LuCI.form.Value.html#remove">remove
</a></li>
1877 <li data-name=
"LuCI.form.Value#render"><a href=
"LuCI.form.Value.html#render">render
</a></li>
1879 <li data-name=
"LuCI.form.Value#stripTags"><a href=
"LuCI.form.Value.html#stripTags">stripTags
</a></li>
1881 <li data-name=
"LuCI.form.Value#textvalue"><a href=
"LuCI.form.Value.html#textvalue">textvalue
</a></li>
1883 <li data-name=
"LuCI.form.Value#titleFn"><a href=
"LuCI.form.Value.html#titleFn">titleFn
</a></li>
1885 <li data-name=
"LuCI.form.Value#value"><a href=
"LuCI.form.Value.html#value">value
</a></li>
1887 <li data-name=
"LuCI.form.Value#write"><a href=
"LuCI.form.Value.html#write">write
</a></li>
1890 <ul class=
"events itemMembers">
1895 <li class=
"item" data-name=
"LuCI.fs">
1896 <span class=
"title">
1897 <a href=
"LuCI.fs.html">LuCI.fs
</a>
1900 <ul class=
"members itemMembers">
1903 <ul class=
"typedefs itemMembers">
1905 <span class=
"subtitle">Typedefs
</span>
1907 <li data-name=
"LuCI.fs.FileExecResult"><a href=
"LuCI.fs.html#.FileExecResult">FileExecResult
</a></li>
1909 <li data-name=
"LuCI.fs.FileStatEntry"><a href=
"LuCI.fs.html#.FileStatEntry">FileStatEntry
</a></li>
1912 <ul class=
"typedefs itemMembers">
1915 <ul class=
"methods itemMembers">
1917 <span class=
"subtitle">Methods
</span>
1919 <li data-name=
"LuCI.fs#exec"><a href=
"LuCI.fs.html#exec">exec
</a></li>
1921 <li data-name=
"LuCI.fs#exec_direct"><a href=
"LuCI.fs.html#exec_direct">exec_direct
</a></li>
1923 <li data-name=
"LuCI.fs#lines"><a href=
"LuCI.fs.html#lines">lines
</a></li>
1925 <li data-name=
"LuCI.fs#list"><a href=
"LuCI.fs.html#list">list
</a></li>
1927 <li data-name=
"LuCI.fs#read"><a href=
"LuCI.fs.html#read">read
</a></li>
1929 <li data-name=
"LuCI.fs#read_direct"><a href=
"LuCI.fs.html#read_direct">read_direct
</a></li>
1931 <li data-name=
"LuCI.fs#remove"><a href=
"LuCI.fs.html#remove">remove
</a></li>
1933 <li data-name=
"LuCI.fs#stat"><a href=
"LuCI.fs.html#stat">stat
</a></li>
1935 <li data-name=
"LuCI.fs#trimmed"><a href=
"LuCI.fs.html#trimmed">trimmed
</a></li>
1937 <li data-name=
"LuCI.fs#write"><a href=
"LuCI.fs.html#write">write
</a></li>
1940 <ul class=
"events itemMembers">
1945 <li class=
"item" data-name=
"LuCI.headers">
1946 <span class=
"title">
1947 <a href=
"LuCI.headers.html">LuCI.headers
</a>
1950 <ul class=
"members itemMembers">
1953 <ul class=
"typedefs itemMembers">
1956 <ul class=
"typedefs itemMembers">
1959 <ul class=
"methods itemMembers">
1961 <span class=
"subtitle">Methods
</span>
1963 <li data-name=
"LuCI.headers#get"><a href=
"LuCI.headers.html#get">get
</a></li>
1965 <li data-name=
"LuCI.headers#has"><a href=
"LuCI.headers.html#has">has
</a></li>
1968 <ul class=
"events itemMembers">
1973 <li class=
"item" data-name=
"LuCI.network">
1974 <span class=
"title">
1975 <a href=
"LuCI.network.html">LuCI.network
</a>
1978 <ul class=
"members itemMembers">
1981 <ul class=
"typedefs itemMembers">
1983 <span class=
"subtitle">Typedefs
</span>
1985 <li data-name=
"LuCI.network.SwitchTopology"><a href=
"LuCI.network.html#.SwitchTopology">SwitchTopology
</a></li>
1987 <li data-name=
"LuCI.network.WifiEncryption"><a href=
"LuCI.network.html#.WifiEncryption">WifiEncryption
</a></li>
1989 <li data-name=
"LuCI.network.WifiPeerEntry"><a href=
"LuCI.network.html#.WifiPeerEntry">WifiPeerEntry
</a></li>
1991 <li data-name=
"LuCI.network.WifiRateEntry"><a href=
"LuCI.network.html#.WifiRateEntry">WifiRateEntry
</a></li>
1993 <li data-name=
"LuCI.network.WifiScanResult"><a href=
"LuCI.network.html#.WifiScanResult">WifiScanResult
</a></li>
1996 <ul class=
"typedefs itemMembers">
1999 <ul class=
"methods itemMembers">
2001 <span class=
"subtitle">Methods
</span>
2003 <li data-name=
"LuCI.network#addNetwork"><a href=
"LuCI.network.html#addNetwork">addNetwork
</a></li>
2005 <li data-name=
"LuCI.network#addWifiNetwork"><a href=
"LuCI.network.html#addWifiNetwork">addWifiNetwork
</a></li>
2007 <li data-name=
"LuCI.network#deleteNetwork"><a href=
"LuCI.network.html#deleteNetwork">deleteNetwork
</a></li>
2009 <li data-name=
"LuCI.network#deleteWifiNetwork"><a href=
"LuCI.network.html#deleteWifiNetwork">deleteWifiNetwork
</a></li>
2011 <li data-name=
"LuCI.network#flushCache"><a href=
"LuCI.network.html#flushCache">flushCache
</a></li>
2013 <li data-name=
"LuCI.network#formatWifiEncryption"><a href=
"LuCI.network.html#formatWifiEncryption">formatWifiEncryption
</a></li>
2015 <li data-name=
"LuCI.network#getDevice"><a href=
"LuCI.network.html#getDevice">getDevice
</a></li>
2017 <li data-name=
"LuCI.network#getDevices"><a href=
"LuCI.network.html#getDevices">getDevices
</a></li>
2019 <li data-name=
"LuCI.network#getDSLModemType"><a href=
"LuCI.network.html#getDSLModemType">getDSLModemType
</a></li>
2021 <li data-name=
"LuCI.network#getHostHints"><a href=
"LuCI.network.html#getHostHints">getHostHints
</a></li>
2023 <li data-name=
"LuCI.network#getIfnameOf"><a href=
"LuCI.network.html#getIfnameOf">getIfnameOf
</a></li>
2025 <li data-name=
"LuCI.network#getNetwork"><a href=
"LuCI.network.html#getNetwork">getNetwork
</a></li>
2027 <li data-name=
"LuCI.network#getNetworks"><a href=
"LuCI.network.html#getNetworks">getNetworks
</a></li>
2029 <li data-name=
"LuCI.network#getProtocol"><a href=
"LuCI.network.html#getProtocol">getProtocol
</a></li>
2031 <li data-name=
"LuCI.network#getProtocols"><a href=
"LuCI.network.html#getProtocols">getProtocols
</a></li>
2033 <li data-name=
"LuCI.network#getSwitchTopologies"><a href=
"LuCI.network.html#getSwitchTopologies">getSwitchTopologies
</a></li>
2035 <li data-name=
"LuCI.network#getWAN6Networks"><a href=
"LuCI.network.html#getWAN6Networks">getWAN6Networks
</a></li>
2037 <li data-name=
"LuCI.network#getWANNetworks"><a href=
"LuCI.network.html#getWANNetworks">getWANNetworks
</a></li>
2039 <li data-name=
"LuCI.network#getWifiDevice"><a href=
"LuCI.network.html#getWifiDevice">getWifiDevice
</a></li>
2041 <li data-name=
"LuCI.network#getWifiDevices"><a href=
"LuCI.network.html#getWifiDevices">getWifiDevices
</a></li>
2043 <li data-name=
"LuCI.network#getWifiNetwork"><a href=
"LuCI.network.html#getWifiNetwork">getWifiNetwork
</a></li>
2045 <li data-name=
"LuCI.network#getWifiNetworks"><a href=
"LuCI.network.html#getWifiNetworks">getWifiNetworks
</a></li>
2047 <li data-name=
"LuCI.network#isIgnoredDevice"><a href=
"LuCI.network.html#isIgnoredDevice">isIgnoredDevice
</a></li>
2049 <li data-name=
"LuCI.network#maskToPrefix"><a href=
"LuCI.network.html#maskToPrefix">maskToPrefix
</a></li>
2051 <li data-name=
"LuCI.network#prefixToMask"><a href=
"LuCI.network.html#prefixToMask">prefixToMask
</a></li>
2053 <li data-name=
"LuCI.network#registerErrorCode"><a href=
"LuCI.network.html#registerErrorCode">registerErrorCode
</a></li>
2055 <li data-name=
"LuCI.network#registerPatternVirtual"><a href=
"LuCI.network.html#registerPatternVirtual">registerPatternVirtual
</a></li>
2057 <li data-name=
"LuCI.network#registerProtocol"><a href=
"LuCI.network.html#registerProtocol">registerProtocol
</a></li>
2059 <li data-name=
"LuCI.network#renameNetwork"><a href=
"LuCI.network.html#renameNetwork">renameNetwork
</a></li>
2062 <ul class=
"events itemMembers">
2067 <li class=
"item" data-name=
"LuCI.network.Device">
2068 <span class=
"title">
2069 <a href=
"LuCI.network.Device.html">LuCI.network.Device
</a>
2072 <ul class=
"members itemMembers">
2075 <ul class=
"typedefs itemMembers">
2078 <ul class=
"typedefs itemMembers">
2081 <ul class=
"methods itemMembers">
2083 <span class=
"subtitle">Methods
</span>
2085 <li data-name=
"LuCI.network.Device#getBridgeID"><a href=
"LuCI.network.Device.html#getBridgeID">getBridgeID
</a></li>
2087 <li data-name=
"LuCI.network.Device#getBridgeSTP"><a href=
"LuCI.network.Device.html#getBridgeSTP">getBridgeSTP
</a></li>
2089 <li data-name=
"LuCI.network.Device#getCarrier"><a href=
"LuCI.network.Device.html#getCarrier">getCarrier
</a></li>
2091 <li data-name=
"LuCI.network.Device#getDuplex"><a href=
"LuCI.network.Device.html#getDuplex">getDuplex
</a></li>
2093 <li data-name=
"LuCI.network.Device#getI18n"><a href=
"LuCI.network.Device.html#getI18n">getI18n
</a></li>
2095 <li data-name=
"LuCI.network.Device#getIP6Addrs"><a href=
"LuCI.network.Device.html#getIP6Addrs">getIP6Addrs
</a></li>
2097 <li data-name=
"LuCI.network.Device#getIPAddrs"><a href=
"LuCI.network.Device.html#getIPAddrs">getIPAddrs
</a></li>
2099 <li data-name=
"LuCI.network.Device#getMAC"><a href=
"LuCI.network.Device.html#getMAC">getMAC
</a></li>
2101 <li data-name=
"LuCI.network.Device#getMTU"><a href=
"LuCI.network.Device.html#getMTU">getMTU
</a></li>
2103 <li data-name=
"LuCI.network.Device#getName"><a href=
"LuCI.network.Device.html#getName">getName
</a></li>
2105 <li data-name=
"LuCI.network.Device#getNetwork"><a href=
"LuCI.network.Device.html#getNetwork">getNetwork
</a></li>
2107 <li data-name=
"LuCI.network.Device#getNetworks"><a href=
"LuCI.network.Device.html#getNetworks">getNetworks
</a></li>
2109 <li data-name=
"LuCI.network.Device#getParent"><a href=
"LuCI.network.Device.html#getParent">getParent
</a></li>
2111 <li data-name=
"LuCI.network.Device#getPorts"><a href=
"LuCI.network.Device.html#getPorts">getPorts
</a></li>
2113 <li data-name=
"LuCI.network.Device#getRXBytes"><a href=
"LuCI.network.Device.html#getRXBytes">getRXBytes
</a></li>
2115 <li data-name=
"LuCI.network.Device#getRXPackets"><a href=
"LuCI.network.Device.html#getRXPackets">getRXPackets
</a></li>
2117 <li data-name=
"LuCI.network.Device#getShortName"><a href=
"LuCI.network.Device.html#getShortName">getShortName
</a></li>
2119 <li data-name=
"LuCI.network.Device#getSpeed"><a href=
"LuCI.network.Device.html#getSpeed">getSpeed
</a></li>
2121 <li data-name=
"LuCI.network.Device#getTXBytes"><a href=
"LuCI.network.Device.html#getTXBytes">getTXBytes
</a></li>
2123 <li data-name=
"LuCI.network.Device#getTXPackets"><a href=
"LuCI.network.Device.html#getTXPackets">getTXPackets
</a></li>
2125 <li data-name=
"LuCI.network.Device#getType"><a href=
"LuCI.network.Device.html#getType">getType
</a></li>
2127 <li data-name=
"LuCI.network.Device#getTypeI18n"><a href=
"LuCI.network.Device.html#getTypeI18n">getTypeI18n
</a></li>
2129 <li data-name=
"LuCI.network.Device#getWifiNetwork"><a href=
"LuCI.network.Device.html#getWifiNetwork">getWifiNetwork
</a></li>
2131 <li data-name=
"LuCI.network.Device#isBridge"><a href=
"LuCI.network.Device.html#isBridge">isBridge
</a></li>
2133 <li data-name=
"LuCI.network.Device#isBridgePort"><a href=
"LuCI.network.Device.html#isBridgePort">isBridgePort
</a></li>
2135 <li data-name=
"LuCI.network.Device#isUp"><a href=
"LuCI.network.Device.html#isUp">isUp
</a></li>
2138 <ul class=
"events itemMembers">
2143 <li class=
"item" data-name=
"LuCI.network.Hosts">
2144 <span class=
"title">
2145 <a href=
"LuCI.network.Hosts.html">LuCI.network.Hosts
</a>
2148 <ul class=
"members itemMembers">
2151 <ul class=
"typedefs itemMembers">
2154 <ul class=
"typedefs itemMembers">
2157 <ul class=
"methods itemMembers">
2159 <span class=
"subtitle">Methods
</span>
2161 <li data-name=
"LuCI.network.Hosts#getHostnameByIP6Addr"><a href=
"LuCI.network.Hosts.html#getHostnameByIP6Addr">getHostnameByIP6Addr
</a></li>
2163 <li data-name=
"LuCI.network.Hosts#getHostnameByIPAddr"><a href=
"LuCI.network.Hosts.html#getHostnameByIPAddr">getHostnameByIPAddr
</a></li>
2165 <li data-name=
"LuCI.network.Hosts#getHostnameByMACAddr"><a href=
"LuCI.network.Hosts.html#getHostnameByMACAddr">getHostnameByMACAddr
</a></li>
2167 <li data-name=
"LuCI.network.Hosts#getIP6AddrByMACAddr"><a href=
"LuCI.network.Hosts.html#getIP6AddrByMACAddr">getIP6AddrByMACAddr
</a></li>
2169 <li data-name=
"LuCI.network.Hosts#getIPAddrByMACAddr"><a href=
"LuCI.network.Hosts.html#getIPAddrByMACAddr">getIPAddrByMACAddr
</a></li>
2171 <li data-name=
"LuCI.network.Hosts#getMACAddrByIP6Addr"><a href=
"LuCI.network.Hosts.html#getMACAddrByIP6Addr">getMACAddrByIP6Addr
</a></li>
2173 <li data-name=
"LuCI.network.Hosts#getMACAddrByIPAddr"><a href=
"LuCI.network.Hosts.html#getMACAddrByIPAddr">getMACAddrByIPAddr
</a></li>
2175 <li data-name=
"LuCI.network.Hosts#getMACHints"><a href=
"LuCI.network.Hosts.html#getMACHints">getMACHints
</a></li>
2178 <ul class=
"events itemMembers">
2183 <li class=
"item" data-name=
"LuCI.network.Protocol">
2184 <span class=
"title">
2185 <a href=
"LuCI.network.Protocol.html">LuCI.network.Protocol
</a>
2188 <ul class=
"members itemMembers">
2191 <ul class=
"typedefs itemMembers">
2194 <ul class=
"typedefs itemMembers">
2197 <ul class=
"methods itemMembers">
2199 <span class=
"subtitle">Methods
</span>
2201 <li data-name=
"LuCI.network.Protocol#addDevice"><a href=
"LuCI.network.Protocol.html#addDevice">addDevice
</a></li>
2203 <li data-name=
"LuCI.network.Protocol#containsDevice"><a href=
"LuCI.network.Protocol.html#containsDevice">containsDevice
</a></li>
2205 <li data-name=
"LuCI.network.Protocol#deleteConfiguration"><a href=
"LuCI.network.Protocol.html#deleteConfiguration">deleteConfiguration
</a></li>
2207 <li data-name=
"LuCI.network.Protocol#deleteDevice"><a href=
"LuCI.network.Protocol.html#deleteDevice">deleteDevice
</a></li>
2209 <li data-name=
"LuCI.network.Protocol#get"><a href=
"LuCI.network.Protocol.html#get">get
</a></li>
2211 <li data-name=
"LuCI.network.Protocol#getDevice"><a href=
"LuCI.network.Protocol.html#getDevice">getDevice
</a></li>
2213 <li data-name=
"LuCI.network.Protocol#getDevices"><a href=
"LuCI.network.Protocol.html#getDevices">getDevices
</a></li>
2215 <li data-name=
"LuCI.network.Protocol#getDNS6Addrs"><a href=
"LuCI.network.Protocol.html#getDNS6Addrs">getDNS6Addrs
</a></li>
2217 <li data-name=
"LuCI.network.Protocol#getDNSAddrs"><a href=
"LuCI.network.Protocol.html#getDNSAddrs">getDNSAddrs
</a></li>
2219 <li data-name=
"LuCI.network.Protocol#getErrors"><a href=
"LuCI.network.Protocol.html#getErrors">getErrors
</a></li>
2221 <li data-name=
"LuCI.network.Protocol#getExpiry"><a href=
"LuCI.network.Protocol.html#getExpiry">getExpiry
</a></li>
2223 <li data-name=
"LuCI.network.Protocol#getGateway6Addr"><a href=
"LuCI.network.Protocol.html#getGateway6Addr">getGateway6Addr
</a></li>
2225 <li data-name=
"LuCI.network.Protocol#getGatewayAddr"><a href=
"LuCI.network.Protocol.html#getGatewayAddr">getGatewayAddr
</a></li>
2227 <li data-name=
"LuCI.network.Protocol#getI18n"><a href=
"LuCI.network.Protocol.html#getI18n">getI18n
</a></li>
2229 <li data-name=
"LuCI.network.Protocol#getIfname"><a href=
"LuCI.network.Protocol.html#getIfname">getIfname
</a></li>
2231 <li data-name=
"LuCI.network.Protocol#getIP6Addr"><a href=
"LuCI.network.Protocol.html#getIP6Addr">getIP6Addr
</a></li>
2233 <li data-name=
"LuCI.network.Protocol#getIP6Addrs"><a href=
"LuCI.network.Protocol.html#getIP6Addrs">getIP6Addrs
</a></li>
2235 <li data-name=
"LuCI.network.Protocol#getIP6Prefix"><a href=
"LuCI.network.Protocol.html#getIP6Prefix">getIP6Prefix
</a></li>
2237 <li data-name=
"LuCI.network.Protocol#getIPAddr"><a href=
"LuCI.network.Protocol.html#getIPAddr">getIPAddr
</a></li>
2239 <li data-name=
"LuCI.network.Protocol#getIPAddrs"><a href=
"LuCI.network.Protocol.html#getIPAddrs">getIPAddrs
</a></li>
2241 <li data-name=
"LuCI.network.Protocol#getL2Device"><a href=
"LuCI.network.Protocol.html#getL2Device">getL2Device
</a></li>
2243 <li data-name=
"LuCI.network.Protocol#getL3Device"><a href=
"LuCI.network.Protocol.html#getL3Device">getL3Device
</a></li>
2245 <li data-name=
"LuCI.network.Protocol#getMetric"><a href=
"LuCI.network.Protocol.html#getMetric">getMetric
</a></li>
2247 <li data-name=
"LuCI.network.Protocol#getName"><a href=
"LuCI.network.Protocol.html#getName">getName
</a></li>
2249 <li data-name=
"LuCI.network.Protocol#getNetmask"><a href=
"LuCI.network.Protocol.html#getNetmask">getNetmask
</a></li>
2251 <li data-name=
"LuCI.network.Protocol#getOpkgPackage"><a href=
"LuCI.network.Protocol.html#getOpkgPackage">getOpkgPackage
</a></li>
2253 <li data-name=
"LuCI.network.Protocol#getProtocol"><a href=
"LuCI.network.Protocol.html#getProtocol">getProtocol
</a></li>
2255 <li data-name=
"LuCI.network.Protocol#getType"><a href=
"LuCI.network.Protocol.html#getType">getType
</a></li>
2257 <li data-name=
"LuCI.network.Protocol#getUptime"><a href=
"LuCI.network.Protocol.html#getUptime">getUptime
</a></li>
2259 <li data-name=
"LuCI.network.Protocol#getZoneName"><a href=
"LuCI.network.Protocol.html#getZoneName">getZoneName
</a></li>
2261 <li data-name=
"LuCI.network.Protocol#isAlias"><a href=
"LuCI.network.Protocol.html#isAlias">isAlias
</a></li>
2263 <li data-name=
"LuCI.network.Protocol#isBridge"><a href=
"LuCI.network.Protocol.html#isBridge">isBridge
</a></li>
2265 <li data-name=
"LuCI.network.Protocol#isCreateable"><a href=
"LuCI.network.Protocol.html#isCreateable">isCreateable
</a></li>
2267 <li data-name=
"LuCI.network.Protocol#isDynamic"><a href=
"LuCI.network.Protocol.html#isDynamic">isDynamic
</a></li>
2269 <li data-name=
"LuCI.network.Protocol#isEmpty"><a href=
"LuCI.network.Protocol.html#isEmpty">isEmpty
</a></li>
2271 <li data-name=
"LuCI.network.Protocol#isFloating"><a href=
"LuCI.network.Protocol.html#isFloating">isFloating
</a></li>
2273 <li data-name=
"LuCI.network.Protocol#isInstalled"><a href=
"LuCI.network.Protocol.html#isInstalled">isInstalled
</a></li>
2275 <li data-name=
"LuCI.network.Protocol#isUp"><a href=
"LuCI.network.Protocol.html#isUp">isUp
</a></li>
2277 <li data-name=
"LuCI.network.Protocol#isVirtual"><a href=
"LuCI.network.Protocol.html#isVirtual">isVirtual
</a></li>
2279 <li data-name=
"LuCI.network.Protocol#set"><a href=
"LuCI.network.Protocol.html#set">set
</a></li>
2282 <ul class=
"events itemMembers">
2287 <li class=
"item" data-name=
"LuCI.network.WifiDevice">
2288 <span class=
"title">
2289 <a href=
"LuCI.network.WifiDevice.html">LuCI.network.WifiDevice
</a>
2292 <ul class=
"members itemMembers">
2295 <ul class=
"typedefs itemMembers">
2298 <ul class=
"typedefs itemMembers">
2301 <ul class=
"methods itemMembers">
2303 <span class=
"subtitle">Methods
</span>
2305 <li data-name=
"LuCI.network.WifiDevice#addWifiNetwork"><a href=
"LuCI.network.WifiDevice.html#addWifiNetwork">addWifiNetwork
</a></li>
2307 <li data-name=
"LuCI.network.WifiDevice#deleteWifiNetwork"><a href=
"LuCI.network.WifiDevice.html#deleteWifiNetwork">deleteWifiNetwork
</a></li>
2309 <li data-name=
"LuCI.network.WifiDevice#get"><a href=
"LuCI.network.WifiDevice.html#get">get
</a></li>
2311 <li data-name=
"LuCI.network.WifiDevice#getHTModes"><a href=
"LuCI.network.WifiDevice.html#getHTModes">getHTModes
</a></li>
2313 <li data-name=
"LuCI.network.WifiDevice#getHWModes"><a href=
"LuCI.network.WifiDevice.html#getHWModes">getHWModes
</a></li>
2315 <li data-name=
"LuCI.network.WifiDevice#getI18n"><a href=
"LuCI.network.WifiDevice.html#getI18n">getI18n
</a></li>
2317 <li data-name=
"LuCI.network.WifiDevice#getName"><a href=
"LuCI.network.WifiDevice.html#getName">getName
</a></li>
2319 <li data-name=
"LuCI.network.WifiDevice#getScanList"><a href=
"LuCI.network.WifiDevice.html#getScanList">getScanList
</a></li>
2321 <li data-name=
"LuCI.network.WifiDevice#getWifiNetwork"><a href=
"LuCI.network.WifiDevice.html#getWifiNetwork">getWifiNetwork
</a></li>
2323 <li data-name=
"LuCI.network.WifiDevice#getWifiNetworks"><a href=
"LuCI.network.WifiDevice.html#getWifiNetworks">getWifiNetworks
</a></li>
2325 <li data-name=
"LuCI.network.WifiDevice#isDisabled"><a href=
"LuCI.network.WifiDevice.html#isDisabled">isDisabled
</a></li>
2327 <li data-name=
"LuCI.network.WifiDevice#isUp"><a href=
"LuCI.network.WifiDevice.html#isUp">isUp
</a></li>
2329 <li data-name=
"LuCI.network.WifiDevice#set"><a href=
"LuCI.network.WifiDevice.html#set">set
</a></li>
2332 <ul class=
"events itemMembers">
2337 <li class=
"item" data-name=
"LuCI.network.WifiNetwork">
2338 <span class=
"title">
2339 <a href=
"LuCI.network.WifiNetwork.html">LuCI.network.WifiNetwork
</a>
2342 <ul class=
"members itemMembers">
2345 <ul class=
"typedefs itemMembers">
2348 <ul class=
"typedefs itemMembers">
2351 <ul class=
"methods itemMembers">
2353 <span class=
"subtitle">Methods
</span>
2355 <li data-name=
"LuCI.network.WifiNetwork#disconnectClient"><a href=
"LuCI.network.WifiNetwork.html#disconnectClient">disconnectClient
</a></li>
2357 <li data-name=
"LuCI.network.WifiNetwork#get"><a href=
"LuCI.network.WifiNetwork.html#get">get
</a></li>
2359 <li data-name=
"LuCI.network.WifiNetwork#getActiveBSSID"><a href=
"LuCI.network.WifiNetwork.html#getActiveBSSID">getActiveBSSID
</a></li>
2361 <li data-name=
"LuCI.network.WifiNetwork#getActiveEncryption"><a href=
"LuCI.network.WifiNetwork.html#getActiveEncryption">getActiveEncryption
</a></li>
2363 <li data-name=
"LuCI.network.WifiNetwork#getActiveMode"><a href=
"LuCI.network.WifiNetwork.html#getActiveMode">getActiveMode
</a></li>
2365 <li data-name=
"LuCI.network.WifiNetwork#getActiveModeI18n"><a href=
"LuCI.network.WifiNetwork.html#getActiveModeI18n">getActiveModeI18n
</a></li>
2367 <li data-name=
"LuCI.network.WifiNetwork#getActiveSSID"><a href=
"LuCI.network.WifiNetwork.html#getActiveSSID">getActiveSSID
</a></li>
2369 <li data-name=
"LuCI.network.WifiNetwork#getAssocList"><a href=
"LuCI.network.WifiNetwork.html#getAssocList">getAssocList
</a></li>
2371 <li data-name=
"LuCI.network.WifiNetwork#getBitRate"><a href=
"LuCI.network.WifiNetwork.html#getBitRate">getBitRate
</a></li>
2373 <li data-name=
"LuCI.network.WifiNetwork#getBSSID"><a href=
"LuCI.network.WifiNetwork.html#getBSSID">getBSSID
</a></li>
2375 <li data-name=
"LuCI.network.WifiNetwork#getChannel"><a href=
"LuCI.network.WifiNetwork.html#getChannel">getChannel
</a></li>
2377 <li data-name=
"LuCI.network.WifiNetwork#getCountryCode"><a href=
"LuCI.network.WifiNetwork.html#getCountryCode">getCountryCode
</a></li>
2379 <li data-name=
"LuCI.network.WifiNetwork#getDevice"><a href=
"LuCI.network.WifiNetwork.html#getDevice">getDevice
</a></li>
2381 <li data-name=
"LuCI.network.WifiNetwork#getFrequency"><a href=
"LuCI.network.WifiNetwork.html#getFrequency">getFrequency
</a></li>
2383 <li data-name=
"LuCI.network.WifiNetwork#getI18n"><a href=
"LuCI.network.WifiNetwork.html#getI18n">getI18n
</a></li>
2385 <li data-name=
"LuCI.network.WifiNetwork#getID"><a href=
"LuCI.network.WifiNetwork.html#getID">getID
</a></li>
2387 <li data-name=
"LuCI.network.WifiNetwork#getIfname"><a href=
"LuCI.network.WifiNetwork.html#getIfname">getIfname
</a></li>
2389 <li data-name=
"LuCI.network.WifiNetwork#getMeshID"><a href=
"LuCI.network.WifiNetwork.html#getMeshID">getMeshID
</a></li>
2391 <li data-name=
"LuCI.network.WifiNetwork#getMode"><a href=
"LuCI.network.WifiNetwork.html#getMode">getMode
</a></li>
2393 <li data-name=
"LuCI.network.WifiNetwork#getName"><a href=
"LuCI.network.WifiNetwork.html#getName">getName
</a></li>
2395 <li data-name=
"LuCI.network.WifiNetwork#getNetwork"><a href=
"LuCI.network.WifiNetwork.html#getNetwork">getNetwork
</a></li>
2397 <li data-name=
"LuCI.network.WifiNetwork#getNetworkNames"><a href=
"LuCI.network.WifiNetwork.html#getNetworkNames">getNetworkNames
</a></li>
2399 <li data-name=
"LuCI.network.WifiNetwork#getNetworks"><a href=
"LuCI.network.WifiNetwork.html#getNetworks">getNetworks
</a></li>
2401 <li data-name=
"LuCI.network.WifiNetwork#getNoise"><a href=
"LuCI.network.WifiNetwork.html#getNoise">getNoise
</a></li>
2403 <li data-name=
"LuCI.network.WifiNetwork#getShortName"><a href=
"LuCI.network.WifiNetwork.html#getShortName">getShortName
</a></li>
2405 <li data-name=
"LuCI.network.WifiNetwork#getSignal"><a href=
"LuCI.network.WifiNetwork.html#getSignal">getSignal
</a></li>
2407 <li data-name=
"LuCI.network.WifiNetwork#getSignalLevel"><a href=
"LuCI.network.WifiNetwork.html#getSignalLevel">getSignalLevel
</a></li>
2409 <li data-name=
"LuCI.network.WifiNetwork#getSignalPercent"><a href=
"LuCI.network.WifiNetwork.html#getSignalPercent">getSignalPercent
</a></li>
2411 <li data-name=
"LuCI.network.WifiNetwork#getSSID"><a href=
"LuCI.network.WifiNetwork.html#getSSID">getSSID
</a></li>
2413 <li data-name=
"LuCI.network.WifiNetwork#getTXPower"><a href=
"LuCI.network.WifiNetwork.html#getTXPower">getTXPower
</a></li>
2415 <li data-name=
"LuCI.network.WifiNetwork#getTXPowerOffset"><a href=
"LuCI.network.WifiNetwork.html#getTXPowerOffset">getTXPowerOffset
</a></li>
2417 <li data-name=
"LuCI.network.WifiNetwork#getVlanIfnames"><a href=
"LuCI.network.WifiNetwork.html#getVlanIfnames">getVlanIfnames
</a></li>
2419 <li data-name=
"LuCI.network.WifiNetwork#getWifiDevice"><a href=
"LuCI.network.WifiNetwork.html#getWifiDevice">getWifiDevice
</a></li>
2421 <li data-name=
"LuCI.network.WifiNetwork#getWifiDeviceName"><a href=
"LuCI.network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName
</a></li>
2423 <li data-name=
"LuCI.network.WifiNetwork#isClientDisconnectSupported"><a href=
"LuCI.network.WifiNetwork.html#isClientDisconnectSupported">isClientDisconnectSupported
</a></li>
2425 <li data-name=
"LuCI.network.WifiNetwork#isDisabled"><a href=
"LuCI.network.WifiNetwork.html#isDisabled">isDisabled
</a></li>
2427 <li data-name=
"LuCI.network.WifiNetwork#isUp"><a href=
"LuCI.network.WifiNetwork.html#isUp">isUp
</a></li>
2429 <li data-name=
"LuCI.network.WifiNetwork#set"><a href=
"LuCI.network.WifiNetwork.html#set">set
</a></li>
2432 <ul class=
"events itemMembers">
2437 <li class=
"item" data-name=
"LuCI.poll">
2438 <span class=
"title">
2439 <a href=
"LuCI.poll.html">LuCI.poll
</a>
2442 <ul class=
"members itemMembers">
2445 <ul class=
"typedefs itemMembers">
2448 <ul class=
"typedefs itemMembers">
2451 <ul class=
"methods itemMembers">
2453 <span class=
"subtitle">Methods
</span>
2455 <li data-name=
"LuCI.poll#active"><a href=
"LuCI.poll.html#active">active
</a></li>
2457 <li data-name=
"LuCI.poll#add"><a href=
"LuCI.poll.html#add">add
</a></li>
2459 <li data-name=
"LuCI.poll#remove"><a href=
"LuCI.poll.html#remove">remove
</a></li>
2461 <li data-name=
"LuCI.poll#start"><a href=
"LuCI.poll.html#start">start
</a></li>
2463 <li data-name=
"LuCI.poll#stop"><a href=
"LuCI.poll.html#stop">stop
</a></li>
2466 <ul class=
"events itemMembers">
2471 <li class=
"item" data-name=
"LuCI.request">
2472 <span class=
"title">
2473 <a href=
"LuCI.request.html">LuCI.request
</a>
2476 <ul class=
"members itemMembers">
2479 <ul class=
"typedefs itemMembers">
2481 <span class=
"subtitle">Typedefs
</span>
2483 <li data-name=
"LuCI.request.interceptorFn"><a href=
"LuCI.request.html#.interceptorFn">interceptorFn
</a></li>
2485 <li data-name=
"LuCI.request.RequestOptions"><a href=
"LuCI.request.html#.RequestOptions">RequestOptions
</a></li>
2488 <ul class=
"typedefs itemMembers">
2491 <ul class=
"methods itemMembers">
2493 <span class=
"subtitle">Methods
</span>
2495 <li data-name=
"LuCI.request#addInterceptor"><a href=
"LuCI.request.html#addInterceptor">addInterceptor
</a></li>
2497 <li data-name=
"LuCI.request#expandURL"><a href=
"LuCI.request.html#expandURL">expandURL
</a></li>
2499 <li data-name=
"LuCI.request#get"><a href=
"LuCI.request.html#get">get
</a></li>
2501 <li data-name=
"LuCI.request#post"><a href=
"LuCI.request.html#post">post
</a></li>
2503 <li data-name=
"LuCI.request#removeInterceptor"><a href=
"LuCI.request.html#removeInterceptor">removeInterceptor
</a></li>
2505 <li data-name=
"LuCI.request#request"><a href=
"LuCI.request.html#request">request
</a></li>
2508 <ul class=
"events itemMembers">
2513 <li class=
"item" data-name=
"LuCI.request.poll">
2514 <span class=
"title">
2515 <a href=
"LuCI.request.poll.html">LuCI.request.poll
</a>
2518 <ul class=
"members itemMembers">
2521 <ul class=
"typedefs itemMembers">
2523 <span class=
"subtitle">Typedefs
</span>
2525 <li data-name=
"LuCI.request.poll~callbackFn"><a href=
"LuCI.request.poll.html#~callbackFn">callbackFn
</a></li>
2528 <ul class=
"typedefs itemMembers">
2531 <ul class=
"methods itemMembers">
2533 <span class=
"subtitle">Methods
</span>
2535 <li data-name=
"LuCI.request.poll#active"><a href=
"LuCI.request.poll.html#active">active
</a></li>
2537 <li data-name=
"LuCI.request.poll#add"><a href=
"LuCI.request.poll.html#add">add
</a></li>
2539 <li data-name=
"LuCI.request.poll#remove"><a href=
"LuCI.request.poll.html#remove">remove
</a></li>
2541 <li data-name=
"LuCI.request.poll#start"><a href=
"LuCI.request.poll.html#start">start
</a></li>
2543 <li data-name=
"LuCI.request.poll#stop"><a href=
"LuCI.request.poll.html#stop">stop
</a></li>
2546 <ul class=
"events itemMembers">
2551 <li class=
"item" data-name=
"LuCI.response">
2552 <span class=
"title">
2553 <a href=
"LuCI.response.html">LuCI.response
</a>
2556 <ul class=
"members itemMembers">
2558 <span class=
"subtitle">Members
</span>
2560 <li data-name=
"LuCI.response#duration"><a href=
"LuCI.response.html#duration">duration
</a></li>
2562 <li data-name=
"LuCI.response#headers"><a href=
"LuCI.response.html#headers">headers
</a></li>
2564 <li data-name=
"LuCI.response#ok"><a href=
"LuCI.response.html#ok">ok
</a></li>
2566 <li data-name=
"LuCI.response#status"><a href=
"LuCI.response.html#status">status
</a></li>
2568 <li data-name=
"LuCI.response#statusText"><a href=
"LuCI.response.html#statusText">statusText
</a></li>
2570 <li data-name=
"LuCI.response#url"><a href=
"LuCI.response.html#url">url
</a></li>
2573 <ul class=
"typedefs itemMembers">
2576 <ul class=
"typedefs itemMembers">
2579 <ul class=
"methods itemMembers">
2581 <span class=
"subtitle">Methods
</span>
2583 <li data-name=
"LuCI.response#blob"><a href=
"LuCI.response.html#blob">blob
</a></li>
2585 <li data-name=
"LuCI.response#clone"><a href=
"LuCI.response.html#clone">clone
</a></li>
2587 <li data-name=
"LuCI.response#json"><a href=
"LuCI.response.html#json">json
</a></li>
2589 <li data-name=
"LuCI.response#text"><a href=
"LuCI.response.html#text">text
</a></li>
2592 <ul class=
"events itemMembers">
2597 <li class=
"item" data-name=
"LuCI.rpc">
2598 <span class=
"title">
2599 <a href=
"LuCI.rpc.html">LuCI.rpc
</a>
2602 <ul class=
"members itemMembers">
2605 <ul class=
"typedefs itemMembers">
2607 <span class=
"subtitle">Typedefs
</span>
2609 <li data-name=
"LuCI.rpc.DeclareOptions"><a href=
"LuCI.rpc.html#.DeclareOptions">DeclareOptions
</a></li>
2611 <li data-name=
"LuCI.rpc~filterFn"><a href=
"LuCI.rpc.html#~filterFn">filterFn
</a></li>
2613 <li data-name=
"LuCI.rpc~interceptorFn"><a href=
"LuCI.rpc.html#~interceptorFn">interceptorFn
</a></li>
2615 <li data-name=
"LuCI.rpc~invokeFn"><a href=
"LuCI.rpc.html#~invokeFn">invokeFn
</a></li>
2618 <ul class=
"typedefs itemMembers">
2621 <ul class=
"methods itemMembers">
2623 <span class=
"subtitle">Methods
</span>
2625 <li data-name=
"LuCI.rpc#addInterceptor"><a href=
"LuCI.rpc.html#addInterceptor">addInterceptor
</a></li>
2627 <li data-name=
"LuCI.rpc#declare"><a href=
"LuCI.rpc.html#declare">declare
</a></li>
2629 <li data-name=
"LuCI.rpc#getBaseURL"><a href=
"LuCI.rpc.html#getBaseURL">getBaseURL
</a></li>
2631 <li data-name=
"LuCI.rpc#getSessionID"><a href=
"LuCI.rpc.html#getSessionID">getSessionID
</a></li>
2633 <li data-name=
"LuCI.rpc#getStatusText"><a href=
"LuCI.rpc.html#getStatusText">getStatusText
</a></li>
2635 <li data-name=
"LuCI.rpc#list"><a href=
"LuCI.rpc.html#list">list
</a></li>
2637 <li data-name=
"LuCI.rpc#removeInterceptor"><a href=
"LuCI.rpc.html#removeInterceptor">removeInterceptor
</a></li>
2639 <li data-name=
"LuCI.rpc#setBaseURL"><a href=
"LuCI.rpc.html#setBaseURL">setBaseURL
</a></li>
2641 <li data-name=
"LuCI.rpc#setSessionID"><a href=
"LuCI.rpc.html#setSessionID">setSessionID
</a></li>
2644 <ul class=
"events itemMembers">
2649 <li class=
"item" data-name=
"LuCI.session">
2650 <span class=
"title">
2651 <a href=
"LuCI.session.html">LuCI.session
</a>
2654 <ul class=
"members itemMembers">
2657 <ul class=
"typedefs itemMembers">
2660 <ul class=
"typedefs itemMembers">
2663 <ul class=
"methods itemMembers">
2665 <span class=
"subtitle">Methods
</span>
2667 <li data-name=
"LuCI.session#getID"><a href=
"LuCI.session.html#getID">getID
</a></li>
2669 <li data-name=
"LuCI.session#getLocalData"><a href=
"LuCI.session.html#getLocalData">getLocalData
</a></li>
2671 <li data-name=
"LuCI.session#getToken"><a href=
"LuCI.session.html#getToken">getToken
</a></li>
2673 <li data-name=
"LuCI.session#setLocalData"><a href=
"LuCI.session.html#setLocalData">setLocalData
</a></li>
2676 <ul class=
"events itemMembers">
2681 <li class=
"item" data-name=
"LuCI.uci">
2682 <span class=
"title">
2683 <a href=
"LuCI.uci.html">LuCI.uci
</a>
2686 <ul class=
"members itemMembers">
2689 <ul class=
"typedefs itemMembers">
2691 <span class=
"subtitle">Typedefs
</span>
2693 <li data-name=
"LuCI.uci.ChangeRecord"><a href=
"LuCI.uci.html#.ChangeRecord">ChangeRecord
</a></li>
2695 <li data-name=
"LuCI.uci.SectionObject"><a href=
"LuCI.uci.html#.SectionObject">SectionObject
</a></li>
2697 <li data-name=
"LuCI.uci~sectionsFn"><a href=
"LuCI.uci.html#~sectionsFn">sectionsFn
</a></li>
2700 <ul class=
"typedefs itemMembers">
2703 <ul class=
"methods itemMembers">
2705 <span class=
"subtitle">Methods
</span>
2707 <li data-name=
"LuCI.uci#add"><a href=
"LuCI.uci.html#add">add
</a></li>
2709 <li data-name=
"LuCI.uci#apply"><a href=
"LuCI.uci.html#apply">apply
</a></li>
2711 <li data-name=
"LuCI.uci#changes"><a href=
"LuCI.uci.html#changes">changes
</a></li>
2713 <li data-name=
"LuCI.uci#createSID"><a href=
"LuCI.uci.html#createSID">createSID
</a></li>
2715 <li data-name=
"LuCI.uci#get"><a href=
"LuCI.uci.html#get">get
</a></li>
2717 <li data-name=
"LuCI.uci#get_first"><a href=
"LuCI.uci.html#get_first">get_first
</a></li>
2719 <li data-name=
"LuCI.uci#load"><a href=
"LuCI.uci.html#load">load
</a></li>
2721 <li data-name=
"LuCI.uci#move"><a href=
"LuCI.uci.html#move">move
</a></li>
2723 <li data-name=
"LuCI.uci#remove"><a href=
"LuCI.uci.html#remove">remove
</a></li>
2725 <li data-name=
"LuCI.uci#resolveSID"><a href=
"LuCI.uci.html#resolveSID">resolveSID
</a></li>
2727 <li data-name=
"LuCI.uci#save"><a href=
"LuCI.uci.html#save">save
</a></li>
2729 <li data-name=
"LuCI.uci#sections"><a href=
"LuCI.uci.html#sections">sections
</a></li>
2731 <li data-name=
"LuCI.uci#set"><a href=
"LuCI.uci.html#set">set
</a></li>
2733 <li data-name=
"LuCI.uci#set_first"><a href=
"LuCI.uci.html#set_first">set_first
</a></li>
2735 <li data-name=
"LuCI.uci#unload"><a href=
"LuCI.uci.html#unload">unload
</a></li>
2737 <li data-name=
"LuCI.uci#unset"><a href=
"LuCI.uci.html#unset">unset
</a></li>
2739 <li data-name=
"LuCI.uci#unset_first"><a href=
"LuCI.uci.html#unset_first">unset_first
</a></li>
2742 <ul class=
"events itemMembers">
2747 <li class=
"item" data-name=
"LuCI.ui">
2748 <span class=
"title">
2749 <a href=
"LuCI.ui.html">LuCI.ui
</a>
2752 <ul class=
"members itemMembers">
2755 <ul class=
"typedefs itemMembers">
2757 <span class=
"subtitle">Typedefs
</span>
2759 <li data-name=
"LuCI.ui.FileUploadReply"><a href=
"LuCI.ui.html#.FileUploadReply">FileUploadReply
</a></li>
2762 <ul class=
"typedefs itemMembers">
2765 <ul class=
"methods itemMembers">
2767 <span class=
"subtitle">Methods
</span>
2769 <li data-name=
"LuCI.ui#addNotification"><a href=
"LuCI.ui.html#addNotification">addNotification
</a></li>
2771 <li data-name=
"LuCI.ui#addValidator"><a href=
"LuCI.ui.html#addValidator">addValidator
</a></li>
2773 <li data-name=
"LuCI.ui#awaitReconnect"><a href=
"LuCI.ui.html#awaitReconnect">awaitReconnect
</a></li>
2775 <li data-name=
"LuCI.ui#createHandlerFn"><a href=
"LuCI.ui.html#createHandlerFn">createHandlerFn
</a></li>
2777 <li data-name=
"LuCI.ui#hideIndicator"><a href=
"LuCI.ui.html#hideIndicator">hideIndicator
</a></li>
2779 <li data-name=
"LuCI.ui#hideModal"><a href=
"LuCI.ui.html#hideModal">hideModal
</a></li>
2781 <li data-name=
"LuCI.ui#instantiateView"><a href=
"LuCI.ui.html#instantiateView">instantiateView
</a></li>
2783 <li data-name=
"LuCI.ui#itemlist"><a href=
"LuCI.ui.html#itemlist">itemlist
</a></li>
2785 <li data-name=
"LuCI.ui#pingDevice"><a href=
"LuCI.ui.html#pingDevice">pingDevice
</a></li>
2787 <li data-name=
"LuCI.ui#showIndicator"><a href=
"LuCI.ui.html#showIndicator">showIndicator
</a></li>
2789 <li data-name=
"LuCI.ui#showModal"><a href=
"LuCI.ui.html#showModal">showModal
</a></li>
2791 <li data-name=
"LuCI.ui#uploadFile"><a href=
"LuCI.ui.html#uploadFile">uploadFile
</a></li>
2794 <ul class=
"events itemMembers">
2799 <li class=
"item" data-name=
"LuCI.ui.AbstractElement">
2800 <span class=
"title">
2801 <a href=
"LuCI.ui.AbstractElement.html">LuCI.ui.AbstractElement
</a>
2804 <ul class=
"members itemMembers">
2807 <ul class=
"typedefs itemMembers">
2809 <span class=
"subtitle">Typedefs
</span>
2811 <li data-name=
"LuCI.ui.AbstractElement.InitOptions"><a href=
"LuCI.ui.AbstractElement.html#.InitOptions">InitOptions
</a></li>
2814 <ul class=
"typedefs itemMembers">
2817 <ul class=
"methods itemMembers">
2819 <span class=
"subtitle">Methods
</span>
2821 <li data-name=
"LuCI.ui.AbstractElement#getValidationError"><a href=
"LuCI.ui.AbstractElement.html#getValidationError">getValidationError
</a></li>
2823 <li data-name=
"LuCI.ui.AbstractElement#getValue"><a href=
"LuCI.ui.AbstractElement.html#getValue">getValue
</a></li>
2825 <li data-name=
"LuCI.ui.AbstractElement#isChanged"><a href=
"LuCI.ui.AbstractElement.html#isChanged">isChanged
</a></li>
2827 <li data-name=
"LuCI.ui.AbstractElement#isValid"><a href=
"LuCI.ui.AbstractElement.html#isValid">isValid
</a></li>
2829 <li data-name=
"LuCI.ui.AbstractElement#registerEvents"><a href=
"LuCI.ui.AbstractElement.html#registerEvents">registerEvents
</a></li>
2831 <li data-name=
"LuCI.ui.AbstractElement#render"><a href=
"LuCI.ui.AbstractElement.html#render">render
</a></li>
2833 <li data-name=
"LuCI.ui.AbstractElement#setChangeEvents"><a href=
"LuCI.ui.AbstractElement.html#setChangeEvents">setChangeEvents
</a></li>
2835 <li data-name=
"LuCI.ui.AbstractElement#setPlaceholder"><a href=
"LuCI.ui.AbstractElement.html#setPlaceholder">setPlaceholder
</a></li>
2837 <li data-name=
"LuCI.ui.AbstractElement#setUpdateEvents"><a href=
"LuCI.ui.AbstractElement.html#setUpdateEvents">setUpdateEvents
</a></li>
2839 <li data-name=
"LuCI.ui.AbstractElement#setValue"><a href=
"LuCI.ui.AbstractElement.html#setValue">setValue
</a></li>
2841 <li data-name=
"LuCI.ui.AbstractElement#triggerValidation"><a href=
"LuCI.ui.AbstractElement.html#triggerValidation">triggerValidation
</a></li>
2844 <ul class=
"events itemMembers">
2849 <li class=
"item" data-name=
"LuCI.ui.changes">
2850 <span class=
"title">
2851 <a href=
"LuCI.ui.changes.html">LuCI.ui.changes
</a>
2854 <ul class=
"members itemMembers">
2857 <ul class=
"typedefs itemMembers">
2860 <ul class=
"typedefs itemMembers">
2863 <ul class=
"methods itemMembers">
2865 <span class=
"subtitle">Methods
</span>
2867 <li data-name=
"LuCI.ui.changes#apply"><a href=
"LuCI.ui.changes.html#apply">apply
</a></li>
2869 <li data-name=
"LuCI.ui.changes#displayChanges"><a href=
"LuCI.ui.changes.html#displayChanges">displayChanges
</a></li>
2871 <li data-name=
"LuCI.ui.changes#renderChangeIndicator"><a href=
"LuCI.ui.changes.html#renderChangeIndicator">renderChangeIndicator
</a></li>
2873 <li data-name=
"LuCI.ui.changes#revert"><a href=
"LuCI.ui.changes.html#revert">revert
</a></li>
2875 <li data-name=
"LuCI.ui.changes#setIndicator"><a href=
"LuCI.ui.changes.html#setIndicator">setIndicator
</a></li>
2878 <ul class=
"events itemMembers">
2883 <li class=
"item" data-name=
"LuCI.ui.Checkbox">
2884 <span class=
"title">
2885 <a href=
"LuCI.ui.Checkbox.html">LuCI.ui.Checkbox
</a>
2888 <ul class=
"members itemMembers">
2891 <ul class=
"typedefs itemMembers">
2893 <span class=
"subtitle">Typedefs
</span>
2895 <li data-name=
"LuCI.ui.Checkbox.InitOptions"><a href=
"LuCI.ui.Checkbox.html#.InitOptions">InitOptions
</a></li>
2898 <ul class=
"typedefs itemMembers">
2901 <ul class=
"methods itemMembers">
2903 <span class=
"subtitle">Methods
</span>
2905 <li data-name=
"LuCI.ui.Checkbox#getValidationError"><a href=
"LuCI.ui.Checkbox.html#getValidationError">getValidationError
</a></li>
2907 <li data-name=
"LuCI.ui.Checkbox#getValue"><a href=
"LuCI.ui.Checkbox.html#getValue">getValue
</a></li>
2909 <li data-name=
"LuCI.ui.Checkbox#isChanged"><a href=
"LuCI.ui.Checkbox.html#isChanged">isChanged
</a></li>
2911 <li data-name=
"LuCI.ui.Checkbox#isChecked"><a href=
"LuCI.ui.Checkbox.html#isChecked">isChecked
</a></li>
2913 <li data-name=
"LuCI.ui.Checkbox#isValid"><a href=
"LuCI.ui.Checkbox.html#isValid">isValid
</a></li>
2915 <li data-name=
"LuCI.ui.Checkbox#registerEvents"><a href=
"LuCI.ui.Checkbox.html#registerEvents">registerEvents
</a></li>
2917 <li data-name=
"LuCI.ui.Checkbox#render"><a href=
"LuCI.ui.Checkbox.html#render">render
</a></li>
2919 <li data-name=
"LuCI.ui.Checkbox#setChangeEvents"><a href=
"LuCI.ui.Checkbox.html#setChangeEvents">setChangeEvents
</a></li>
2921 <li data-name=
"LuCI.ui.Checkbox#setPlaceholder"><a href=
"LuCI.ui.Checkbox.html#setPlaceholder">setPlaceholder
</a></li>
2923 <li data-name=
"LuCI.ui.Checkbox#setUpdateEvents"><a href=
"LuCI.ui.Checkbox.html#setUpdateEvents">setUpdateEvents
</a></li>
2925 <li data-name=
"LuCI.ui.Checkbox#setValue"><a href=
"LuCI.ui.Checkbox.html#setValue">setValue
</a></li>
2927 <li data-name=
"LuCI.ui.Checkbox#triggerValidation"><a href=
"LuCI.ui.Checkbox.html#triggerValidation">triggerValidation
</a></li>
2930 <ul class=
"events itemMembers">
2935 <li class=
"item" data-name=
"LuCI.ui.Combobox">
2936 <span class=
"title">
2937 <a href=
"LuCI.ui.Combobox.html">LuCI.ui.Combobox
</a>
2940 <ul class=
"members itemMembers">
2943 <ul class=
"typedefs itemMembers">
2945 <span class=
"subtitle">Typedefs
</span>
2947 <li data-name=
"LuCI.ui.Combobox.InitOptions"><a href=
"LuCI.ui.Combobox.html#.InitOptions">InitOptions
</a></li>
2950 <ul class=
"typedefs itemMembers">
2953 <ul class=
"methods itemMembers">
2955 <span class=
"subtitle">Methods
</span>
2957 <li data-name=
"LuCI.ui.Combobox#addChoices"><a href=
"LuCI.ui.Combobox.html#addChoices">addChoices
</a></li>
2959 <li data-name=
"LuCI.ui.Combobox#clearChoices"><a href=
"LuCI.ui.Combobox.html#clearChoices">clearChoices
</a></li>
2961 <li data-name=
"LuCI.ui.Combobox#closeAllDropdowns"><a href=
"LuCI.ui.Combobox.html#closeAllDropdowns">closeAllDropdowns
</a></li>
2963 <li data-name=
"LuCI.ui.Combobox#getValidationError"><a href=
"LuCI.ui.Combobox.html#getValidationError">getValidationError
</a></li>
2965 <li data-name=
"LuCI.ui.Combobox#isChanged"><a href=
"LuCI.ui.Combobox.html#isChanged">isChanged
</a></li>
2967 <li data-name=
"LuCI.ui.Combobox#isValid"><a href=
"LuCI.ui.Combobox.html#isValid">isValid
</a></li>
2969 <li data-name=
"LuCI.ui.Combobox#registerEvents"><a href=
"LuCI.ui.Combobox.html#registerEvents">registerEvents
</a></li>
2971 <li data-name=
"LuCI.ui.Combobox#setChangeEvents"><a href=
"LuCI.ui.Combobox.html#setChangeEvents">setChangeEvents
</a></li>
2973 <li data-name=
"LuCI.ui.Combobox#setPlaceholder"><a href=
"LuCI.ui.Combobox.html#setPlaceholder">setPlaceholder
</a></li>
2975 <li data-name=
"LuCI.ui.Combobox#setUpdateEvents"><a href=
"LuCI.ui.Combobox.html#setUpdateEvents">setUpdateEvents
</a></li>
2977 <li data-name=
"LuCI.ui.Combobox#triggerValidation"><a href=
"LuCI.ui.Combobox.html#triggerValidation">triggerValidation
</a></li>
2980 <ul class=
"events itemMembers">
2985 <li class=
"item" data-name=
"LuCI.ui.ComboButton">
2986 <span class=
"title">
2987 <a href=
"LuCI.ui.ComboButton.html">LuCI.ui.ComboButton
</a>
2990 <ul class=
"members itemMembers">
2993 <ul class=
"typedefs itemMembers">
2995 <span class=
"subtitle">Typedefs
</span>
2997 <li data-name=
"LuCI.ui.ComboButton.InitOptions"><a href=
"LuCI.ui.ComboButton.html#.InitOptions">InitOptions
</a></li>
3000 <ul class=
"typedefs itemMembers">
3003 <ul class=
"methods itemMembers">
3005 <span class=
"subtitle">Methods
</span>
3007 <li data-name=
"LuCI.ui.ComboButton#addChoices"><a href=
"LuCI.ui.ComboButton.html#addChoices">addChoices
</a></li>
3009 <li data-name=
"LuCI.ui.ComboButton#clearChoices"><a href=
"LuCI.ui.ComboButton.html#clearChoices">clearChoices
</a></li>
3011 <li data-name=
"LuCI.ui.ComboButton#closeAllDropdowns"><a href=
"LuCI.ui.ComboButton.html#closeAllDropdowns">closeAllDropdowns
</a></li>
3013 <li data-name=
"LuCI.ui.ComboButton#getValidationError"><a href=
"LuCI.ui.ComboButton.html#getValidationError">getValidationError
</a></li>
3015 <li data-name=
"LuCI.ui.ComboButton#isChanged"><a href=
"LuCI.ui.ComboButton.html#isChanged">isChanged
</a></li>
3017 <li data-name=
"LuCI.ui.ComboButton#isValid"><a href=
"LuCI.ui.ComboButton.html#isValid">isValid
</a></li>
3019 <li data-name=
"LuCI.ui.ComboButton#registerEvents"><a href=
"LuCI.ui.ComboButton.html#registerEvents">registerEvents
</a></li>
3021 <li data-name=
"LuCI.ui.ComboButton#setChangeEvents"><a href=
"LuCI.ui.ComboButton.html#setChangeEvents">setChangeEvents
</a></li>
3023 <li data-name=
"LuCI.ui.ComboButton#setPlaceholder"><a href=
"LuCI.ui.ComboButton.html#setPlaceholder">setPlaceholder
</a></li>
3025 <li data-name=
"LuCI.ui.ComboButton#setUpdateEvents"><a href=
"LuCI.ui.ComboButton.html#setUpdateEvents">setUpdateEvents
</a></li>
3027 <li data-name=
"LuCI.ui.ComboButton#triggerValidation"><a href=
"LuCI.ui.ComboButton.html#triggerValidation">triggerValidation
</a></li>
3030 <ul class=
"events itemMembers">
3035 <li class=
"item" data-name=
"LuCI.ui.Dropdown">
3036 <span class=
"title">
3037 <a href=
"LuCI.ui.Dropdown.html">LuCI.ui.Dropdown
</a>
3040 <ul class=
"members itemMembers">
3043 <ul class=
"typedefs itemMembers">
3045 <span class=
"subtitle">Typedefs
</span>
3047 <li data-name=
"LuCI.ui.Dropdown.InitOptions"><a href=
"LuCI.ui.Dropdown.html#.InitOptions">InitOptions
</a></li>
3050 <ul class=
"typedefs itemMembers">
3053 <ul class=
"methods itemMembers">
3055 <span class=
"subtitle">Methods
</span>
3057 <li data-name=
"LuCI.ui.Dropdown#addChoices"><a href=
"LuCI.ui.Dropdown.html#addChoices">addChoices
</a></li>
3059 <li data-name=
"LuCI.ui.Dropdown#clearChoices"><a href=
"LuCI.ui.Dropdown.html#clearChoices">clearChoices
</a></li>
3061 <li data-name=
"LuCI.ui.Dropdown#closeAllDropdowns"><a href=
"LuCI.ui.Dropdown.html#closeAllDropdowns">closeAllDropdowns
</a></li>
3063 <li data-name=
"LuCI.ui.Dropdown#getValidationError"><a href=
"LuCI.ui.Dropdown.html#getValidationError">getValidationError
</a></li>
3065 <li data-name=
"LuCI.ui.Dropdown#getValue"><a href=
"LuCI.ui.Dropdown.html#getValue">getValue
</a></li>
3067 <li data-name=
"LuCI.ui.Dropdown#isChanged"><a href=
"LuCI.ui.Dropdown.html#isChanged">isChanged
</a></li>
3069 <li data-name=
"LuCI.ui.Dropdown#isValid"><a href=
"LuCI.ui.Dropdown.html#isValid">isValid
</a></li>
3071 <li data-name=
"LuCI.ui.Dropdown#registerEvents"><a href=
"LuCI.ui.Dropdown.html#registerEvents">registerEvents
</a></li>
3073 <li data-name=
"LuCI.ui.Dropdown#render"><a href=
"LuCI.ui.Dropdown.html#render">render
</a></li>
3075 <li data-name=
"LuCI.ui.Dropdown#setChangeEvents"><a href=
"LuCI.ui.Dropdown.html#setChangeEvents">setChangeEvents
</a></li>
3077 <li data-name=
"LuCI.ui.Dropdown#setPlaceholder"><a href=
"LuCI.ui.Dropdown.html#setPlaceholder">setPlaceholder
</a></li>
3079 <li data-name=
"LuCI.ui.Dropdown#setUpdateEvents"><a href=
"LuCI.ui.Dropdown.html#setUpdateEvents">setUpdateEvents
</a></li>
3081 <li data-name=
"LuCI.ui.Dropdown#setValue"><a href=
"LuCI.ui.Dropdown.html#setValue">setValue
</a></li>
3083 <li data-name=
"LuCI.ui.Dropdown#triggerValidation"><a href=
"LuCI.ui.Dropdown.html#triggerValidation">triggerValidation
</a></li>
3086 <ul class=
"events itemMembers">
3091 <li class=
"item" data-name=
"LuCI.ui.DynamicList">
3092 <span class=
"title">
3093 <a href=
"LuCI.ui.DynamicList.html">LuCI.ui.DynamicList
</a>
3096 <ul class=
"members itemMembers">
3099 <ul class=
"typedefs itemMembers">
3101 <span class=
"subtitle">Typedefs
</span>
3103 <li data-name=
"LuCI.ui.DynamicList.InitOptions"><a href=
"LuCI.ui.DynamicList.html#.InitOptions">InitOptions
</a></li>
3106 <ul class=
"typedefs itemMembers">
3109 <ul class=
"methods itemMembers">
3111 <span class=
"subtitle">Methods
</span>
3113 <li data-name=
"LuCI.ui.DynamicList#addChoices"><a href=
"LuCI.ui.DynamicList.html#addChoices">addChoices
</a></li>
3115 <li data-name=
"LuCI.ui.DynamicList#clearChoices"><a href=
"LuCI.ui.DynamicList.html#clearChoices">clearChoices
</a></li>
3117 <li data-name=
"LuCI.ui.DynamicList#getValidationError"><a href=
"LuCI.ui.DynamicList.html#getValidationError">getValidationError
</a></li>
3119 <li data-name=
"LuCI.ui.DynamicList#getValue"><a href=
"LuCI.ui.DynamicList.html#getValue">getValue
</a></li>
3121 <li data-name=
"LuCI.ui.DynamicList#isChanged"><a href=
"LuCI.ui.DynamicList.html#isChanged">isChanged
</a></li>
3123 <li data-name=
"LuCI.ui.DynamicList#isValid"><a href=
"LuCI.ui.DynamicList.html#isValid">isValid
</a></li>
3125 <li data-name=
"LuCI.ui.DynamicList#registerEvents"><a href=
"LuCI.ui.DynamicList.html#registerEvents">registerEvents
</a></li>
3127 <li data-name=
"LuCI.ui.DynamicList#render"><a href=
"LuCI.ui.DynamicList.html#render">render
</a></li>
3129 <li data-name=
"LuCI.ui.DynamicList#setChangeEvents"><a href=
"LuCI.ui.DynamicList.html#setChangeEvents">setChangeEvents
</a></li>
3131 <li data-name=
"LuCI.ui.DynamicList#setPlaceholder"><a href=
"LuCI.ui.DynamicList.html#setPlaceholder">setPlaceholder
</a></li>
3133 <li data-name=
"LuCI.ui.DynamicList#setUpdateEvents"><a href=
"LuCI.ui.DynamicList.html#setUpdateEvents">setUpdateEvents
</a></li>
3135 <li data-name=
"LuCI.ui.DynamicList#setValue"><a href=
"LuCI.ui.DynamicList.html#setValue">setValue
</a></li>
3137 <li data-name=
"LuCI.ui.DynamicList#triggerValidation"><a href=
"LuCI.ui.DynamicList.html#triggerValidation">triggerValidation
</a></li>
3140 <ul class=
"events itemMembers">
3145 <li class=
"item" data-name=
"LuCI.ui.FileUpload">
3146 <span class=
"title">
3147 <a href=
"LuCI.ui.FileUpload.html">LuCI.ui.FileUpload
</a>
3150 <ul class=
"members itemMembers">
3153 <ul class=
"typedefs itemMembers">
3155 <span class=
"subtitle">Typedefs
</span>
3157 <li data-name=
"LuCI.ui.FileUpload.InitOptions"><a href=
"LuCI.ui.FileUpload.html#.InitOptions">InitOptions
</a></li>
3160 <ul class=
"typedefs itemMembers">
3163 <ul class=
"methods itemMembers">
3165 <span class=
"subtitle">Methods
</span>
3167 <li data-name=
"LuCI.ui.FileUpload#getValidationError"><a href=
"LuCI.ui.FileUpload.html#getValidationError">getValidationError
</a></li>
3169 <li data-name=
"LuCI.ui.FileUpload#getValue"><a href=
"LuCI.ui.FileUpload.html#getValue">getValue
</a></li>
3171 <li data-name=
"LuCI.ui.FileUpload#isChanged"><a href=
"LuCI.ui.FileUpload.html#isChanged">isChanged
</a></li>
3173 <li data-name=
"LuCI.ui.FileUpload#isValid"><a href=
"LuCI.ui.FileUpload.html#isValid">isValid
</a></li>
3175 <li data-name=
"LuCI.ui.FileUpload#registerEvents"><a href=
"LuCI.ui.FileUpload.html#registerEvents">registerEvents
</a></li>
3177 <li data-name=
"LuCI.ui.FileUpload#render"><a href=
"LuCI.ui.FileUpload.html#render">render
</a></li>
3179 <li data-name=
"LuCI.ui.FileUpload#setChangeEvents"><a href=
"LuCI.ui.FileUpload.html#setChangeEvents">setChangeEvents
</a></li>
3181 <li data-name=
"LuCI.ui.FileUpload#setPlaceholder"><a href=
"LuCI.ui.FileUpload.html#setPlaceholder">setPlaceholder
</a></li>
3183 <li data-name=
"LuCI.ui.FileUpload#setUpdateEvents"><a href=
"LuCI.ui.FileUpload.html#setUpdateEvents">setUpdateEvents
</a></li>
3185 <li data-name=
"LuCI.ui.FileUpload#setValue"><a href=
"LuCI.ui.FileUpload.html#setValue">setValue
</a></li>
3187 <li data-name=
"LuCI.ui.FileUpload#triggerValidation"><a href=
"LuCI.ui.FileUpload.html#triggerValidation">triggerValidation
</a></li>
3190 <ul class=
"events itemMembers">
3195 <li class=
"item" data-name=
"LuCI.ui.Hiddenfield">
3196 <span class=
"title">
3197 <a href=
"LuCI.ui.Hiddenfield.html">LuCI.ui.Hiddenfield
</a>
3200 <ul class=
"members itemMembers">
3203 <ul class=
"typedefs itemMembers">
3206 <ul class=
"typedefs itemMembers">
3209 <ul class=
"methods itemMembers">
3211 <span class=
"subtitle">Methods
</span>
3213 <li data-name=
"LuCI.ui.Hiddenfield#getValidationError"><a href=
"LuCI.ui.Hiddenfield.html#getValidationError">getValidationError
</a></li>
3215 <li data-name=
"LuCI.ui.Hiddenfield#getValue"><a href=
"LuCI.ui.Hiddenfield.html#getValue">getValue
</a></li>
3217 <li data-name=
"LuCI.ui.Hiddenfield#isChanged"><a href=
"LuCI.ui.Hiddenfield.html#isChanged">isChanged
</a></li>
3219 <li data-name=
"LuCI.ui.Hiddenfield#isValid"><a href=
"LuCI.ui.Hiddenfield.html#isValid">isValid
</a></li>
3221 <li data-name=
"LuCI.ui.Hiddenfield#registerEvents"><a href=
"LuCI.ui.Hiddenfield.html#registerEvents">registerEvents
</a></li>
3223 <li data-name=
"LuCI.ui.Hiddenfield#render"><a href=
"LuCI.ui.Hiddenfield.html#render">render
</a></li>
3225 <li data-name=
"LuCI.ui.Hiddenfield#setChangeEvents"><a href=
"LuCI.ui.Hiddenfield.html#setChangeEvents">setChangeEvents
</a></li>
3227 <li data-name=
"LuCI.ui.Hiddenfield#setPlaceholder"><a href=
"LuCI.ui.Hiddenfield.html#setPlaceholder">setPlaceholder
</a></li>
3229 <li data-name=
"LuCI.ui.Hiddenfield#setUpdateEvents"><a href=
"LuCI.ui.Hiddenfield.html#setUpdateEvents">setUpdateEvents
</a></li>
3231 <li data-name=
"LuCI.ui.Hiddenfield#setValue"><a href=
"LuCI.ui.Hiddenfield.html#setValue">setValue
</a></li>
3233 <li data-name=
"LuCI.ui.Hiddenfield#triggerValidation"><a href=
"LuCI.ui.Hiddenfield.html#triggerValidation">triggerValidation
</a></li>
3236 <ul class=
"events itemMembers">
3241 <li class=
"item" data-name=
"LuCI.ui.menu">
3242 <span class=
"title">
3243 <a href=
"LuCI.ui.menu.html">LuCI.ui.menu
</a>
3246 <ul class=
"members itemMembers">
3249 <ul class=
"typedefs itemMembers">
3251 <span class=
"subtitle">Typedefs
</span>
3253 <li data-name=
"LuCI.ui.menu.MenuNode"><a href=
"LuCI.ui.menu.html#.MenuNode">MenuNode
</a></li>
3256 <ul class=
"typedefs itemMembers">
3259 <ul class=
"methods itemMembers">
3261 <span class=
"subtitle">Methods
</span>
3263 <li data-name=
"LuCI.ui.menu#flushCache"><a href=
"LuCI.ui.menu.html#flushCache">flushCache
</a></li>
3265 <li data-name=
"LuCI.ui.menu#getChildren"><a href=
"LuCI.ui.menu.html#getChildren">getChildren
</a></li>
3267 <li data-name=
"LuCI.ui.menu#load"><a href=
"LuCI.ui.menu.html#load">load
</a></li>
3270 <ul class=
"events itemMembers">
3275 <li class=
"item" data-name=
"LuCI.ui.Select">
3276 <span class=
"title">
3277 <a href=
"LuCI.ui.Select.html">LuCI.ui.Select
</a>
3280 <ul class=
"members itemMembers">
3283 <ul class=
"typedefs itemMembers">
3285 <span class=
"subtitle">Typedefs
</span>
3287 <li data-name=
"LuCI.ui.Select.InitOptions"><a href=
"LuCI.ui.Select.html#.InitOptions">InitOptions
</a></li>
3290 <ul class=
"typedefs itemMembers">
3293 <ul class=
"methods itemMembers">
3295 <span class=
"subtitle">Methods
</span>
3297 <li data-name=
"LuCI.ui.Select#getValidationError"><a href=
"LuCI.ui.Select.html#getValidationError">getValidationError
</a></li>
3299 <li data-name=
"LuCI.ui.Select#getValue"><a href=
"LuCI.ui.Select.html#getValue">getValue
</a></li>
3301 <li data-name=
"LuCI.ui.Select#isChanged"><a href=
"LuCI.ui.Select.html#isChanged">isChanged
</a></li>
3303 <li data-name=
"LuCI.ui.Select#isValid"><a href=
"LuCI.ui.Select.html#isValid">isValid
</a></li>
3305 <li data-name=
"LuCI.ui.Select#registerEvents"><a href=
"LuCI.ui.Select.html#registerEvents">registerEvents
</a></li>
3307 <li data-name=
"LuCI.ui.Select#render"><a href=
"LuCI.ui.Select.html#render">render
</a></li>
3309 <li data-name=
"LuCI.ui.Select#setChangeEvents"><a href=
"LuCI.ui.Select.html#setChangeEvents">setChangeEvents
</a></li>
3311 <li data-name=
"LuCI.ui.Select#setPlaceholder"><a href=
"LuCI.ui.Select.html#setPlaceholder">setPlaceholder
</a></li>
3313 <li data-name=
"LuCI.ui.Select#setUpdateEvents"><a href=
"LuCI.ui.Select.html#setUpdateEvents">setUpdateEvents
</a></li>
3315 <li data-name=
"LuCI.ui.Select#setValue"><a href=
"LuCI.ui.Select.html#setValue">setValue
</a></li>
3317 <li data-name=
"LuCI.ui.Select#triggerValidation"><a href=
"LuCI.ui.Select.html#triggerValidation">triggerValidation
</a></li>
3320 <ul class=
"events itemMembers">
3325 <li class=
"item" data-name=
"LuCI.ui.tabs">
3326 <span class=
"title">
3327 <a href=
"LuCI.ui.tabs.html">LuCI.ui.tabs
</a>
3330 <ul class=
"members itemMembers">
3333 <ul class=
"typedefs itemMembers">
3336 <ul class=
"typedefs itemMembers">
3339 <ul class=
"methods itemMembers">
3341 <span class=
"subtitle">Methods
</span>
3343 <li data-name=
"LuCI.ui.tabs#initTabGroup"><a href=
"LuCI.ui.tabs.html#initTabGroup">initTabGroup
</a></li>
3345 <li data-name=
"LuCI.ui.tabs#isEmptyPane"><a href=
"LuCI.ui.tabs.html#isEmptyPane">isEmptyPane
</a></li>
3348 <ul class=
"events itemMembers">
3353 <li class=
"item" data-name=
"LuCI.ui.Textarea">
3354 <span class=
"title">
3355 <a href=
"LuCI.ui.Textarea.html">LuCI.ui.Textarea
</a>
3358 <ul class=
"members itemMembers">
3361 <ul class=
"typedefs itemMembers">
3363 <span class=
"subtitle">Typedefs
</span>
3365 <li data-name=
"LuCI.ui.Textarea.InitOptions"><a href=
"LuCI.ui.Textarea.html#.InitOptions">InitOptions
</a></li>
3368 <ul class=
"typedefs itemMembers">
3371 <ul class=
"methods itemMembers">
3373 <span class=
"subtitle">Methods
</span>
3375 <li data-name=
"LuCI.ui.Textarea#getValidationError"><a href=
"LuCI.ui.Textarea.html#getValidationError">getValidationError
</a></li>
3377 <li data-name=
"LuCI.ui.Textarea#getValue"><a href=
"LuCI.ui.Textarea.html#getValue">getValue
</a></li>
3379 <li data-name=
"LuCI.ui.Textarea#isChanged"><a href=
"LuCI.ui.Textarea.html#isChanged">isChanged
</a></li>
3381 <li data-name=
"LuCI.ui.Textarea#isValid"><a href=
"LuCI.ui.Textarea.html#isValid">isValid
</a></li>
3383 <li data-name=
"LuCI.ui.Textarea#registerEvents"><a href=
"LuCI.ui.Textarea.html#registerEvents">registerEvents
</a></li>
3385 <li data-name=
"LuCI.ui.Textarea#render"><a href=
"LuCI.ui.Textarea.html#render">render
</a></li>
3387 <li data-name=
"LuCI.ui.Textarea#setChangeEvents"><a href=
"LuCI.ui.Textarea.html#setChangeEvents">setChangeEvents
</a></li>
3389 <li data-name=
"LuCI.ui.Textarea#setPlaceholder"><a href=
"LuCI.ui.Textarea.html#setPlaceholder">setPlaceholder
</a></li>
3391 <li data-name=
"LuCI.ui.Textarea#setUpdateEvents"><a href=
"LuCI.ui.Textarea.html#setUpdateEvents">setUpdateEvents
</a></li>
3393 <li data-name=
"LuCI.ui.Textarea#setValue"><a href=
"LuCI.ui.Textarea.html#setValue">setValue
</a></li>
3395 <li data-name=
"LuCI.ui.Textarea#triggerValidation"><a href=
"LuCI.ui.Textarea.html#triggerValidation">triggerValidation
</a></li>
3398 <ul class=
"events itemMembers">
3403 <li class=
"item" data-name=
"LuCI.ui.Textfield">
3404 <span class=
"title">
3405 <a href=
"LuCI.ui.Textfield.html">LuCI.ui.Textfield
</a>
3408 <ul class=
"members itemMembers">
3411 <ul class=
"typedefs itemMembers">
3413 <span class=
"subtitle">Typedefs
</span>
3415 <li data-name=
"LuCI.ui.Textfield.InitOptions"><a href=
"LuCI.ui.Textfield.html#.InitOptions">InitOptions
</a></li>
3418 <ul class=
"typedefs itemMembers">
3421 <ul class=
"methods itemMembers">
3423 <span class=
"subtitle">Methods
</span>
3425 <li data-name=
"LuCI.ui.Textfield#getValidationError"><a href=
"LuCI.ui.Textfield.html#getValidationError">getValidationError
</a></li>
3427 <li data-name=
"LuCI.ui.Textfield#getValue"><a href=
"LuCI.ui.Textfield.html#getValue">getValue
</a></li>
3429 <li data-name=
"LuCI.ui.Textfield#isChanged"><a href=
"LuCI.ui.Textfield.html#isChanged">isChanged
</a></li>
3431 <li data-name=
"LuCI.ui.Textfield#isValid"><a href=
"LuCI.ui.Textfield.html#isValid">isValid
</a></li>
3433 <li data-name=
"LuCI.ui.Textfield#registerEvents"><a href=
"LuCI.ui.Textfield.html#registerEvents">registerEvents
</a></li>
3435 <li data-name=
"LuCI.ui.Textfield#render"><a href=
"LuCI.ui.Textfield.html#render">render
</a></li>
3437 <li data-name=
"LuCI.ui.Textfield#setChangeEvents"><a href=
"LuCI.ui.Textfield.html#setChangeEvents">setChangeEvents
</a></li>
3439 <li data-name=
"LuCI.ui.Textfield#setPlaceholder"><a href=
"LuCI.ui.Textfield.html#setPlaceholder">setPlaceholder
</a></li>
3441 <li data-name=
"LuCI.ui.Textfield#setUpdateEvents"><a href=
"LuCI.ui.Textfield.html#setUpdateEvents">setUpdateEvents
</a></li>
3443 <li data-name=
"LuCI.ui.Textfield#setValue"><a href=
"LuCI.ui.Textfield.html#setValue">setValue
</a></li>
3445 <li data-name=
"LuCI.ui.Textfield#triggerValidation"><a href=
"LuCI.ui.Textfield.html#triggerValidation">triggerValidation
</a></li>
3448 <ul class=
"events itemMembers">
3453 <li class=
"item" data-name=
"LuCI.view">
3454 <span class=
"title">
3455 <a href=
"LuCI.view.html">LuCI.view
</a>
3458 <ul class=
"members itemMembers">
3461 <ul class=
"typedefs itemMembers">
3464 <ul class=
"typedefs itemMembers">
3467 <ul class=
"methods itemMembers">
3469 <span class=
"subtitle">Methods
</span>
3471 <li data-name=
"LuCI.view#addFooter"><a href=
"LuCI.view.html#addFooter">addFooter
</a></li>
3473 <li data-name=
"LuCI.view#handleReset"><a href=
"LuCI.view.html#handleReset">handleReset
</a></li>
3475 <li data-name=
"LuCI.view#handleSave"><a href=
"LuCI.view.html#handleSave">handleSave
</a></li>
3477 <li data-name=
"LuCI.view#handleSaveApply"><a href=
"LuCI.view.html#handleSaveApply">handleSaveApply
</a></li>
3479 <li data-name=
"LuCI.view#load"><a href=
"LuCI.view.html#load">load
</a></li>
3481 <li data-name=
"LuCI.view#render"><a href=
"LuCI.view.html#render">render
</a></li>
3484 <ul class=
"events itemMembers">
3489 <li class=
"item" data-name=
"LuCI.xhr">
3490 <span class=
"title">
3491 <a href=
"LuCI.xhr.html">LuCI.xhr
</a>
3494 <ul class=
"members itemMembers">
3497 <ul class=
"typedefs itemMembers">
3500 <ul class=
"typedefs itemMembers">
3503 <ul class=
"methods itemMembers">
3505 <span class=
"subtitle">Methods
</span>
3507 <li data-name=
"LuCI.xhr#abort"><a href=
"LuCI.xhr.html#abort">abort
</a></li>
3509 <li data-name=
"LuCI.xhr#busy"><a href=
"LuCI.xhr.html#busy">busy
</a></li>
3511 <li data-name=
"LuCI.xhr#cancel"><a href=
"LuCI.xhr.html#cancel">cancel
</a></li>
3513 <li data-name=
"LuCI.xhr#get"><a href=
"LuCI.xhr.html#get">get
</a></li>
3515 <li data-name=
"LuCI.xhr#post"><a href=
"LuCI.xhr.html#post">post
</a></li>
3517 <li data-name=
"LuCI.xhr#send_form"><a href=
"LuCI.xhr.html#send_form">send_form
</a></li>
3520 <ul class=
"events itemMembers">
3528 <h1 class=
"page-title" data-filename=
"luci.js.html">Source: luci.js
</h1>
3535 <pre id=
"source-code" class=
"prettyprint source "><code>/**
3539 * This is the LuCI base class. It is automatically instantiated and
3540 * accessible using the global `L` variable.
3542 * @param {Object} env
3543 * The environment settings to use for the LuCI runtime.
3546 (function(window, document, undefined) {
3551 /* Object.assign polyfill for IE */
3552 if (typeof Object.assign !== 'function') {
3553 Object.defineProperty(Object, 'assign', {
3554 value: function assign(target, varArgs) {
3556 throw new TypeError('Cannot convert undefined or null to object');
3558 var to = Object(target);
3560 for (var index =
1; index
< arguments.length; index++)
3561 if (arguments[index] != null)
3562 for (var nextKey in arguments[index])
3563 if (Object.prototype.hasOwnProperty.call(arguments[index], nextKey))
3564 to[nextKey] = arguments[index][nextKey];
3573 /* Promise.finally polyfill */
3574 if (typeof Promise.prototype.finally !== 'function') {
3575 Promise.prototype.finally = function(fn) {
3576 var onFinally = function(cb) {
3577 return Promise.resolve(fn.call(this)).then(cb);
3581 function(result) { return onFinally.call(this, function() { return result }) },
3582 function(reason) { return onFinally.call(this, function() { return Promise.reject(reason) }) }
3588 * Class declaration and inheritance helper
3591 var toCamelCase = function(s) {
3592 return s.replace(/(?:^|[\. -])(.)/g, function(m0, m1) { return m1.toUpperCase() });
3601 * `LuCI.baseclass` is the abstract base class all LuCI classes inherit from.
3603 * It provides simple means to create subclasses of given classes and
3604 * implements prototypal inheritance.
3606 var superContext = {}, classIndex =
0, Class = Object.assign(function() {}, {
3608 * Extends this base class with the properties described in
3609 * `properties` and returns a new subclassed Class instance
3611 * @memberof LuCI.baseclass
3613 * @param {Object
<string, *
>} properties
3614 * An object describing the properties to add to the new
3617 * @returns {LuCI.baseclass}
3618 * Returns a new LuCI.baseclass subclassed from this class, extended
3619 * by the given properties and with its prototype set to this base
3620 * class to enable inheritance. The resulting value represents a
3621 * class constructor and can be instantiated with `new`.
3623 extend: function(properties) {
3625 __id__: { value: classIndex },
3626 __base__: { value: this.prototype },
3627 __name__: { value: properties.__name__ || 'anonymous' + classIndex++ }
3630 var ClassConstructor = function() {
3631 if (!(this instanceof ClassConstructor))
3632 throw new TypeError('Constructor must not be called without
"new"');
3634 if (Object.getPrototypeOf(this).hasOwnProperty('__init__')) {
3635 if (typeof(this.__init__) != 'function')
3636 throw new TypeError('Class __init__ member is not a function');
3638 this.__init__.apply(this, arguments)
3641 this.super('__init__', arguments);
3645 for (var key in properties)
3646 if (!props[key]
&& properties.hasOwnProperty(key))
3647 props[key] = { value: properties[key], writable: true };
3649 ClassConstructor.prototype = Object.create(this.prototype, props);
3650 ClassConstructor.prototype.constructor = ClassConstructor;
3651 Object.assign(ClassConstructor, this);
3652 ClassConstructor.displayName = toCamelCase(props.__name__.value + 'Class');
3654 return ClassConstructor;
3658 * Extends this base class with the properties described in
3659 * `properties`, instantiates the resulting subclass using
3660 * the additional optional arguments passed to this function
3661 * and returns the resulting subclassed Class instance.
3663 * This function serves as a convenience shortcut for
3664 * {@link LuCI.baseclass.extend Class.extend()} and subsequent
3667 * @memberof LuCI.baseclass
3669 * @param {Object
<string, *
>} properties
3670 * An object describing the properties to add to the new
3673 * @param {...*} [new_args]
3674 * Specifies arguments to be passed to the subclass constructor
3675 * as-is in order to instantiate the new subclass.
3677 * @returns {LuCI.baseclass}
3678 * Returns a new LuCI.baseclass instance extended by the given
3679 * properties with its prototype set to this base class to
3680 * enable inheritance.
3682 singleton: function(properties /*, ... */) {
3683 return Class.extend(properties)
3684 .instantiate(Class.prototype.varargs(arguments,
1));
3688 * Calls the class constructor using `new` with the given argument
3689 * array being passed as variadic parameters to the constructor.
3691 * @memberof LuCI.baseclass
3693 * @param {Array
<*
>} params
3694 * An array of arbitrary values which will be passed as arguments
3695 * to the constructor function.
3697 * @param {...*} [new_args]
3698 * Specifies arguments to be passed to the subclass constructor
3699 * as-is in order to instantiate the new subclass.
3701 * @returns {LuCI.baseclass}
3702 * Returns a new LuCI.baseclass instance extended by the given
3703 * properties with its prototype set to this base class to
3704 * enable inheritance.
3706 instantiate: function(args) {
3707 return new (Function.prototype.bind.apply(this,
3708 Class.prototype.varargs(args,
0, null)))();
3712 call: function(self, method) {
3713 if (typeof(this.prototype[method]) != 'function')
3714 throw new ReferenceError(method + ' is not defined in class');
3716 return this.prototype[method].apply(self, self.varargs(arguments,
1));
3720 * Checks whether the given class value is a subclass of this class.
3722 * @memberof LuCI.baseclass
3724 * @param {LuCI.baseclass} classValue
3725 * The class object to test.
3727 * @returns {boolean}
3728 * Returns `true` when the given `classValue` is a subclass of this
3729 * class or `false` if the given value is not a valid class or not
3730 * a subclass of this class'.
3732 isSubclass: function(classValue) {
3733 return (classValue != null
&&
3734 typeof(classValue) == 'function'
&&
3735 classValue.prototype instanceof this);
3740 * Extract all values from the given argument array beginning from
3741 * `offset` and prepend any further given optional parameters to
3742 * the beginning of the resulting array copy.
3744 * @memberof LuCI.baseclass
3747 * @param {Array
<*
>} args
3748 * The array to extract the values from.
3750 * @param {number} offset
3751 * The offset from which to extract the values. An offset of `
0`
3752 * would copy all values till the end.
3754 * @param {...*} [extra_args]
3755 * Extra arguments to add to prepend to the resulting array.
3757 * @returns {Array
<*
>}
3758 * Returns a new array consisting of the optional extra arguments
3759 * and the values extracted from the `args` array beginning with
3762 varargs: function(args, offset /*, ... */) {
3763 return Array.prototype.slice.call(arguments,
2)
3764 .concat(Array.prototype.slice.call(args, offset));
3768 * Walks up the parent class chain and looks for a class member
3769 * called `key` in any of the parent classes this class inherits
3770 * from. Returns the member value of the superclass or calls the
3771 * member as function and returns its return value when the
3772 * optional `callArgs` array is given.
3774 * This function has two signatures and is sensitive to the
3775 * amount of arguments passed to it:
3776 * - `super('key')` -
3777 * Returns the value of `key` when found within one of the
3779 * - `super('key', ['arg1', 'arg2'])` -
3780 * Calls the `key()` method with parameters `arg1` and `arg2`
3781 * when found within one of the parent classes.
3783 * @memberof LuCI.baseclass
3786 * @param {string} key
3787 * The name of the superclass member to retrieve.
3789 * @param {Array
<*
>} [callArgs]
3790 * An optional array of function call parameters to use. When
3791 * this parameter is specified, the found member value is called
3792 * as function using the values of this array as arguments.
3794 * @throws {ReferenceError}
3795 * Throws a `ReferenceError` when `callArgs` are specified and
3796 * the found member named by `key` is not a function value.
3799 * Returns the value of the found member or the return value of
3800 * the call to the found method. Returns `null` when no member
3801 * was found in the parent class chain or when the call to the
3802 * superclass method returned `null`.
3804 super: function(key, callArgs) {
3808 var slotIdx = this.__id__ + '.' + key,
3809 symStack = superContext[slotIdx],
3812 for (protoCtx = Object.getPrototypeOf(symStack ? symStack[
0] : Object.getPrototypeOf(this));
3813 protoCtx != null
&& !protoCtx.hasOwnProperty(key);
3814 protoCtx = Object.getPrototypeOf(protoCtx)) {}
3816 if (protoCtx == null)
3819 var res = protoCtx[key];
3821 if (arguments.length
> 1) {
3822 if (typeof(res) != 'function')
3823 throw new ReferenceError(key + ' is not a function in base class');
3825 if (typeof(callArgs) != 'object')
3826 callArgs = this.varargs(arguments,
1);
3829 symStack.unshift(protoCtx);
3831 superContext[slotIdx] = [ protoCtx ];
3833 res = res.apply(this, callArgs);
3835 if (symStack
&& symStack.length
> 1)
3836 symStack.shift(protoCtx);
3838 delete superContext[slotIdx];
3845 * Returns a string representation of this class.
3848 * Returns a string representation of this class containing the
3849 * constructor functions `displayName` and describing the class
3850 * members and their respective types.
3852 toString: function() {
3853 var s = '[' + this.constructor.displayName + ']', f = true;
3854 for (var k in this) {
3855 if (this.hasOwnProperty(k)) {
3856 s += (f ? ' {\n' : '') + ' ' + k + ': ' + typeof(this[k]) + '\n';
3860 return s + (f ? '' : '}');
3872 * The `Headers` class is an internal utility class exposed in HTTP
3873 * response objects using the `response.headers` property.
3875 var Headers = Class.extend(/** @lends LuCI.headers.prototype */ {
3876 __name__: 'LuCI.headers',
3877 __init__: function(xhr) {
3878 var hdrs = this.headers = {};
3879 xhr.getAllResponseHeaders().split(/\r\n/).forEach(function(line) {
3880 var m = /^([^:]+):(.*)$/.exec(line);
3882 hdrs[m[
1].trim().toLowerCase()] = m[
2].trim();
3887 * Checks whether the given header name is present.
3888 * Note: Header-Names are case-insensitive.
3891 * @memberof LuCI.headers
3892 * @param {string} name
3893 * The header name to check
3895 * @returns {boolean}
3896 * Returns `true` if the header name is present, `false` otherwise
3898 has: function(name) {
3899 return this.headers.hasOwnProperty(String(name).toLowerCase());
3903 * Returns the value of the given header name.
3904 * Note: Header-Names are case-insensitive.
3907 * @memberof LuCI.headers
3908 * @param {string} name
3909 * The header name to read
3911 * @returns {string|null}
3912 * The value of the given header name or `null` if the header isn't present.
3914 get: function(name) {
3915 var key = String(name).toLowerCase();
3916 return this.headers.hasOwnProperty(key) ? this.headers[key] : null;
3926 * The `Response` class is an internal utility class representing HTTP responses.
3928 var Response = Class.extend({
3929 __name__: 'LuCI.response',
3930 __init__: function(xhr, url, duration, headers, content) {
3932 * Describes whether the response is successful (status codes `
200.
.299`) or not
3934 * @memberof LuCI.response
3938 this.ok = (xhr.status
>=
200 && xhr.status
<=
299);
3941 * The numeric HTTP status code of the response
3943 * @memberof LuCI.response
3947 this.status = xhr.status;
3950 * The HTTP status description message of the response
3952 * @memberof LuCI.response
3956 this.statusText = xhr.statusText;
3959 * The HTTP headers of the response
3961 * @memberof LuCI.response
3963 * @type {LuCI.headers}
3965 this.headers = (headers != null) ? headers : new Headers(xhr);
3968 * The total duration of the HTTP request in milliseconds
3970 * @memberof LuCI.response
3974 this.duration = duration;
3977 * The final URL of the request, i.e. after following redirects.
3979 * @memberof LuCI.response
3988 if (content instanceof Blob) {
3989 this.responseBlob = content;
3990 this.responseJSON = null;
3991 this.responseText = null;
3993 else if (content != null
&& typeof(content) == 'object') {
3994 this.responseBlob = null;
3995 this.responseJSON = content;
3996 this.responseText = null;
3998 else if (content != null) {
3999 this.responseBlob = null;
4000 this.responseJSON = null;
4001 this.responseText = String(content);
4004 this.responseJSON = null;
4006 if (xhr.responseType == 'blob') {
4007 this.responseBlob = xhr.response;
4008 this.responseText = null;
4011 this.responseBlob = null;
4012 this.responseText = xhr.responseText;
4018 * Clones the given response object, optionally overriding the content
4019 * of the cloned instance.
4022 * @memberof LuCI.response
4023 * @param {*} [content]
4024 * Override the content of the cloned response. Object values will be
4025 * treated as JSON response data, all other types will be converted
4026 * using `String()` and treated as response text.
4028 * @returns {LuCI.response}
4029 * The cloned `Response` instance.
4031 clone: function(content) {
4032 var copy = new Response(this.xhr, this.url, this.duration, this.headers, content);
4035 copy.status = this.status;
4036 copy.statusText = this.statusText;
4042 * Access the response content as JSON data.
4045 * @memberof LuCI.response
4046 * @throws {SyntaxError}
4047 * Throws `SyntaxError` if the content isn't valid JSON.
4050 * The parsed JSON data.
4053 if (this.responseJSON == null)
4054 this.responseJSON = JSON.parse(this.responseText);
4056 return this.responseJSON;
4060 * Access the response content as string.
4063 * @memberof LuCI.response
4065 * The response content.
4068 if (this.responseText == null
&& this.responseJSON != null)
4069 this.responseText = JSON.stringify(this.responseJSON);
4071 return this.responseText;
4075 * Access the response content as blob.
4078 * @memberof LuCI.response
4080 * The response content as blob.
4083 return this.responseBlob;
4088 var requestQueue = [];
4090 function isQueueableRequest(opt) {
4094 if (opt.method != 'POST' || typeof(opt.content) != 'object')
4097 if (opt.nobatch === true)
4100 var rpcBaseURL = Request.expandURL(classes.rpc.getBaseURL());
4102 return (rpcBaseURL != null
&& opt.url.indexOf(rpcBaseURL) ==
0);
4105 function flushRequestQueue() {
4106 if (!requestQueue.length)
4109 var reqopt = Object.assign({}, requestQueue[
0][
0], { content: [], nobatch: true }),
4112 for (var i =
0; i
< requestQueue.length; i++) {
4113 batch[i] = requestQueue[i];
4114 reqopt.content[i] = batch[i][
0].content;
4117 requestQueue.length =
0;
4119 Request.request(rpcBaseURL, reqopt).then(function(reply) {
4120 var json = null, req = null;
4122 try { json = reply.json() }
4125 while ((req = batch.shift()) != null)
4126 if (Array.isArray(json)
&& json.length)
4127 req[
2].call(reqopt, reply.clone(json.shift()));
4129 req[
1].call(reqopt, new Error('No related RPC reply'));
4130 }).catch(function(error) {
4133 while ((req = batch.shift()) != null)
4134 req[
1].call(reqopt, error);
4144 * The `Request` class allows initiating HTTP requests and provides utilities
4145 * for dealing with responses.
4147 var Request = Class.singleton(/** @lends LuCI.request.prototype */ {
4148 __name__: 'LuCI.request',
4153 * Turn the given relative URL into an absolute URL if necessary.
4156 * @memberof LuCI.request
4157 * @param {string} url
4158 * The URL to convert.
4161 * The absolute URL derived from the given one, or the original URL
4162 * if it already was absolute.
4164 expandURL: function(url) {
4165 if (!/^(?:[^/]+:)?\/\//.test(url))
4166 url = location.protocol + '//' + location.host + url;
4172 * @typedef {Object} RequestOptions
4173 * @memberof LuCI.request
4175 * @property {string} [method=GET]
4176 * The HTTP method to use, e.g. `GET` or `POST`.
4178 * @property {Object
<string, Object|string
>} [query]
4179 * Query string data to append to the URL. Non-string values of the
4180 * given object will be converted to JSON.
4182 * @property {boolean} [cache=false]
4183 * Specifies whether the HTTP response may be retrieved from cache.
4185 * @property {string} [username]
4186 * Provides a username for HTTP basic authentication.
4188 * @property {string} [password]
4189 * Provides a password for HTTP basic authentication.
4191 * @property {number} [timeout]
4192 * Specifies the request timeout in milliseconds.
4194 * @property {boolean} [credentials=false]
4195 * Whether to include credentials such as cookies in the request.
4197 * @property {string} [responseType=text]
4198 * Overrides the request response type. Valid values or `text` to
4199 * interpret the response as UTF-
8 string or `blob` to handle the
4200 * response as binary `Blob` data.
4202 * @property {*} [content]
4203 * Specifies the HTTP message body to send along with the request.
4204 * If the value is a function, it is invoked and the return value
4205 * used as content, if it is a FormData instance, it is used as-is,
4206 * if it is an object, it will be converted to JSON, in all other
4207 * cases it is converted to a string.
4209 * @property {Object
<string, string
>} [header]
4210 * Specifies HTTP headers to set for the request.
4212 * @property {function} [progress]
4213 * An optional request callback function which receives ProgressEvent
4214 * instances as sole argument during the HTTP request transfer.
4218 * Initiate an HTTP request to the given target.
4221 * @memberof LuCI.request
4222 * @param {string} target
4223 * The URL to request.
4225 * @param {LuCI.request.RequestOptions} [options]
4226 * Additional options to configure the request.
4228 * @returns {Promise
<LuCI.response
>}
4229 * The resulting HTTP response.
4231 request: function(target, options) {
4232 return Promise.resolve(target).then((function(url) {
4233 var state = { xhr: new XMLHttpRequest(), url: this.expandURL(url), start: Date.now() },
4234 opt = Object.assign({}, options, state),
4237 callback = this.handleReadyStateChange;
4239 return new Promise(function(resolveFn, rejectFn) {
4240 opt.xhr.onreadystatechange = callback.bind(opt, resolveFn, rejectFn);
4241 opt.method = String(opt.method || 'GET').toUpperCase();
4243 if ('query' in opt) {
4244 var q = (opt.query != null) ? Object.keys(opt.query).map(function(k) {
4245 if (opt.query[k] != null) {
4246 var v = (typeof(opt.query[k]) == 'object')
4247 ? JSON.stringify(opt.query[k])
4248 : String(opt.query[k]);
4250 return '%s=%s'.format(encodeURIComponent(k), encodeURIComponent(v));
4253 return encodeURIComponent(k);
4255 }).join('
&') : '';
4258 switch (opt.method) {
4262 opt.url += ((/\?/).test(opt.url) ? '
&' : '?') + q;
4266 if (content == null) {
4268 contenttype = 'application/x-www-form-urlencoded';
4275 opt.url += ((/\?/).test(opt.url) ? '
&' : '?') + (new Date()).getTime();
4277 if (isQueueableRequest(opt)) {
4278 requestQueue.push([opt, rejectFn, resolveFn]);
4279 requestAnimationFrame(flushRequestQueue);
4283 if ('username' in opt
&& 'password' in opt)
4284 opt.xhr.open(opt.method, opt.url, true, opt.username, opt.password);
4286 opt.xhr.open(opt.method, opt.url, true);
4288 opt.xhr.responseType = opt.responseType || 'text';
4290 if ('overrideMimeType' in opt.xhr)
4291 opt.xhr.overrideMimeType('application/octet-stream');
4293 if ('timeout' in opt)
4294 opt.xhr.timeout = +opt.timeout;
4296 if ('credentials' in opt)
4297 opt.xhr.withCredentials = !!opt.credentials;
4299 if (opt.content != null) {
4300 switch (typeof(opt.content)) {
4302 content = opt.content(opt.xhr);
4306 if (!(opt.content instanceof FormData)) {
4307 content = JSON.stringify(opt.content);
4308 contenttype = 'application/json';
4311 content = opt.content;
4316 content = String(opt.content);
4320 if ('headers' in opt)
4321 for (var header in opt.headers)
4322 if (opt.headers.hasOwnProperty(header)) {
4323 if (header.toLowerCase() != 'content-type')
4324 opt.xhr.setRequestHeader(header, opt.headers[header]);
4326 contenttype = opt.headers[header];
4329 if ('progress' in opt
&& 'upload' in opt.xhr)
4330 opt.xhr.upload.addEventListener('progress', opt.progress);
4332 if (contenttype != null)
4333 opt.xhr.setRequestHeader('Content-Type', contenttype);
4336 opt.xhr.send(content);
4339 rejectFn.call(opt, e);
4345 handleReadyStateChange: function(resolveFn, rejectFn, ev) {
4347 duration = Date.now() - this.start;
4349 if (xhr.readyState !==
4)
4352 if (xhr.status ===
0 && xhr.statusText === '') {
4353 if (duration
>= this.timeout)
4354 rejectFn.call(this, new Error('XHR request timed out'));
4356 rejectFn.call(this, new Error('XHR request aborted by browser'));
4359 var response = new Response(
4360 xhr, xhr.responseURL || this.url, duration);
4362 Promise.all(Request.interceptors.map(function(fn) { return fn(response) }))
4363 .then(resolveFn.bind(this, response))
4364 .catch(rejectFn.bind(this));
4369 * Initiate an HTTP GET request to the given target.
4372 * @memberof LuCI.request
4373 * @param {string} url
4374 * The URL to request.
4376 * @param {LuCI.request.RequestOptions} [options]
4377 * Additional options to configure the request.
4379 * @returns {Promise
<LuCI.response
>}
4380 * The resulting HTTP response.
4382 get: function(url, options) {
4383 return this.request(url, Object.assign({ method: 'GET' }, options));
4387 * Initiate an HTTP POST request to the given target.
4390 * @memberof LuCI.request
4391 * @param {string} url
4392 * The URL to request.
4395 * The request data to send, see {@link LuCI.request.RequestOptions} for details.
4397 * @param {LuCI.request.RequestOptions} [options]
4398 * Additional options to configure the request.
4400 * @returns {Promise
<LuCI.response
>}
4401 * The resulting HTTP response.
4403 post: function(url, data, options) {
4404 return this.request(url, Object.assign({ method: 'POST', content: data }, options));
4408 * Interceptor functions are invoked whenever an HTTP reply is received, in the order
4409 * these functions have been registered.
4410 * @callback LuCI.request.interceptorFn
4411 * @param {LuCI.response} res
4412 * The HTTP response object
4416 * Register an HTTP response interceptor function. Interceptor
4417 * functions are useful to perform default actions on incoming HTTP
4418 * responses, such as checking for expired authentication or for
4419 * implementing request retries before returning a failure.
4422 * @memberof LuCI.request
4423 * @param {LuCI.request.interceptorFn} interceptorFn
4424 * The interceptor function to register.
4426 * @returns {LuCI.request.interceptorFn}
4427 * The registered function.
4429 addInterceptor: function(interceptorFn) {
4430 if (typeof(interceptorFn) == 'function')
4431 this.interceptors.push(interceptorFn);
4432 return interceptorFn;
4436 * Remove an HTTP response interceptor function. The passed function
4437 * value must be the very same value that was used to register the
4441 * @memberof LuCI.request
4442 * @param {LuCI.request.interceptorFn} interceptorFn
4443 * The interceptor function to remove.
4445 * @returns {boolean}
4446 * Returns `true` if any function has been removed, else `false`.
4448 removeInterceptor: function(interceptorFn) {
4449 var oldlen = this.interceptors.length, i = oldlen;
4451 if (this.interceptors[i] === interceptorFn)
4452 this.interceptors.splice(i,
1);
4453 return (this.interceptors.length
< oldlen);
4458 * @memberof LuCI.request
4462 * The `Request.poll` class provides some convince wrappers around
4463 * {@link LuCI.poll} mainly to simplify registering repeating HTTP
4464 * request calls as polling functions.
4468 * The callback function is invoked whenever an HTTP reply to a
4469 * polled request is received or when the polled request timed
4472 * @callback LuCI.request.poll~callbackFn
4473 * @param {LuCI.response} res
4474 * The HTTP response object.
4477 * The response JSON if the response could be parsed as such,
4480 * @param {number} duration
4481 * The total duration of the request in milliseconds.
4485 * Register a repeating HTTP request with an optional callback
4486 * to invoke whenever a response for the request is received.
4489 * @memberof LuCI.request.poll
4490 * @param {number} interval
4491 * The poll interval in seconds.
4493 * @param {string} url
4494 * The URL to request on each poll.
4496 * @param {LuCI.request.RequestOptions} [options]
4497 * Additional options to configure the request.
4499 * @param {LuCI.request.poll~callbackFn} [callback]
4500 * {@link LuCI.request.poll~callbackFn Callback} function to
4501 * invoke for each HTTP reply.
4503 * @throws {TypeError}
4504 * Throws `TypeError` when an invalid interval was passed.
4506 * @returns {function}
4507 * Returns the internally created poll function.
4509 add: function(interval, url, options, callback) {
4510 if (isNaN(interval) || interval
<=
0)
4511 throw new TypeError('Invalid poll interval');
4513 var ival = interval
>>> 0,
4514 opts = Object.assign({}, options, { timeout: ival *
1000 -
5 });
4516 var fn = function() {
4517 return Request.request(url, options).then(function(res) {
4521 var res_json = null;
4523 res_json = res.json();
4527 callback(res, res_json, res.duration);
4531 return (Poll.add(fn, ival) ? fn : null);
4535 * Remove a polling request that has been previously added using `add()`.
4536 * This function is essentially a wrapper around
4537 * {@link LuCI.poll.remove LuCI.poll.remove()}.
4540 * @memberof LuCI.request.poll
4541 * @param {function} entry
4542 * The poll function returned by {@link LuCI.request.poll#add add()}.
4544 * @returns {boolean}
4545 * Returns `true` if any function has been removed, else `false`.
4547 remove: function(entry) { return Poll.remove(entry) },
4550 * Alias for {@link LuCI.poll.start LuCI.poll.start()}.
4553 * @memberof LuCI.request.poll
4555 start: function() { return Poll.start() },
4558 * Alias for {@link LuCI.poll.stop LuCI.poll.stop()}.
4561 * @memberof LuCI.request.poll
4563 stop: function() { return Poll.stop() },
4566 * Alias for {@link LuCI.poll.active LuCI.poll.active()}.
4569 * @memberof LuCI.request.poll
4571 active: function() { return Poll.active() }
4581 * The `Poll` class allows registering and unregistering poll actions,
4582 * as well as starting, stopping and querying the state of the polling
4585 var Poll = Class.singleton(/** @lends LuCI.poll.prototype */ {
4586 __name__: 'LuCI.poll',
4591 * Add a new operation to the polling loop. If the polling loop is not
4592 * already started at this point, it will be implicitly started.
4595 * @memberof LuCI.poll
4596 * @param {function} fn
4597 * The function to invoke on each poll interval.
4599 * @param {number} interval
4600 * The poll interval in seconds.
4602 * @throws {TypeError}
4603 * Throws `TypeError` when an invalid interval was passed.
4605 * @returns {boolean}
4606 * Returns `true` if the function has been added or `false` if it
4607 * already is registered.
4609 add: function(fn, interval) {
4610 if (interval == null || interval
<=
0)
4611 interval = env.pollinterval || null;
4613 if (isNaN(interval) || typeof(fn) != 'function')
4614 throw new TypeError('Invalid argument to LuCI.poll.add()');
4616 for (var i =
0; i
< this.queue.length; i++)
4617 if (this.queue[i].fn === fn)
4628 if (this.tick != null
&& !this.active())
4635 * Remove an operation from the polling loop. If no further operations
4636 * are registered, the polling loop is implicitly stopped.
4639 * @memberof LuCI.poll
4640 * @param {function} fn
4641 * The function to remove.
4643 * @throws {TypeError}
4644 * Throws `TypeError` when the given argument isn't a function.
4646 * @returns {boolean}
4647 * Returns `true` if the function has been removed or `false` if it
4650 remove: function(fn) {
4651 if (typeof(fn) != 'function')
4652 throw new TypeError('Invalid argument to LuCI.poll.remove()');
4654 var len = this.queue.length;
4656 for (var i = len; i
> 0; i--)
4657 if (this.queue[i-
1].fn === fn)
4658 this.queue.splice(i-
1,
1);
4660 if (!this.queue.length
&& this.stop())
4663 return (this.queue.length != len);
4667 * (Re)start the polling loop. Dispatches a custom `poll-start` event
4668 * to the `document` object upon successful start.
4671 * @memberof LuCI.poll
4672 * @returns {boolean}
4673 * Returns `true` if polling has been started (or if no functions
4674 * where registered) or `false` when the polling loop already runs.
4682 if (this.queue.length) {
4683 this.timer = window.setInterval(this.step,
1000);
4685 document.dispatchEvent(new CustomEvent('poll-start'));
4692 * Stop the polling loop. Dispatches a custom `poll-stop` event
4693 * to the `document` object upon successful stop.
4696 * @memberof LuCI.poll
4697 * @returns {boolean}
4698 * Returns `true` if polling has been stopped or `false` if it didn't
4699 * run to begin with.
4705 document.dispatchEvent(new CustomEvent('poll-stop'));
4706 window.clearInterval(this.timer);
4714 for (var i =
0, e = null; (e = Poll.queue[i]) != null; i++) {
4715 if ((Poll.tick % e.i) !=
0)
4723 Promise.resolve(e.fn()).finally((function() { this.r = true }).bind(e));
4726 Poll.tick = (Poll.tick +
1) % Math.pow(
2,
32);
4730 * Test whether the polling loop is running.
4733 * @memberof LuCI.poll
4734 * @returns {boolean} - Returns `true` if polling is active, else `false`.
4736 active: function() {
4737 return (this.timer != null);
4747 * The `dom` class provides convenience method for creating and
4748 * manipulating DOM elements.
4750 * To import the class in views, use `'require dom'`, to import it in
4751 * external JavaScript, use `L.require(
"dom").then(...)`.
4753 var DOM = Class.singleton(/** @lends LuCI.dom.prototype */ {
4754 __name__: 'LuCI.dom',
4757 * Tests whether the given argument is a valid DOM `Node`.
4760 * @memberof LuCI.dom
4762 * The value to test.
4764 * @returns {boolean}
4765 * Returns `true` if the value is a DOM `Node`, else `false`.
4768 return (e != null
&& typeof(e) == 'object'
&& 'nodeType' in e);
4772 * Parses a given string as HTML and returns the first child node.
4775 * @memberof LuCI.dom
4777 * A string containing an HTML fragment to parse. Note that only
4778 * the first result of the resulting structure is returned, so an
4779 * input value of `
<div
>foo
</div
> <div
>bar
</div
>` will only return
4780 * the first `div` element node.
4783 * Returns the first DOM `Node` extracted from the HTML fragment or
4784 * `null` on parsing failures or if no element could be found.
4786 parse: function(s) {
4790 domParser = domParser || new DOMParser();
4791 elem = domParser.parseFromString(s, 'text/html').body.firstChild;
4799 * Tests whether a given `Node` matches the given query selector.
4801 * This function is a convenience wrapper around the standard
4802 * `Node.matches(
"selector")` function with the added benefit that
4803 * the `node` argument may be a non-`Node` value, in which case
4804 * this function simply returns `false`.
4807 * @memberof LuCI.dom
4809 * The `Node` argument to test the selector against.
4811 * @param {string} [selector]
4812 * The query selector expression to test against the given node.
4814 * @returns {boolean}
4815 * Returns `true` if the given node matches the specified selector
4816 * or `false` when the node argument is no valid DOM `Node` or the
4817 * selector didn't match.
4819 matches: function(node, selector) {
4820 var m = this.elem(node) ? node.matches || node.msMatchesSelector : null;
4821 return m ? m.call(node, selector) : false;
4825 * Returns the closest parent node that matches the given query
4826 * selector expression.
4828 * This function is a convenience wrapper around the standard
4829 * `Node.closest(
"selector")` function with the added benefit that
4830 * the `node` argument may be a non-`Node` value, in which case
4831 * this function simply returns `null`.
4834 * @memberof LuCI.dom
4836 * The `Node` argument to find the closest parent for.
4838 * @param {string} [selector]
4839 * The query selector expression to test against each parent.
4841 * @returns {Node|null}
4842 * Returns the closest parent node matching the selector or
4843 * `null` when the node argument is no valid DOM `Node` or the
4844 * selector didn't match any parent.
4846 parent: function(node, selector) {
4847 if (this.elem(node)
&& node.closest)
4848 return node.closest(selector);
4850 while (this.elem(node))
4851 if (this.matches(node, selector))
4854 node = node.parentNode;
4860 * Appends the given children data to the given node.
4863 * @memberof LuCI.dom
4865 * The `Node` argument to append the children to.
4867 * @param {*} [children]
4868 * The children to append to the given node.
4870 * When `children` is an array, then each item of the array
4871 * will be either appended as child element or text node,
4872 * depending on whether the item is a DOM `Node` instance or
4873 * some other non-`null` value. Non-`Node`, non-`null` values
4874 * will be converted to strings first before being passed as
4875 * argument to `createTextNode()`.
4877 * When `children` is a function, it will be invoked with
4878 * the passed `node` argument as sole parameter and the `append`
4879 * function will be invoked again, with the given `node` argument
4880 * as first and the return value of the `children` function as
4883 * When `children` is a DOM `Node` instance, it will be
4884 * appended to the given `node`.
4886 * When `children` is any other non-`null` value, it will be
4887 * converted to a string and appended to the `innerHTML` property
4888 * of the given `node`.
4890 * @returns {Node|null}
4891 * Returns the last children `Node` appended to the node or `null`
4892 * if either the `node` argument was no valid DOM `node` or if the
4893 * `children` was `null` or didn't result in further DOM nodes.
4895 append: function(node, children) {
4896 if (!this.elem(node))
4899 if (Array.isArray(children)) {
4900 for (var i =
0; i
< children.length; i++)
4901 if (this.elem(children[i]))
4902 node.appendChild(children[i]);
4903 else if (children !== null
&& children !== undefined)
4904 node.appendChild(document.createTextNode('' + children[i]));
4906 return node.lastChild;
4908 else if (typeof(children) === 'function') {
4909 return this.append(node, children(node));
4911 else if (this.elem(children)) {
4912 return node.appendChild(children);
4914 else if (children !== null
&& children !== undefined) {
4915 node.innerHTML = '' + children;
4916 return node.lastChild;
4923 * Replaces the content of the given node with the given children.
4925 * This function first removes any children of the given DOM
4926 * `Node` and then adds the given children following the
4927 * rules outlined below.
4930 * @memberof LuCI.dom
4932 * The `Node` argument to replace the children of.
4934 * @param {*} [children]
4935 * The children to replace into the given node.
4937 * When `children` is an array, then each item of the array
4938 * will be either appended as child element or text node,
4939 * depending on whether the item is a DOM `Node` instance or
4940 * some other non-`null` value. Non-`Node`, non-`null` values
4941 * will be converted to strings first before being passed as
4942 * argument to `createTextNode()`.
4944 * When `children` is a function, it will be invoked with
4945 * the passed `node` argument as sole parameter and the `append`
4946 * function will be invoked again, with the given `node` argument
4947 * as first and the return value of the `children` function as
4950 * When `children` is a DOM `Node` instance, it will be
4951 * appended to the given `node`.
4953 * When `children` is any other non-`null` value, it will be
4954 * converted to a string and appended to the `innerHTML` property
4955 * of the given `node`.
4957 * @returns {Node|null}
4958 * Returns the last children `Node` appended to the node or `null`
4959 * if either the `node` argument was no valid DOM `node` or if the
4960 * `children` was `null` or didn't result in further DOM nodes.
4962 content: function(node, children) {
4963 if (!this.elem(node))
4966 var dataNodes = node.querySelectorAll('[data-idref]');
4968 for (var i =
0; i
< dataNodes.length; i++)
4969 delete this.registry[dataNodes[i].getAttribute('data-idref')];
4971 while (node.firstChild)
4972 node.removeChild(node.firstChild);
4974 return this.append(node, children);
4978 * Sets attributes or registers event listeners on element nodes.
4981 * @memberof LuCI.dom
4983 * The `Node` argument to set the attributes or add the event
4984 * listeners for. When the given `node` value is not a valid
4985 * DOM `Node`, the function returns and does nothing.
4987 * @param {string|Object
<string, *
>} key
4988 * Specifies either the attribute or event handler name to use,
4989 * or an object containing multiple key, value pairs which are
4990 * each added to the node as either attribute or event handler,
4991 * depending on the respective value.
4994 * Specifies the attribute value or event handler function to add.
4995 * If the `key` parameter is an `Object`, this parameter will be
4998 * When `val` is of type function, it will be registered as event
4999 * handler on the given `node` with the `key` parameter being the
5002 * When `val` is of type object, it will be serialized as JSON and
5003 * added as attribute to the given `node`, using the given `key`
5004 * as attribute name.
5006 * When `val` is of any other type, it will be added as attribute
5007 * to the given `node` as-is, with the underlying `setAttribute()`
5008 * call implicitly turning it into a string.
5010 attr: function(node, key, val) {
5011 if (!this.elem(node))
5016 if (typeof(key) === 'object'
&& key !== null)
5018 else if (typeof(key) === 'string')
5019 attr = {}, attr[key] = val;
5022 if (!attr.hasOwnProperty(key) || attr[key] == null)
5025 switch (typeof(attr[key])) {
5027 node.addEventListener(key, attr[key]);
5031 node.setAttribute(key, JSON.stringify(attr[key]));
5035 node.setAttribute(key, attr[key]);
5041 * Creates a new DOM `Node` from the given `html`, `attr` and
5042 * `data` parameters.
5044 * This function has multiple signatures, it can be either invoked
5045 * in the form `create(html[, attr[, data]])` or in the form
5046 * `create(html[, data])`. The used variant is determined from the
5047 * type of the second argument.
5050 * @memberof LuCI.dom
5052 * Describes the node to create.
5054 * When the value of `html` is of type array, a `DocumentFragment`
5055 * node is created and each item of the array is first converted
5056 * to a DOM `Node` by passing it through `create()` and then added
5057 * as child to the fragment.
5059 * When the value of `html` is a DOM `Node` instance, no new
5060 * element will be created but the node will be used as-is.
5062 * When the value of `html` is a string starting with `
<`, it will
5063 * be passed to `dom.parse()` and the resulting value is used.
5065 * When the value of `html` is any other string, it will be passed
5066 * to `document.createElement()` for creating a new DOM `Node` of
5069 * @param {Object
<string, *
>} [attr]
5070 * Specifies an Object of key, value pairs to set as attributes
5071 * or event handlers on the created node. Refer to
5072 * {@link LuCI.dom#attr dom.attr()} for details.
5075 * Specifies children to append to the newly created element.
5076 * Refer to {@link LuCI.dom#append dom.append()} for details.
5078 * @throws {InvalidCharacterError}
5079 * Throws an `InvalidCharacterError` when the given `html`
5080 * argument contained malformed markup (such as not escaped
5081 * `
&` characters in XHTML mode) or when the given node name
5082 * in `html` contains characters which are not legal in DOM
5083 * element names, such as spaces.
5086 * Returns the newly created `Node`.
5088 create: function() {
5089 var html = arguments[
0],
5090 attr = arguments[
1],
5091 data = arguments[
2],
5094 if (!(attr instanceof Object) || Array.isArray(attr))
5095 data = attr, attr = null;
5097 if (Array.isArray(html)) {
5098 elem = document.createDocumentFragment();
5099 for (var i =
0; i
< html.length; i++)
5100 elem.appendChild(this.create(html[i]));
5102 else if (this.elem(html)) {
5105 else if (html.charCodeAt(
0) ===
60) {
5106 elem = this.parse(html);
5109 elem = document.createElement(html);
5115 this.attr(elem, attr);
5116 this.append(elem, data);
5124 * Attaches or detaches arbitrary data to and from a DOM `Node`.
5126 * This function is useful to attach non-string values or runtime
5127 * data that is not serializable to DOM nodes. To decouple data
5128 * from the DOM, values are not added directly to nodes, but
5129 * inserted into a registry instead which is then referenced by a
5130 * string key stored as `data-idref` attribute in the node.
5132 * This function has multiple signatures and is sensitive to the
5133 * number of arguments passed to it.
5135 * - `dom.data(node)` -
5136 * Fetches all data associated with the given node.
5137 * - `dom.data(node, key)` -
5138 * Fetches a specific key associated with the given node.
5139 * - `dom.data(node, key, val)` -
5140 * Sets a specific key to the given value associated with the
5142 * - `dom.data(node, null)` -
5143 * Clears any data associated with the node.
5144 * - `dom.data(node, key, null)` -
5145 * Clears the given key associated with the node.
5148 * @memberof LuCI.dom
5149 * @param {Node} node
5150 * The DOM `Node` instance to set or retrieve the data for.
5152 * @param {string|null} [key]
5153 * This is either a string specifying the key to retrieve, or
5154 * `null` to unset the entire node data.
5156 * @param {*|null} [val]
5157 * This is either a non-`null` value to set for a given key or
5158 * `null` to remove the given `key` from the specified node.
5161 * Returns the get or set value, or `null` when no value could
5164 data: function(node, key, val) {
5165 if (!node || !node.getAttribute)
5168 var id = node.getAttribute('data-idref');
5170 /* clear all data */
5171 if (arguments.length
> 1 && key == null) {
5173 node.removeAttribute('data-idref');
5174 val = this.registry[id]
5175 delete this.registry[id];
5183 else if (arguments.length
> 2 && key != null
&& val == null) {
5185 val = this.registry[id][key];
5186 delete this.registry[id][key];
5194 else if (arguments.length
> 2 && key != null
&& val != null) {
5196 do { id = Math.floor(Math.random() *
0xffffffff).toString(
16) }
5197 while (this.registry.hasOwnProperty(id));
5199 node.setAttribute('data-idref', id);
5200 this.registry[id] = {};
5203 return (this.registry[id][key] = val);
5207 else if (arguments.length ==
1) {
5209 return this.registry[id];
5215 else if (arguments.length ==
2) {
5217 return this.registry[id][key];
5224 * Binds the given class instance ot the specified DOM `Node`.
5226 * This function uses the `dom.data()` facility to attach the
5227 * passed instance of a Class to a node. This is needed for
5228 * complex widget elements or similar where the corresponding
5229 * class instance responsible for the element must be retrieved
5230 * from DOM nodes obtained by `querySelector()` or similar means.
5233 * @memberof LuCI.dom
5234 * @param {Node} node
5235 * The DOM `Node` instance to bind the class to.
5237 * @param {Class} inst
5238 * The Class instance to bind to the node.
5240 * @throws {TypeError}
5241 * Throws a `TypeError` when the given instance argument isn't
5242 * a valid Class instance.
5245 * Returns the bound class instance.
5247 bindClassInstance: function(node, inst) {
5248 if (!(inst instanceof Class))
5249 LuCI.prototype.error('TypeError', 'Argument must be a class instance');
5251 return this.data(node, '_class', inst);
5255 * Finds a bound class instance on the given node itself or the
5256 * first bound instance on its closest parent node.
5259 * @memberof LuCI.dom
5260 * @param {Node} node
5261 * The DOM `Node` instance to start from.
5263 * @returns {Class|null}
5264 * Returns the founds class instance if any or `null` if no bound
5265 * class could be found on the node itself or any of its parents.
5267 findClassInstance: function(node) {
5271 inst = this.data(node, '_class');
5272 node = node.parentNode;
5274 while (!(inst instanceof Class)
&& node != null);
5280 * Finds a bound class instance on the given node itself or the
5281 * first bound instance on its closest parent node and invokes
5282 * the specified method name on the found class instance.
5285 * @memberof LuCI.dom
5286 * @param {Node} node
5287 * The DOM `Node` instance to start from.
5289 * @param {string} method
5290 * The name of the method to invoke on the found class instance.
5292 * @param {...*} params
5293 * Additional arguments to pass to the invoked method as-is.
5296 * Returns the return value of the invoked method if a class
5297 * instance and method has been found. Returns `null` if either
5298 * no bound class instance could be found, or if the found
5299 * instance didn't have the requested `method`.
5301 callClassMethod: function(node, method /*, ... */) {
5302 var inst = this.findClassInstance(node);
5304 if (inst == null || typeof(inst[method]) != 'function')
5307 return inst[method].apply(inst, inst.varargs(arguments,
2));
5311 * The ignore callback function is invoked by `isEmpty()` for each
5312 * child node to decide whether to ignore a child node or not.
5314 * When this function returns `false`, the node passed to it is
5315 * ignored, else not.
5317 * @callback LuCI.dom~ignoreCallbackFn
5318 * @param {Node} node
5319 * The child node to test.
5321 * @returns {boolean}
5322 * Boolean indicating whether to ignore the node or not.
5326 * Tests whether a given DOM `Node` instance is empty or appears
5329 * Any element child nodes which have the CSS class `hidden` set
5330 * or for which the optionally passed `ignoreFn` callback function
5331 * returns `false` are ignored.
5334 * @memberof LuCI.dom
5335 * @param {Node} node
5336 * The DOM `Node` instance to test.
5338 * @param {LuCI.dom~ignoreCallbackFn} [ignoreFn]
5339 * Specifies an optional function which is invoked for each child
5340 * node to decide whether the child node should be ignored or not.
5342 * @returns {boolean}
5343 * Returns `true` if the node does not have any children or if
5344 * any children node either has a `hidden` CSS class or a `false`
5345 * result when testing it using the given `ignoreFn`.
5347 isEmpty: function(node, ignoreFn) {
5348 for (var child = node.firstElementChild; child != null; child = child.nextElementSibling)
5349 if (!child.classList.contains('hidden')
&& (!ignoreFn || !ignoreFn(child)))
5362 * The `session` class provides various session related functionality.
5364 var Session = Class.singleton(/** @lends LuCI.session.prototype */ {
5365 __name__: 'LuCI.session',
5368 * Retrieve the current session ID.
5371 * Returns the current session ID.
5374 return env.sessionid || '
00000000000000000000000000000000';
5378 * Retrieve the current session token.
5380 * @returns {string|null}
5381 * Returns the current session token or `null` if not logged in.
5383 getToken: function() {
5384 return env.token || null;
5388 * Retrieve data from the local session storage.
5390 * @param {string} [key]
5391 * The key to retrieve from the session data store. If omitted, all
5392 * session data will be returned.
5395 * Returns the stored session data or `null` if the given key wasn't
5398 getLocalData: function(key) {
5400 var sid = this.getID(),
5401 item = 'luci-session-store',
5402 data = JSON.parse(window.sessionStorage.getItem(item));
5404 if (!LuCI.prototype.isObject(data) || !data.hasOwnProperty(sid)) {
5410 return data[sid].hasOwnProperty(key) ? data[sid][key] : null;
5415 return (key != null) ? null : {};
5420 * Set data in the local session storage.
5422 * @param {string} key
5423 * The key to set in the session data store.
5426 * The value to store. It will be internally converted to JSON before
5427 * being put in the session store.
5429 * @returns {boolean}
5430 * Returns `true` if the data could be stored or `false` on error.
5432 setLocalData: function(key, value) {
5437 var sid = this.getID(),
5438 item = 'luci-session-store',
5439 data = JSON.parse(window.sessionStorage.getItem(item));
5441 if (!LuCI.prototype.isObject(data) || !data.hasOwnProperty(sid)) {
5447 data[sid][key] = value;
5449 delete data[sid][key];
5451 window.sessionStorage.setItem(item, JSON.stringify(data));
5467 * The `view` class forms the basis of views and provides a standard
5468 * set of methods to inherit from.
5470 var View = Class.extend(/** @lends LuCI.view.prototype */ {
5471 __name__: 'LuCI.view',
5473 __init__: function() {
5474 var vp = document.getElementById('view');
5476 DOM.content(vp, E('div', { 'class': 'spinning' }, _('Loading view…')));
5478 return Promise.resolve(this.load())
5479 .then(LuCI.prototype.bind(this.render, this))
5480 .then(LuCI.prototype.bind(function(nodes) {
5481 var vp = document.getElementById('view');
5483 DOM.content(vp, nodes);
5484 DOM.append(vp, this.addFooter());
5485 }, this)).catch(LuCI.prototype.error);
5489 * The load function is invoked before the view is rendered.
5491 * The invocation of this function is wrapped by
5492 * `Promise.resolve()` so it may return Promises if needed.
5494 * The return value of the function (or the resolved values
5495 * of the promise returned by it) will be passed as first
5496 * argument to `render()`.
5498 * This function is supposed to be overwritten by subclasses,
5499 * the default implementation does nothing.
5503 * @memberof LuCI.view
5505 * @returns {*|Promise
<*
>}
5506 * May return any value or a Promise resolving to any value.
5508 load: function() {},
5511 * The render function is invoked after the
5512 * {@link LuCI.view#load load()} function and responsible
5513 * for setting up the view contents. It must return a DOM
5514 * `Node` or `DocumentFragment` holding the contents to
5515 * insert into the view area.
5517 * The invocation of this function is wrapped by
5518 * `Promise.resolve()` so it may return Promises if needed.
5520 * The return value of the function (or the resolved values
5521 * of the promise returned by it) will be inserted into the
5522 * main content area using
5523 * {@link LuCI.dom#append dom.append()}.
5525 * This function is supposed to be overwritten by subclasses,
5526 * the default implementation does nothing.
5530 * @memberof LuCI.view
5531 * @param {*|null} load_results
5532 * This function will receive the return value of the
5533 * {@link LuCI.view#load view.load()} function as first
5536 * @returns {Node|Promise
<Node
>}
5537 * Should return a DOM `Node` value or a `Promise` resolving
5538 * to a `Node` value.
5540 render: function() {},
5543 * The handleSave function is invoked when the user clicks
5544 * the `Save` button in the page action footer.
5546 * The default implementation should be sufficient for most
5547 * views using {@link form#Map form.Map()} based forms - it
5548 * will iterate all forms present in the view and invoke
5549 * the {@link form#Map#save Map.save()} method on each form.
5551 * Views not using `Map` instances or requiring other special
5552 * logic should overwrite `handleSave()` with a custom
5555 * To disable the `Save` page footer button, views extending
5556 * this base class should overwrite the `handleSave` function
5559 * The invocation of this function is wrapped by
5560 * `Promise.resolve()` so it may return Promises if needed.
5563 * @memberof LuCI.view
5565 * The DOM event that triggered the function.
5567 * @returns {*|Promise
<*
>}
5568 * Any return values of this function are discarded, but
5569 * passed through `Promise.resolve()` to ensure that any
5570 * returned promise runs to completion before the button
5573 handleSave: function(ev) {
5576 document.getElementById('maincontent')
5577 .querySelectorAll('.cbi-map').forEach(function(map) {
5578 tasks.push(DOM.callClassMethod(map, 'save'));
5581 return Promise.all(tasks);
5585 * The handleSaveApply function is invoked when the user clicks
5586 * the `Save
& Apply` button in the page action footer.
5588 * The default implementation should be sufficient for most
5589 * views using {@link form#Map form.Map()} based forms - it
5591 * {@link LuCI.view.handleSave view.handleSave()} and then
5592 * call {@link ui#changes#apply ui.changes.apply()} to start the
5593 * modal config apply and page reload flow.
5595 * Views not using `Map` instances or requiring other special
5596 * logic should overwrite `handleSaveApply()` with a custom
5599 * To disable the `Save
& Apply` page footer button, views
5600 * extending this base class should overwrite the
5601 * `handleSaveApply` function with `null`.
5603 * The invocation of this function is wrapped by
5604 * `Promise.resolve()` so it may return Promises if needed.
5607 * @memberof LuCI.view
5609 * The DOM event that triggered the function.
5611 * @returns {*|Promise
<*
>}
5612 * Any return values of this function are discarded, but
5613 * passed through `Promise.resolve()` to ensure that any
5614 * returned promise runs to completion before the button
5617 handleSaveApply: function(ev, mode) {
5618 return this.handleSave(ev).then(function() {
5619 classes.ui.changes.apply(mode == '
0');
5624 * The handleReset function is invoked when the user clicks
5625 * the `Reset` button in the page action footer.
5627 * The default implementation should be sufficient for most
5628 * views using {@link form#Map form.Map()} based forms - it
5629 * will iterate all forms present in the view and invoke
5630 * the {@link form#Map#save Map.reset()} method on each form.
5632 * Views not using `Map` instances or requiring other special
5633 * logic should overwrite `handleReset()` with a custom
5636 * To disable the `Reset` page footer button, views extending
5637 * this base class should overwrite the `handleReset` function
5640 * The invocation of this function is wrapped by
5641 * `Promise.resolve()` so it may return Promises if needed.
5644 * @memberof LuCI.view
5646 * The DOM event that triggered the function.
5648 * @returns {*|Promise
<*
>}
5649 * Any return values of this function are discarded, but
5650 * passed through `Promise.resolve()` to ensure that any
5651 * returned promise runs to completion before the button
5654 handleReset: function(ev) {
5657 document.getElementById('maincontent')
5658 .querySelectorAll('.cbi-map').forEach(function(map) {
5659 tasks.push(DOM.callClassMethod(map, 'reset'));
5662 return Promise.all(tasks);
5666 * Renders a standard page action footer if any of the
5667 * `handleSave()`, `handleSaveApply()` or `handleReset()`
5668 * functions are defined.
5670 * The default implementation should be sufficient for most
5671 * views - it will render a standard page footer with action
5672 * buttons labeled `Save`, `Save
& Apply` and `Reset`
5673 * triggering the `handleSave()`, `handleSaveApply()` and
5674 * `handleReset()` functions respectively.
5676 * When any of these `handle*()` functions is overwritten
5677 * with `null` by a view extending this class, the
5678 * corresponding button will not be rendered.
5681 * @memberof LuCI.view
5682 * @returns {DocumentFragment}
5683 * Returns a `DocumentFragment` containing the footer bar
5684 * with buttons for each corresponding `handle*()` action
5685 * or an empty `DocumentFragment` if all three `handle*()`
5686 * methods are overwritten with `null`.
5688 addFooter: function() {
5690 vp = document.getElementById('view'),
5694 vp.querySelectorAll('.cbi-map').forEach(function(map) {
5695 var m = DOM.findClassInstance(map);
5705 readonly = !LuCI.prototype.hasViewPermission();
5707 var saveApplyBtn = this.handleSaveApply ? new classes.ui.ComboButton('
0', {
5708 0: [ _('Save
& Apply') ],
5709 1: [ _('Apply unchecked') ]
5712 0: 'btn cbi-button cbi-button-apply important',
5713 1: 'btn cbi-button cbi-button-negative important'
5715 click: classes.ui.createHandlerFn(this, 'handleSaveApply'),
5716 disabled: readonly || null
5717 }).render() : E([]);
5719 if (this.handleSaveApply || this.handleSave || this.handleReset) {
5720 footer.appendChild(E('div', { 'class': 'cbi-page-actions' }, [
5722 this.handleSave ? E('button', {
5723 'class': 'cbi-button cbi-button-save',
5724 'click': classes.ui.createHandlerFn(this, 'handleSave'),
5725 'disabled': readonly || null
5726 }, [ _('Save') ]) : '', ' ',
5727 this.handleReset ? E('button', {
5728 'class': 'cbi-button cbi-button-reset',
5729 'click': classes.ui.createHandlerFn(this, 'handleReset'),
5730 'disabled': readonly || null
5731 }, [ _('Reset') ]) : ''
5740 var dummyElem = null,
5742 originalCBIInit = null,
5745 preloadClasses = null;
5747 /*
"preload" builtin classes to make the available via require */
5757 var naturalCompare = new Intl.Collator(undefined, { numeric: true }).compare;
5759 var LuCI = Class.extend(/** @lends LuCI.prototype */ {
5761 __init__: function(setenv) {
5763 document.querySelectorAll('script[src*=
"/luci.js"]').forEach(function(s) {
5764 if (setenv.base_url == null || setenv.base_url == '') {
5765 var m = (s.getAttribute('src') || '').match(/^(.*)\/luci\.js(?:\?v=([^?]+))?$/);
5767 setenv.base_url = m[
1];
5768 setenv.resource_version = m[
2];
5773 if (setenv.base_url == null)
5774 this.error('InternalError', 'Cannot find url of luci.js');
5776 setenv.cgi_base = setenv.scriptname.replace(/\/[^\/]+$/, '');
5778 Object.assign(env, setenv);
5780 var domReady = new Promise(function(resolveFn, rejectFn) {
5781 document.addEventListener('DOMContentLoaded', resolveFn);
5787 this.require('rpc'),
5788 this.require('form'),
5789 this.probeRPCBaseURL()
5790 ]).then(this.setupDOM.bind(this)).catch(this.error);
5792 originalCBIInit = window.cbi_init;
5793 window.cbi_init = function() {};
5797 * Captures the current stack trace and throws an error of the
5798 * specified type as a new exception. Also logs the exception as
5799 * error to the debug console if it is available.
5804 * @param {Error|string} [type=Error]
5805 * Either a string specifying the type of the error to throw or an
5806 * existing `Error` instance to copy.
5808 * @param {string} [fmt=Unspecified error]
5809 * A format string which is used to form the error message, together
5810 * with all subsequent optional arguments.
5812 * @param {...*} [args]
5813 * Zero or more variable arguments to the supplied format string.
5816 * Throws the created error object with the captured stack trace
5817 * appended to the message and the type set to the given type
5818 * argument or copied from the given error instance.
5820 raise: function(type, fmt /*, ...*/) {
5822 msg = fmt ? String.prototype.format.apply(fmt, this.varargs(arguments,
2)) : null,
5825 if (type instanceof Error) {
5829 e.message = msg + ': ' + e.message;
5832 try { throw new Error('stacktrace') }
5833 catch (e2) { stack = (e2.stack || '').split(/\n/) }
5835 e = new (window[type || 'Error'] || Error)(msg || 'Unspecified error');
5836 e.name = type || 'Error';
5839 stack = (stack || []).map(function(frame) {
5840 frame = frame.replace(/(.*?)@(.+):(\d+):(\d+)/g, 'at $
1 ($
2:$
3:$
4)').trim();
5841 return frame ? ' ' + frame : '';
5844 if (!/^ at /.test(stack[
0]))
5847 if (/\braise /.test(stack[
0]))
5850 if (/\berror /.test(stack[
0]))
5854 e.message += '\n' + stack.join('\n');
5856 if (window.console
&& console.debug)
5863 * A wrapper around {@link LuCI#raise raise()} which also renders
5864 * the error either as modal overlay when `ui.js` is already loaded
5865 * or directly into the view body.
5870 * @param {Error|string} [type=Error]
5871 * Either a string specifying the type of the error to throw or an
5872 * existing `Error` instance to copy.
5874 * @param {string} [fmt=Unspecified error]
5875 * A format string which is used to form the error message, together
5876 * with all subsequent optional arguments.
5878 * @param {...*} [args]
5879 * Zero or more variable arguments to the supplied format string.
5882 * Throws the created error object with the captured stack trace
5883 * appended to the message and the type set to the given type
5884 * argument or copied from the given error instance.
5886 error: function(type, fmt /*, ...*/) {
5888 LuCI.prototype.raise.apply(LuCI.prototype,
5889 Array.prototype.slice.call(arguments));
5894 classes.ui.addNotification(e.name || _('Runtime error'),
5895 E('pre', {}, e.message), 'danger');
5897 DOM.content(document.querySelector('#maincontent'),
5898 E('pre', { 'class': 'alert-message error' }, e.message));
5908 * Return a bound function using the given `self` as `this` context
5909 * and any further arguments as parameters to the bound function.
5914 * @param {function} fn
5915 * The function to bind.
5918 * The value to bind as `this` context to the specified function.
5920 * @param {...*} [args]
5921 * Zero or more variable arguments which are bound to the function
5924 * @returns {function}
5925 * Returns the bound function.
5927 bind: function(fn, self /*, ... */) {
5928 return Function.prototype.bind.apply(fn, this.varargs(arguments,
2, self));
5932 * Load an additional LuCI JavaScript class and its dependencies,
5933 * instantiate it and return the resulting class instance. Each
5934 * class is only loaded once. Subsequent attempts to load the same
5935 * class will return the already instantiated class.
5940 * @param {string} name
5941 * The name of the class to load in dotted notation. Dots will
5942 * be replaced by spaces and joined with the runtime-determined
5943 * base URL of LuCI.js to form an absolute URL to load the class
5946 * @throws {DependencyError}
5947 * Throws a `DependencyError` when the class to load includes
5948 * circular dependencies.
5950 * @throws {NetworkError}
5951 * Throws `NetworkError` when the underlying {@link LuCI.request}
5954 * @throws {SyntaxError}
5955 * Throws `SyntaxError` when the loaded class file code cannot
5956 * be interpreted by `eval`.
5958 * @throws {TypeError}
5959 * Throws `TypeError` when the class file could be loaded and
5960 * interpreted, but when invoking its code did not yield a valid
5963 * @returns {Promise
<LuCI.baseclass
>}
5964 * Returns the instantiated class.
5966 require: function(name, from) {
5967 var L = this, url = null, from = from || [];
5969 /* Class already loaded */
5970 if (classes[name] != null) {
5971 /* Circular dependency */
5972 if (from.indexOf(name) != -
1)
5973 LuCI.prototype.raise('DependencyError',
5974 'Circular dependency: class
"%s" depends on
"%s"',
5975 name, from.join('
" which depends on "'));
5977 return Promise.resolve(classes[name]);
5980 url = '%s/%s.js%s'.format(env.base_url, name.replace(/\./g, '/'), (env.resource_version ? '?v=' + env.resource_version : ''));
5981 from = [ name ].concat(from);
5983 var compileClass = function(res) {
5985 LuCI.prototype.raise('NetworkError',
5986 'HTTP error %d while loading class file
"%s"', res.status, url);
5988 var source = res.text(),
5989 requirematch = /^require[ \t]+(\S+)(?:[ \t]+as[ \t]+([a-zA-Z_]\S*))?$/,
5990 strictmatch = /^use[ \t]+strict$/,
5994 /* find require statements in source */
5995 for (var i =
0, off = -
1, prev = -
1, quote = -
1, comment = -
1, esc = false; i
< source.length; i++) {
5996 var chr = source.charCodeAt(i);
6001 else if (comment != -
1) {
6002 if ((comment ==
47 && chr ==
10) || (comment ==
42 && prev ==
42 && chr ==
47))
6005 else if ((chr ==
42 || chr ==
47)
&& prev ==
47) {
6008 else if (chr ==
92) {
6011 else if (chr == quote) {
6012 var s = source.substring(off, i),
6013 m = requirematch.exec(s);
6016 var dep = m[
1], as = m[
2] || dep.replace(/[^a-zA-Z0-
9_]/g, '_');
6017 depends.push(LuCI.prototype.require(dep, from));
6020 else if (!strictmatch.exec(s)) {
6027 else if (quote == -
1 && (chr ==
34 || chr ==
39)) {
6035 /* load dependencies and instantiate class */
6036 return Promise.all(depends).then(function(instances) {
6037 var _factory, _class;
6041 '(function(window, document, L%s) { %s })\n\n//# sourceURL=%s\n'
6042 .format(args, source, res.url));
6045 LuCI.prototype.raise('SyntaxError', '%s\n in %s:%s',
6046 error.message, res.url, error.lineNumber || '?');
6049 _factory.displayName = toCamelCase(name + 'ClassFactory');
6050 _class = _factory.apply(_factory, [window, document, L].concat(instances));
6052 if (!Class.isSubclass(_class))
6053 LuCI.prototype.error('TypeError', '
"%s" factory yields invalid constructor', name);
6055 if (_class.displayName == 'AnonymousClass')
6056 _class.displayName = toCamelCase(name + 'Class');
6058 var ptr = Object.getPrototypeOf(L),
6059 parts = name.split(/\./),
6060 instance = new _class();
6062 for (var i =
0; ptr
&& i
< parts.length -
1; i++)
6063 ptr = ptr[parts[i]];
6066 ptr[parts[i]] = instance;
6068 classes[name] = instance;
6074 /* Request class file */
6075 classes[name] = Request.get(url, { cache: true }).then(compileClass);
6077 return classes[name];
6081 probeRPCBaseURL: function() {
6082 if (rpcBaseURL == null)
6083 rpcBaseURL = Session.getLocalData('rpcBaseURL');
6085 if (rpcBaseURL == null) {
6092 var rpcFallbackURL = this.url('admin/ubus');
6094 rpcBaseURL = Request.post(env.ubuspath, msg, { nobatch: true }).then(function(res) {
6095 return (rpcBaseURL = res.status ==
200 ? env.ubuspath : rpcFallbackURL);
6097 return (rpcBaseURL = rpcFallbackURL);
6098 }).then(function(url) {
6099 Session.setLocalData('rpcBaseURL', url);
6104 return Promise.resolve(rpcBaseURL);
6107 probeSystemFeatures: function() {
6108 if (sysFeatures == null)
6109 sysFeatures = Session.getLocalData('features');
6111 if (!this.isObject(sysFeatures)) {
6112 sysFeatures = classes.rpc.declare({
6114 method: 'getFeatures',
6116 })().then(function(features) {
6117 Session.setLocalData('features', features);
6118 sysFeatures = features;
6124 return Promise.resolve(sysFeatures);
6127 probePreloadClasses: function() {
6128 if (preloadClasses == null)
6129 preloadClasses = Session.getLocalData('preload');
6131 if (!Array.isArray(preloadClasses)) {
6132 preloadClasses = this.resolveDefault(classes.rpc.declare({
6136 expect: { 'entries': [] }
6137 })(this.fspath(this.resource('preload'))), []).then(function(entries) {
6140 for (var i =
0; i
< entries.length; i++) {
6141 if (entries[i].type != 'file')
6144 var m = entries[i].name.match(/(.+)\.js$/);
6147 classes.push('preload.%s'.format(m[
1]));
6150 Session.setLocalData('preload', classes);
6151 preloadClasses = classes;
6157 return Promise.resolve(preloadClasses);
6161 * Test whether a particular system feature is available, such as
6162 * hostapd SAE support or an installed firewall. The features are
6163 * queried once at the beginning of the LuCI session and cached in
6164 * `SessionStorage` throughout the lifetime of the associated tab or
6170 * @param {string} feature
6171 * The feature to test. For detailed list of known feature flags,
6172 * see `/modules/luci-base/root/usr/libexec/rpcd/luci`.
6174 * @param {string} [subfeature]
6175 * Some feature classes like `hostapd` provide sub-feature flags,
6176 * such as `sae` or `
11w` support. The `subfeature` argument can
6177 * be used to query these.
6179 * @return {boolean|null}
6180 * Return `true` if the queried feature (and sub-feature) is available
6181 * or `false` if the requested feature isn't present or known.
6182 * Return `null` when a sub-feature was queried for a feature which
6183 * has no sub-features.
6185 hasSystemFeature: function() {
6186 var ft = sysFeatures[arguments[
0]];
6188 if (arguments.length ==
2)
6189 return this.isObject(ft) ? ft[arguments[
1]] : null;
6191 return (ft != null
&& ft != false);
6195 notifySessionExpiry: function() {
6198 classes.ui.showModal(_('Session expired'), [
6199 E('div', { class: 'alert-message warning' },
6200 _('A new login is required since the authentication session expired.')),
6201 E('div', { class: 'right' },
6203 class: 'btn primary',
6205 var loc = window.location;
6206 window.location = loc.protocol + '//' + loc.host + loc.pathname + loc.search;
6211 LuCI.prototype.raise('SessionError', 'Login session is expired');
6215 setupDOM: function(res) {
6220 rpcBaseURL = res[
4];
6222 rpcClass.setBaseURL(rpcBaseURL);
6224 rpcClass.addInterceptor(function(msg, req) {
6225 if (!LuCI.prototype.isObject(msg) ||
6226 !LuCI.prototype.isObject(msg.error) ||
6227 msg.error.code != -
32002)
6230 if (!LuCI.prototype.isObject(req) ||
6231 (req.object == 'session'
&& req.method == 'access'))
6234 return rpcClass.declare({
6235 'object': 'session',
6237 'params': [ 'scope', 'object', 'function' ],
6238 'expect': { access: true }
6239 })('uci', 'luci', 'read').catch(LuCI.prototype.notifySessionExpiry);
6242 Request.addInterceptor(function(res) {
6243 var isDenied = false;
6245 if (res.status ==
403 && res.headers.get('X-LuCI-Login-Required') == 'yes')
6251 LuCI.prototype.notifySessionExpiry();
6254 document.addEventListener('poll-start', function(ev) {
6255 uiClass.showIndicator('poll-status', _('Refreshing'), function(ev) {
6256 Request.poll.active() ? Request.poll.stop() : Request.poll.start();
6260 document.addEventListener('poll-stop', function(ev) {
6261 uiClass.showIndicator('poll-status', _('Paused'), null, 'inactive');
6264 return Promise.all([
6265 this.probeSystemFeatures(),
6266 this.probePreloadClasses()
6267 ]).finally(LuCI.prototype.bind(function() {
6270 if (Array.isArray(preloadClasses))
6271 for (var i =
0; i
< preloadClasses.length; i++)
6272 tasks.push(this.require(preloadClasses[i]));
6274 return Promise.all(tasks);
6275 }, this)).finally(this.initDOM);
6279 initDOM: function() {
6282 document.dispatchEvent(new CustomEvent('luci-loaded'));
6286 * The `env` object holds environment settings used by LuCI, such
6287 * as request timeouts, base URLs etc.
6295 * Construct an absolute filesystem path relative to the server
6301 * @param {...string} [parts]
6302 * An array of parts to join into a path.
6305 * Return the joined path.
6307 fspath: function(/* ... */) {
6308 var path = env.documentroot;
6310 for (var i =
0; i
< arguments.length; i++)
6311 path += '/' + arguments[i];
6313 var p = path.replace(/\/+$/, '').replace(/\/+/g, '/').split(/\//),
6316 for (var i =
0; i
< p.length; i++)
6319 else if (p[i] != '.')
6322 return res.join('/');
6326 * Construct a relative URL path from the given prefix and parts.
6327 * The resulting URL is guaranteed to only contain the characters
6328 * `a-z`, `A-Z`, `
0-
9`, `_`, `.`, `%`, `,`, `;`, and `-` as well
6329 * as `/` for the path separator.
6334 * @param {string} [prefix]
6335 * The prefix to join the given parts with. If the `prefix` is
6336 * omitted, it defaults to an empty string.
6338 * @param {string[]} [parts]
6339 * An array of parts to join into a URL path. Parts may contain
6340 * slashes and any of the other characters mentioned above.
6343 * Return the joined URL path.
6345 path: function(prefix, parts) {
6346 var url = [ prefix || '' ];
6348 for (var i =
0; i
< parts.length; i++)
6349 if (/^(?:[a-zA-Z0-
9_.%,;-]+\/)*[a-zA-Z0-
9_.%,;-]+$/.test(parts[i]))
6350 url.push('/', parts[i]);
6352 if (url.length ===
1)
6355 return url.join('');
6359 * Construct a URL with path relative to the script path of the server
6360 * side LuCI application (usually `/cgi-bin/luci`).
6362 * The resulting URL is guaranteed to only contain the characters
6363 * `a-z`, `A-Z`, `
0-
9`, `_`, `.`, `%`, `,`, `;`, and `-` as well
6364 * as `/` for the path separator.
6369 * @param {string[]} [parts]
6370 * An array of parts to join into a URL path. Parts may contain
6371 * slashes and any of the other characters mentioned above.
6374 * Returns the resulting URL path.
6377 return this.path(env.scriptname, arguments);
6381 * Construct a URL path relative to the global static resource path
6382 * of the LuCI ui (usually `/luci-static/resources`).
6384 * The resulting URL is guaranteed to only contain the characters
6385 * `a-z`, `A-Z`, `
0-
9`, `_`, `.`, `%`, `,`, `;`, and `-` as well
6386 * as `/` for the path separator.
6391 * @param {string[]} [parts]
6392 * An array of parts to join into a URL path. Parts may contain
6393 * slashes and any of the other characters mentioned above.
6396 * Returns the resulting URL path.
6398 resource: function() {
6399 return this.path(env.resource, arguments);
6403 * Construct a URL path relative to the media resource path of the
6404 * LuCI ui (usually `/luci-static/$theme_name`).
6406 * The resulting URL is guaranteed to only contain the characters
6407 * `a-z`, `A-Z`, `
0-
9`, `_`, `.`, `%`, `,`, `;`, and `-` as well
6408 * as `/` for the path separator.
6413 * @param {string[]} [parts]
6414 * An array of parts to join into a URL path. Parts may contain
6415 * slashes and any of the other characters mentioned above.
6418 * Returns the resulting URL path.
6421 return this.path(env.media, arguments);
6425 * Return the complete URL path to the current view.
6431 * Returns the URL path to the current view.
6433 location: function() {
6434 return this.path(env.scriptname, env.requestpath);
6439 * Tests whether the passed argument is a JavaScript object.
6440 * This function is meant to be an object counterpart to the
6441 * standard `Array.isArray()` function.
6450 * Returns `true` if the given value is of type object and
6451 * not `null`, else returns `false`.
6453 isObject: function(val) {
6454 return (val != null
&& typeof(val) == 'object');
6458 * Return an array of sorted object keys, optionally sorted by
6459 * a different key or a different sorting mode.
6464 * @param {object} obj
6465 * The object to extract the keys from. If the given value is
6466 * not an object, the function will return an empty array.
6468 * @param {string|null} [key]
6469 * Specifies the key to order by. This is mainly useful for
6470 * nested objects of objects or objects of arrays when sorting
6471 * shall not be performed by the primary object keys but by
6472 * some other key pointing to a value within the nested values.
6474 * @param {
"addr"|
"num"} [sortmode]
6475 * Can be either `addr` or `num` to override the natural
6476 * lexicographic sorting with a sorting suitable for IP/MAC style
6477 * addresses or numeric values respectively.
6479 * @return {string[]}
6480 * Returns an array containing the sorted keys of the given object.
6482 sortedKeys: function(obj, key, sortmode) {
6483 if (obj == null || typeof(obj) != 'object')
6486 return Object.keys(obj).map(function(e) {
6487 var v = (key != null) ? obj[e][key] : e;
6491 v = (v != null) ? v.replace(/(?:^|[.:])([
0-
9a-fA-F]{
1,
4})/g,
6492 function(m0, m1) { return ('
000' + m1.toLowerCase()).substr(-
4) }) : null;
6496 v = (v != null) ? +v : null;
6501 }).filter(function(e) {
6502 return (e[
1] != null);
6503 }).sort(function(a, b) {
6504 return naturalCompare(a[
1], b[
1]);
6505 }).map(function(e) {
6511 * Compares two values numerically and returns -
1,
0 or
1 depending
6512 * on whether the first value is smaller, equal to or larger than the
6513 * second one respectively.
6515 * This function is meant to be used as comparator function for
6527 * Returns -
1 if the first value is smaller than the second one.
6528 * Returns
0 if both values are equal.
6529 * Returns
1 if the first value is larger than the second one.
6531 naturalCompare: naturalCompare,
6534 * Converts the given value to an array using toArray() if needed,
6535 * performs a numerical sort using naturalCompare() and returns the
6536 * result. If the input already is an array, no copy is being made
6537 * and the sorting is performed in-place.
6540 * @see naturalCompare
6543 * The input value to sort (and convert to an array if needed).
6545 * @return {Array
<*
>}
6546 * Returns the resulting, numerically sorted array.
6548 sortedArray: function(val) {
6549 return this.toArray(val).sort(naturalCompare);
6553 * Converts the given value to an array. If the given value is of
6554 * type array, it is returned as-is, values of type object are
6555 * returned as one-element array containing the object, empty
6556 * strings and `null` values are returned as empty array, all other
6557 * values are converted using `String()`, trimmed, split on white
6558 * space and returned as array.
6564 * The value to convert into an array.
6566 * @return {Array
<*
>}
6567 * Returns the resulting array.
6569 toArray: function(val) {
6572 else if (Array.isArray(val))
6574 else if (typeof(val) == 'object')
6577 var s = String(val).trim();
6582 return s.split(/\s+/);
6586 * Returns a promise resolving with either the given value or with
6587 * the given default in case the input value is a rejecting promise.
6593 * The value to resolve the promise with.
6595 * @param {*} defvalue
6596 * The default value to resolve the promise with in case the given
6597 * input value is a rejecting promise.
6599 * @returns {Promise
<*
>}
6600 * Returns a new promise resolving either to the given input value or
6601 * to the given default value on error.
6603 resolveDefault: function(value, defvalue) {
6604 return Promise.resolve(value).catch(function() { return defvalue });
6608 * The request callback function is invoked whenever an HTTP
6609 * reply to a request made using the `L.get()`, `L.post()` or
6610 * `L.poll()` function is timed out or received successfully.
6615 * @callback LuCI.requestCallbackFn
6616 * @param {XMLHTTPRequest} xhr
6617 * The XMLHTTPRequest instance used to make the request.
6620 * The response JSON if the response could be parsed as such,
6623 * @param {number} duration
6624 * The total duration of the request in milliseconds.
6628 * Issues a GET request to the given url and invokes the specified
6629 * callback function. The function is a wrapper around
6630 * {@link LuCI.request#request Request.request()}.
6636 * @param {string} url
6637 * The URL to request.
6639 * @param {Object
<string, string
>} [args]
6640 * Additional query string arguments to append to the URL.
6642 * @param {LuCI.requestCallbackFn} cb
6643 * The callback function to invoke when the request finishes.
6645 * @return {Promise
<null
>}
6646 * Returns a promise resolving to `null` when concluded.
6648 get: function(url, args, cb) {
6649 return this.poll(null, url, args, cb, false);
6653 * Issues a POST request to the given url and invokes the specified
6654 * callback function. The function is a wrapper around
6655 * {@link LuCI.request#request Request.request()}. The request is
6656 * sent using `application/x-www-form-urlencoded` encoding and will
6657 * contain a field `token` with the current value of `LuCI.env.token`
6664 * @param {string} url
6665 * The URL to request.
6667 * @param {Object
<string, string
>} [args]
6668 * Additional post arguments to append to the request body.
6670 * @param {LuCI.requestCallbackFn} cb
6671 * The callback function to invoke when the request finishes.
6673 * @return {Promise
<null
>}
6674 * Returns a promise resolving to `null` when concluded.
6676 post: function(url, args, cb) {
6677 return this.poll(null, url, args, cb, true);
6681 * Register a polling HTTP request that invokes the specified
6682 * callback function. The function is a wrapper around
6683 * {@link LuCI.request.poll#add Request.poll.add()}.
6689 * @param {number} interval
6690 * The poll interval to use. If set to a value less than or equal
6691 * to `
0`, it will default to the global poll interval configured
6692 * in `LuCI.env.pollinterval`.
6694 * @param {string} url
6695 * The URL to request.
6697 * @param {Object
<string, string
>} [args]
6698 * Specifies additional arguments for the request. For GET requests,
6699 * the arguments are appended to the URL as query string, for POST
6700 * requests, they'll be added to the request body.
6702 * @param {LuCI.requestCallbackFn} cb
6703 * The callback function to invoke whenever a request finishes.
6705 * @param {boolean} [post=false]
6706 * When set to `false` or not specified, poll requests will be made
6707 * using the GET method. When set to `true`, POST requests will be
6708 * issued. In case of POST requests, the request body will contain
6709 * an argument `token` with the current value of `LuCI.env.token` by
6710 * default, regardless of the parameters specified with `args`.
6712 * @return {function}
6713 * Returns the internally created function that has been passed to
6714 * {@link LuCI.request.poll#add Request.poll.add()}. This value can
6715 * be passed to {@link LuCI.poll.remove Poll.remove()} to remove the
6718 poll: function(interval, url, args, cb, post) {
6719 if (interval !== null
&& interval
<=
0)
6720 interval = env.pollinterval;
6722 var data = post ? { token: env.token } : null,
6723 method = post ? 'POST' : 'GET';
6725 if (!/^(?:\/|\S+:\/\/)/.test(url))
6726 url = this.url(url);
6729 data = Object.assign(data || {}, args);
6731 if (interval !== null)
6732 return Request.poll.add(interval, url, { method: method, query: data }, cb);
6734 return Request.request(url, { method: method, query: data })
6735 .then(function(res) {
6737 if (/^application\/json\b/.test(res.headers.get('Content-Type')))
6738 try { json = res.json() } catch(e) {}
6739 cb(res.xhr, json, res.duration);
6744 * Check whether a view has sufficient permissions.
6746 * @return {boolean|null}
6747 * Returns `null` if the current session has no permission at all to
6748 * load resources required by the view. Returns `false` if readonly
6749 * permissions are granted or `true` if at least one required ACL
6750 * group is granted with write permissions.
6752 hasViewPermission: function() {
6753 if (!this.isObject(env.nodespec) || !env.nodespec.satisfied)
6756 return !env.nodespec.readonly;
6760 * Deprecated wrapper around {@link LuCI.poll.remove Poll.remove()}.
6766 * @param {function} entry
6767 * The polling function to remove.
6770 * Returns `true` when the function has been removed or `false` if
6771 * it could not be found.
6773 stop: function(entry) { return Poll.remove(entry) },
6776 * Deprecated wrapper around {@link LuCI.poll.stop Poll.stop()}.
6783 * Returns `true` when the polling loop has been stopped or `false`
6784 * when it didn't run to begin with.
6786 halt: function() { return Poll.stop() },
6789 * Deprecated wrapper around {@link LuCI.poll.start Poll.start()}.
6796 * Returns `true` when the polling loop has been started or `false`
6797 * when it was already running.
6799 run: function() { return Poll.start() },
6802 * Legacy `L.dom` class alias. New view code should use `'require dom';`
6803 * to request the `LuCI.dom` class.
6812 * Legacy `L.view` class alias. New view code should use `'require view';`
6813 * to request the `LuCI.view` class.
6822 * Legacy `L.Poll` class alias. New view code should use `'require poll';`
6823 * to request the `LuCI.poll` class.
6832 * Legacy `L.Request` class alias. New view code should use `'require request';`
6833 * to request the `LuCI.request` class.
6842 * Legacy `L.Class` class alias. New view code should use `'require baseclass';`
6843 * to request the `LuCI.baseclass` class.
6858 * The `LuCI.xhr` class is a legacy compatibility shim for the
6859 * functionality formerly provided by `xhr.js`. It is registered as global
6860 * `window.XHR` symbol for compatibility with legacy code.
6862 * New code should use {@link LuCI.request} instead to implement HTTP
6865 var XHR = Class.extend(/** @lends LuCI.xhr.prototype */ {
6866 __name__: 'LuCI.xhr',
6867 __init__: function() {
6868 if (window.console
&& console.debug)
6869 console.debug('Direct use XHR() is deprecated, please use L.Request instead');
6872 _response: function(cb, res, json, duration) {
6874 cb(res, json, duration);
6879 * This function is a legacy wrapper around
6880 * {@link LuCI#get LuCI.get()}.
6884 * @memberof LuCI.xhr
6886 * @param {string} url
6887 * The URL to request
6889 * @param {Object} [data]
6890 * Additional query string data
6892 * @param {LuCI.requestCallbackFn} [callback]
6893 * Callback function to invoke on completion
6895 * @param {number} [timeout]
6896 * Request timeout to use
6898 * @return {Promise
<null
>}
6900 get: function(url, data, callback, timeout) {
6902 LuCI.prototype.get(url, data, this._response.bind(this, callback), timeout);
6906 * This function is a legacy wrapper around
6907 * {@link LuCI#post LuCI.post()}.
6911 * @memberof LuCI.xhr
6913 * @param {string} url
6914 * The URL to request
6916 * @param {Object} [data]
6917 * Additional data to append to the request body.
6919 * @param {LuCI.requestCallbackFn} [callback]
6920 * Callback function to invoke on completion
6922 * @param {number} [timeout]
6923 * Request timeout to use
6925 * @return {Promise
<null
>}
6927 post: function(url, data, callback, timeout) {
6929 LuCI.prototype.post(url, data, this._response.bind(this, callback), timeout);
6933 * Cancels a running request.
6935 * This function does not actually cancel the underlying
6936 * `XMLHTTPRequest` request but it sets a flag which prevents the
6937 * invocation of the callback function when the request eventually
6938 * finishes or timed out.
6942 * @memberof LuCI.xhr
6944 cancel: function() { delete this.active },
6947 * Checks the running state of the request.
6951 * @memberof LuCI.xhr
6953 * @returns {boolean}
6954 * Returns `true` if the request is still running or `false` if it
6955 * already completed.
6957 busy: function() { return (this.active === true) },
6960 * Ignored for backwards compatibility.
6962 * This function does nothing.
6966 * @memberof LuCI.xhr
6968 abort: function() {},
6971 * Existing for backwards compatibility.
6973 * This function simply throws an `InternalError` when invoked.
6977 * @memberof LuCI.xhr
6979 * @throws {InternalError}
6980 * Throws an `InternalError` with the message `Not implemented`
6983 send_form: function() { LuCI.prototype.error('InternalError', 'Not implemented') },
6986 XHR.get = function() { return LuCI.prototype.get.apply(LuCI.prototype, arguments) };
6987 XHR.post = function() { return LuCI.prototype.post.apply(LuCI.prototype, arguments) };
6988 XHR.poll = function() { return LuCI.prototype.poll.apply(LuCI.prototype, arguments) };
6989 XHR.stop = Request.poll.remove.bind(Request.poll);
6990 XHR.halt = Request.poll.stop.bind(Request.poll);
6991 XHR.run = Request.poll.start.bind(Request.poll);
6992 XHR.running = Request.poll.active.bind(Request.poll);
6996 })(window, document);
7009 Documentation generated by
<a href=
"https://github.com/jsdoc3/jsdoc">JSDoc
3.6.11</a> on Wed Jan
24 2024 01:
04:
30 GMT+
0000 (Coordinated Universal Time)
7013 <script>prettyPrint();
</script>
7014 <script src=
"scripts/jaguar.js"></script>