Merge pull request #3844 from DinStamou/feature_libredns
[project/luci.git] / docs / jsapi / LuCI.ui.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Class: ui</title>
6
7
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>
11 <!--[if lt IE 9]>
12 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
13 <![endif]-->
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">
17
18
19 <script>
20 var config = {"monospaceLinks":true,"cleverLinks":true,"default":{"outputSourceFiles":true}};
21 </script>
22
23
24
25 </head>
26 <body>
27 <div id="wrap" class="clearfix">
28
29 <div class="navigation">
30 <h3 class="applicationName"><a href="index.html"></a></h3>
31
32 <div class="search">
33 <input id="search" type="text" class="form-control input-sm" placeholder="Search Documentations">
34 </div>
35 <ul class="list">
36
37 <li class="item" data-name="LuCI">
38 <span class="title">
39 <a href="LuCI.html">LuCI</a>
40
41 </span>
42 <ul class="members itemMembers">
43
44 <span class="subtitle">Members</span>
45
46 <li data-name="LuCI#Class"><a href="LuCI.html#Class">Class</a></li>
47
48 <li data-name="LuCI#dom"><a href="LuCI.html#dom">dom</a></li>
49
50 <li data-name="LuCI#env"><a href="LuCI.html#env">env</a></li>
51
52 <li data-name="LuCI#Poll"><a href="LuCI.html#Poll">Poll</a></li>
53
54 <li data-name="LuCI#Request"><a href="LuCI.html#Request">Request</a></li>
55
56 <li data-name="LuCI#view"><a href="LuCI.html#view">view</a></li>
57
58 </ul>
59 <ul class="typedefs itemMembers">
60
61 <span class="subtitle">Typedefs</span>
62
63 <li data-name="LuCI.requestCallbackFn"><a href="LuCI.html#.requestCallbackFn">requestCallbackFn</a></li>
64
65 </ul>
66 <ul class="typedefs itemMembers">
67
68 </ul>
69 <ul class="methods itemMembers">
70
71 <span class="subtitle">Methods</span>
72
73 <li data-name="LuCI#bind"><a href="LuCI.html#bind">bind</a></li>
74
75 <li data-name="LuCI#error"><a href="LuCI.html#error">error</a></li>
76
77 <li data-name="LuCI#get"><a href="LuCI.html#get">get</a></li>
78
79 <li data-name="LuCI#halt"><a href="LuCI.html#halt">halt</a></li>
80
81 <li data-name="LuCI#hasSystemFeature"><a href="LuCI.html#hasSystemFeature">hasSystemFeature</a></li>
82
83 <li data-name="LuCI#isObject"><a href="LuCI.html#isObject">isObject</a></li>
84
85 <li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
86
87 <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
88
89 <li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
90
91 <li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
92
93 <li data-name="LuCI#post"><a href="LuCI.html#post">post</a></li>
94
95 <li data-name="LuCI#raise"><a href="LuCI.html#raise">raise</a></li>
96
97 <li data-name="LuCI#require"><a href="LuCI.html#require">require</a></li>
98
99 <li data-name="LuCI#resolveDefault"><a href="LuCI.html#resolveDefault">resolveDefault</a></li>
100
101 <li data-name="LuCI#resource"><a href="LuCI.html#resource">resource</a></li>
102
103 <li data-name="LuCI#run"><a href="LuCI.html#run">run</a></li>
104
105 <li data-name="LuCI#sortedKeys"><a href="LuCI.html#sortedKeys">sortedKeys</a></li>
106
107 <li data-name="LuCI#stop"><a href="LuCI.html#stop">stop</a></li>
108
109 <li data-name="LuCI#toArray"><a href="LuCI.html#toArray">toArray</a></li>
110
111 <li data-name="LuCI#url"><a href="LuCI.html#url">url</a></li>
112
113 </ul>
114 <ul class="events itemMembers">
115
116 </ul>
117 </li>
118
119 <li class="item" data-name="LuCI.baseclass">
120 <span class="title">
121 <a href="LuCI.baseclass.html">LuCI.baseclass</a>
122
123 </span>
124 <ul class="members itemMembers">
125
126 </ul>
127 <ul class="typedefs itemMembers">
128
129 </ul>
130 <ul class="typedefs itemMembers">
131
132 </ul>
133 <ul class="methods itemMembers">
134
135 <span class="subtitle">Methods</span>
136
137 <li data-name="LuCI.baseclass.extend"><a href="LuCI.baseclass.html#.extend">extend</a></li>
138
139 <li data-name="LuCI.baseclass.instantiate"><a href="LuCI.baseclass.html#.instantiate">instantiate</a></li>
140
141 <li data-name="LuCI.baseclass.isSubclass"><a href="LuCI.baseclass.html#.isSubclass">isSubclass</a></li>
142
143 <li data-name="LuCI.baseclass.singleton"><a href="LuCI.baseclass.html#.singleton">singleton</a></li>
144
145 <li data-name="LuCI.baseclass#super"><a href="LuCI.baseclass.html#super">super</a></li>
146
147 <li data-name="LuCI.baseclass#varargs"><a href="LuCI.baseclass.html#varargs">varargs</a></li>
148
149 </ul>
150 <ul class="events itemMembers">
151
152 </ul>
153 </li>
154
155 <li class="item" data-name="LuCI.dom">
156 <span class="title">
157 <a href="LuCI.dom.html">LuCI.dom</a>
158
159 </span>
160 <ul class="members itemMembers">
161
162 </ul>
163 <ul class="typedefs itemMembers">
164
165 <span class="subtitle">Typedefs</span>
166
167 <li data-name="LuCI.dom~ignoreCallbackFn"><a href="LuCI.dom.html#~ignoreCallbackFn">ignoreCallbackFn</a></li>
168
169 </ul>
170 <ul class="typedefs itemMembers">
171
172 </ul>
173 <ul class="methods itemMembers">
174
175 <span class="subtitle">Methods</span>
176
177 <li data-name="LuCI.dom#append"><a href="LuCI.dom.html#append">append</a></li>
178
179 <li data-name="LuCI.dom#attr"><a href="LuCI.dom.html#attr">attr</a></li>
180
181 <li data-name="LuCI.dom#bindClassInstance"><a href="LuCI.dom.html#bindClassInstance">bindClassInstance</a></li>
182
183 <li data-name="LuCI.dom#callClassMethod"><a href="LuCI.dom.html#callClassMethod">callClassMethod</a></li>
184
185 <li data-name="LuCI.dom#content"><a href="LuCI.dom.html#content">content</a></li>
186
187 <li data-name="LuCI.dom#create"><a href="LuCI.dom.html#create">create</a></li>
188
189 <li data-name="LuCI.dom#data"><a href="LuCI.dom.html#data">data</a></li>
190
191 <li data-name="LuCI.dom#elem"><a href="LuCI.dom.html#elem">elem</a></li>
192
193 <li data-name="LuCI.dom#findClassInstance"><a href="LuCI.dom.html#findClassInstance">findClassInstance</a></li>
194
195 <li data-name="LuCI.dom#isEmpty"><a href="LuCI.dom.html#isEmpty">isEmpty</a></li>
196
197 <li data-name="LuCI.dom#matches"><a href="LuCI.dom.html#matches">matches</a></li>
198
199 <li data-name="LuCI.dom#parent"><a href="LuCI.dom.html#parent">parent</a></li>
200
201 <li data-name="LuCI.dom#parse"><a href="LuCI.dom.html#parse">parse</a></li>
202
203 </ul>
204 <ul class="events itemMembers">
205
206 </ul>
207 </li>
208
209 <li class="item" data-name="LuCI.fs">
210 <span class="title">
211 <a href="LuCI.fs.html">LuCI.fs</a>
212
213 </span>
214 <ul class="members itemMembers">
215
216 </ul>
217 <ul class="typedefs itemMembers">
218
219 <span class="subtitle">Typedefs</span>
220
221 <li data-name="LuCI.fs.FileExecResult"><a href="LuCI.fs.html#.FileExecResult">FileExecResult</a></li>
222
223 <li data-name="LuCI.fs.FileStatEntry"><a href="LuCI.fs.html#.FileStatEntry">FileStatEntry</a></li>
224
225 </ul>
226 <ul class="typedefs itemMembers">
227
228 </ul>
229 <ul class="methods itemMembers">
230
231 <span class="subtitle">Methods</span>
232
233 <li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
234
235 <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
236
237 <li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
238
239 <li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
240
241 <li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
242
243 <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
244
245 <li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
246
247 <li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
248
249 <li data-name="LuCI.fs#trimmed"><a href="LuCI.fs.html#trimmed">trimmed</a></li>
250
251 <li data-name="LuCI.fs#write"><a href="LuCI.fs.html#write">write</a></li>
252
253 </ul>
254 <ul class="events itemMembers">
255
256 </ul>
257 </li>
258
259 <li class="item" data-name="LuCI.headers">
260 <span class="title">
261 <a href="LuCI.headers.html">LuCI.headers</a>
262
263 </span>
264 <ul class="members itemMembers">
265
266 </ul>
267 <ul class="typedefs itemMembers">
268
269 </ul>
270 <ul class="typedefs itemMembers">
271
272 </ul>
273 <ul class="methods itemMembers">
274
275 <span class="subtitle">Methods</span>
276
277 <li data-name="LuCI.headers#get"><a href="LuCI.headers.html#get">get</a></li>
278
279 <li data-name="LuCI.headers#has"><a href="LuCI.headers.html#has">has</a></li>
280
281 </ul>
282 <ul class="events itemMembers">
283
284 </ul>
285 </li>
286
287 <li class="item" data-name="LuCI.network">
288 <span class="title">
289 <a href="LuCI.network.html">LuCI.network</a>
290
291 </span>
292 <ul class="members itemMembers">
293
294 </ul>
295 <ul class="typedefs itemMembers">
296
297 <span class="subtitle">Typedefs</span>
298
299 <li data-name="LuCI.network.SwitchTopology"><a href="LuCI.network.html#.SwitchTopology">SwitchTopology</a></li>
300
301 <li data-name="LuCI.network.WifiEncryption"><a href="LuCI.network.html#.WifiEncryption">WifiEncryption</a></li>
302
303 <li data-name="LuCI.network.WifiPeerEntry"><a href="LuCI.network.html#.WifiPeerEntry">WifiPeerEntry</a></li>
304
305 <li data-name="LuCI.network.WifiRateEntry"><a href="LuCI.network.html#.WifiRateEntry">WifiRateEntry</a></li>
306
307 <li data-name="LuCI.network.WifiScanResult"><a href="LuCI.network.html#.WifiScanResult">WifiScanResult</a></li>
308
309 </ul>
310 <ul class="typedefs itemMembers">
311
312 </ul>
313 <ul class="methods itemMembers">
314
315 <span class="subtitle">Methods</span>
316
317 <li data-name="LuCI.network#addNetwork"><a href="LuCI.network.html#addNetwork">addNetwork</a></li>
318
319 <li data-name="LuCI.network#addWifiNetwork"><a href="LuCI.network.html#addWifiNetwork">addWifiNetwork</a></li>
320
321 <li data-name="LuCI.network#deleteNetwork"><a href="LuCI.network.html#deleteNetwork">deleteNetwork</a></li>
322
323 <li data-name="LuCI.network#deleteWifiNetwork"><a href="LuCI.network.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
324
325 <li data-name="LuCI.network#flushCache"><a href="LuCI.network.html#flushCache">flushCache</a></li>
326
327 <li data-name="LuCI.network#formatWifiEncryption"><a href="LuCI.network.html#formatWifiEncryption">formatWifiEncryption</a></li>
328
329 <li data-name="LuCI.network#getDevice"><a href="LuCI.network.html#getDevice">getDevice</a></li>
330
331 <li data-name="LuCI.network#getDevices"><a href="LuCI.network.html#getDevices">getDevices</a></li>
332
333 <li data-name="LuCI.network#getDSLModemType"><a href="LuCI.network.html#getDSLModemType">getDSLModemType</a></li>
334
335 <li data-name="LuCI.network#getHostHints"><a href="LuCI.network.html#getHostHints">getHostHints</a></li>
336
337 <li data-name="LuCI.network#getIfnameOf"><a href="LuCI.network.html#getIfnameOf">getIfnameOf</a></li>
338
339 <li data-name="LuCI.network#getNetwork"><a href="LuCI.network.html#getNetwork">getNetwork</a></li>
340
341 <li data-name="LuCI.network#getNetworks"><a href="LuCI.network.html#getNetworks">getNetworks</a></li>
342
343 <li data-name="LuCI.network#getProtocol"><a href="LuCI.network.html#getProtocol">getProtocol</a></li>
344
345 <li data-name="LuCI.network#getProtocols"><a href="LuCI.network.html#getProtocols">getProtocols</a></li>
346
347 <li data-name="LuCI.network#getSwitchTopologies"><a href="LuCI.network.html#getSwitchTopologies">getSwitchTopologies</a></li>
348
349 <li data-name="LuCI.network#getWAN6Networks"><a href="LuCI.network.html#getWAN6Networks">getWAN6Networks</a></li>
350
351 <li data-name="LuCI.network#getWANNetworks"><a href="LuCI.network.html#getWANNetworks">getWANNetworks</a></li>
352
353 <li data-name="LuCI.network#getWifiDevice"><a href="LuCI.network.html#getWifiDevice">getWifiDevice</a></li>
354
355 <li data-name="LuCI.network#getWifiDevices"><a href="LuCI.network.html#getWifiDevices">getWifiDevices</a></li>
356
357 <li data-name="LuCI.network#getWifiNetwork"><a href="LuCI.network.html#getWifiNetwork">getWifiNetwork</a></li>
358
359 <li data-name="LuCI.network#getWifiNetworks"><a href="LuCI.network.html#getWifiNetworks">getWifiNetworks</a></li>
360
361 <li data-name="LuCI.network#isIgnoredDevice"><a href="LuCI.network.html#isIgnoredDevice">isIgnoredDevice</a></li>
362
363 <li data-name="LuCI.network#maskToPrefix"><a href="LuCI.network.html#maskToPrefix">maskToPrefix</a></li>
364
365 <li data-name="LuCI.network#prefixToMask"><a href="LuCI.network.html#prefixToMask">prefixToMask</a></li>
366
367 <li data-name="LuCI.network#registerErrorCode"><a href="LuCI.network.html#registerErrorCode">registerErrorCode</a></li>
368
369 <li data-name="LuCI.network#registerPatternVirtual"><a href="LuCI.network.html#registerPatternVirtual">registerPatternVirtual</a></li>
370
371 <li data-name="LuCI.network#registerProtocol"><a href="LuCI.network.html#registerProtocol">registerProtocol</a></li>
372
373 <li data-name="LuCI.network#renameNetwork"><a href="LuCI.network.html#renameNetwork">renameNetwork</a></li>
374
375 </ul>
376 <ul class="events itemMembers">
377
378 </ul>
379 </li>
380
381 <li class="item" data-name="LuCI.network.Device">
382 <span class="title">
383 <a href="LuCI.network.Device.html">LuCI.network.Device</a>
384
385 </span>
386 <ul class="members itemMembers">
387
388 </ul>
389 <ul class="typedefs itemMembers">
390
391 </ul>
392 <ul class="typedefs itemMembers">
393
394 </ul>
395 <ul class="methods itemMembers">
396
397 <span class="subtitle">Methods</span>
398
399 <li data-name="LuCI.network.Device#getBridgeID"><a href="LuCI.network.Device.html#getBridgeID">getBridgeID</a></li>
400
401 <li data-name="LuCI.network.Device#getBridgeSTP"><a href="LuCI.network.Device.html#getBridgeSTP">getBridgeSTP</a></li>
402
403 <li data-name="LuCI.network.Device#getI18n"><a href="LuCI.network.Device.html#getI18n">getI18n</a></li>
404
405 <li data-name="LuCI.network.Device#getIP6Addrs"><a href="LuCI.network.Device.html#getIP6Addrs">getIP6Addrs</a></li>
406
407 <li data-name="LuCI.network.Device#getIPAddrs"><a href="LuCI.network.Device.html#getIPAddrs">getIPAddrs</a></li>
408
409 <li data-name="LuCI.network.Device#getMAC"><a href="LuCI.network.Device.html#getMAC">getMAC</a></li>
410
411 <li data-name="LuCI.network.Device#getMTU"><a href="LuCI.network.Device.html#getMTU">getMTU</a></li>
412
413 <li data-name="LuCI.network.Device#getName"><a href="LuCI.network.Device.html#getName">getName</a></li>
414
415 <li data-name="LuCI.network.Device#getNetwork"><a href="LuCI.network.Device.html#getNetwork">getNetwork</a></li>
416
417 <li data-name="LuCI.network.Device#getNetworks"><a href="LuCI.network.Device.html#getNetworks">getNetworks</a></li>
418
419 <li data-name="LuCI.network.Device#getPorts"><a href="LuCI.network.Device.html#getPorts">getPorts</a></li>
420
421 <li data-name="LuCI.network.Device#getRXBytes"><a href="LuCI.network.Device.html#getRXBytes">getRXBytes</a></li>
422
423 <li data-name="LuCI.network.Device#getRXPackets"><a href="LuCI.network.Device.html#getRXPackets">getRXPackets</a></li>
424
425 <li data-name="LuCI.network.Device#getShortName"><a href="LuCI.network.Device.html#getShortName">getShortName</a></li>
426
427 <li data-name="LuCI.network.Device#getTXBytes"><a href="LuCI.network.Device.html#getTXBytes">getTXBytes</a></li>
428
429 <li data-name="LuCI.network.Device#getTXPackets"><a href="LuCI.network.Device.html#getTXPackets">getTXPackets</a></li>
430
431 <li data-name="LuCI.network.Device#getType"><a href="LuCI.network.Device.html#getType">getType</a></li>
432
433 <li data-name="LuCI.network.Device#getTypeI18n"><a href="LuCI.network.Device.html#getTypeI18n">getTypeI18n</a></li>
434
435 <li data-name="LuCI.network.Device#getWifiNetwork"><a href="LuCI.network.Device.html#getWifiNetwork">getWifiNetwork</a></li>
436
437 <li data-name="LuCI.network.Device#isBridge"><a href="LuCI.network.Device.html#isBridge">isBridge</a></li>
438
439 <li data-name="LuCI.network.Device#isBridgePort"><a href="LuCI.network.Device.html#isBridgePort">isBridgePort</a></li>
440
441 <li data-name="LuCI.network.Device#isUp"><a href="LuCI.network.Device.html#isUp">isUp</a></li>
442
443 </ul>
444 <ul class="events itemMembers">
445
446 </ul>
447 </li>
448
449 <li class="item" data-name="LuCI.network.Hosts">
450 <span class="title">
451 <a href="LuCI.network.Hosts.html">LuCI.network.Hosts</a>
452
453 </span>
454 <ul class="members itemMembers">
455
456 </ul>
457 <ul class="typedefs itemMembers">
458
459 </ul>
460 <ul class="typedefs itemMembers">
461
462 </ul>
463 <ul class="methods itemMembers">
464
465 <span class="subtitle">Methods</span>
466
467 <li data-name="LuCI.network.Hosts#getHostnameByIP6Addr"><a href="LuCI.network.Hosts.html#getHostnameByIP6Addr">getHostnameByIP6Addr</a></li>
468
469 <li data-name="LuCI.network.Hosts#getHostnameByIPAddr"><a href="LuCI.network.Hosts.html#getHostnameByIPAddr">getHostnameByIPAddr</a></li>
470
471 <li data-name="LuCI.network.Hosts#getHostnameByMACAddr"><a href="LuCI.network.Hosts.html#getHostnameByMACAddr">getHostnameByMACAddr</a></li>
472
473 <li data-name="LuCI.network.Hosts#getIP6AddrByMACAddr"><a href="LuCI.network.Hosts.html#getIP6AddrByMACAddr">getIP6AddrByMACAddr</a></li>
474
475 <li data-name="LuCI.network.Hosts#getIPAddrByMACAddr"><a href="LuCI.network.Hosts.html#getIPAddrByMACAddr">getIPAddrByMACAddr</a></li>
476
477 <li data-name="LuCI.network.Hosts#getMACAddrByIP6Addr"><a href="LuCI.network.Hosts.html#getMACAddrByIP6Addr">getMACAddrByIP6Addr</a></li>
478
479 <li data-name="LuCI.network.Hosts#getMACAddrByIPAddr"><a href="LuCI.network.Hosts.html#getMACAddrByIPAddr">getMACAddrByIPAddr</a></li>
480
481 <li data-name="LuCI.network.Hosts#getMACHints"><a href="LuCI.network.Hosts.html#getMACHints">getMACHints</a></li>
482
483 </ul>
484 <ul class="events itemMembers">
485
486 </ul>
487 </li>
488
489 <li class="item" data-name="LuCI.network.Protocol">
490 <span class="title">
491 <a href="LuCI.network.Protocol.html">LuCI.network.Protocol</a>
492
493 </span>
494 <ul class="members itemMembers">
495
496 </ul>
497 <ul class="typedefs itemMembers">
498
499 </ul>
500 <ul class="typedefs itemMembers">
501
502 </ul>
503 <ul class="methods itemMembers">
504
505 <span class="subtitle">Methods</span>
506
507 <li data-name="LuCI.network.Protocol#addDevice"><a href="LuCI.network.Protocol.html#addDevice">addDevice</a></li>
508
509 <li data-name="LuCI.network.Protocol#containsDevice"><a href="LuCI.network.Protocol.html#containsDevice">containsDevice</a></li>
510
511 <li data-name="LuCI.network.Protocol#deleteConfiguration"><a href="LuCI.network.Protocol.html#deleteConfiguration">deleteConfiguration</a></li>
512
513 <li data-name="LuCI.network.Protocol#deleteDevice"><a href="LuCI.network.Protocol.html#deleteDevice">deleteDevice</a></li>
514
515 <li data-name="LuCI.network.Protocol#get"><a href="LuCI.network.Protocol.html#get">get</a></li>
516
517 <li data-name="LuCI.network.Protocol#getDevice"><a href="LuCI.network.Protocol.html#getDevice">getDevice</a></li>
518
519 <li data-name="LuCI.network.Protocol#getDevices"><a href="LuCI.network.Protocol.html#getDevices">getDevices</a></li>
520
521 <li data-name="LuCI.network.Protocol#getDNS6Addrs"><a href="LuCI.network.Protocol.html#getDNS6Addrs">getDNS6Addrs</a></li>
522
523 <li data-name="LuCI.network.Protocol#getDNSAddrs"><a href="LuCI.network.Protocol.html#getDNSAddrs">getDNSAddrs</a></li>
524
525 <li data-name="LuCI.network.Protocol#getErrors"><a href="LuCI.network.Protocol.html#getErrors">getErrors</a></li>
526
527 <li data-name="LuCI.network.Protocol#getExpiry"><a href="LuCI.network.Protocol.html#getExpiry">getExpiry</a></li>
528
529 <li data-name="LuCI.network.Protocol#getGateway6Addr"><a href="LuCI.network.Protocol.html#getGateway6Addr">getGateway6Addr</a></li>
530
531 <li data-name="LuCI.network.Protocol#getGatewayAddr"><a href="LuCI.network.Protocol.html#getGatewayAddr">getGatewayAddr</a></li>
532
533 <li data-name="LuCI.network.Protocol#getI18n"><a href="LuCI.network.Protocol.html#getI18n">getI18n</a></li>
534
535 <li data-name="LuCI.network.Protocol#getIfname"><a href="LuCI.network.Protocol.html#getIfname">getIfname</a></li>
536
537 <li data-name="LuCI.network.Protocol#getIP6Addr"><a href="LuCI.network.Protocol.html#getIP6Addr">getIP6Addr</a></li>
538
539 <li data-name="LuCI.network.Protocol#getIP6Addrs"><a href="LuCI.network.Protocol.html#getIP6Addrs">getIP6Addrs</a></li>
540
541 <li data-name="LuCI.network.Protocol#getIP6Prefix"><a href="LuCI.network.Protocol.html#getIP6Prefix">getIP6Prefix</a></li>
542
543 <li data-name="LuCI.network.Protocol#getIPAddr"><a href="LuCI.network.Protocol.html#getIPAddr">getIPAddr</a></li>
544
545 <li data-name="LuCI.network.Protocol#getIPAddrs"><a href="LuCI.network.Protocol.html#getIPAddrs">getIPAddrs</a></li>
546
547 <li data-name="LuCI.network.Protocol#getL2Device"><a href="LuCI.network.Protocol.html#getL2Device">getL2Device</a></li>
548
549 <li data-name="LuCI.network.Protocol#getL3Device"><a href="LuCI.network.Protocol.html#getL3Device">getL3Device</a></li>
550
551 <li data-name="LuCI.network.Protocol#getMetric"><a href="LuCI.network.Protocol.html#getMetric">getMetric</a></li>
552
553 <li data-name="LuCI.network.Protocol#getName"><a href="LuCI.network.Protocol.html#getName">getName</a></li>
554
555 <li data-name="LuCI.network.Protocol#getNetmask"><a href="LuCI.network.Protocol.html#getNetmask">getNetmask</a></li>
556
557 <li data-name="LuCI.network.Protocol#getOpkgPackage"><a href="LuCI.network.Protocol.html#getOpkgPackage">getOpkgPackage</a></li>
558
559 <li data-name="LuCI.network.Protocol#getProtocol"><a href="LuCI.network.Protocol.html#getProtocol">getProtocol</a></li>
560
561 <li data-name="LuCI.network.Protocol#getType"><a href="LuCI.network.Protocol.html#getType">getType</a></li>
562
563 <li data-name="LuCI.network.Protocol#getUptime"><a href="LuCI.network.Protocol.html#getUptime">getUptime</a></li>
564
565 <li data-name="LuCI.network.Protocol#getZoneName"><a href="LuCI.network.Protocol.html#getZoneName">getZoneName</a></li>
566
567 <li data-name="LuCI.network.Protocol#isAlias"><a href="LuCI.network.Protocol.html#isAlias">isAlias</a></li>
568
569 <li data-name="LuCI.network.Protocol#isBridge"><a href="LuCI.network.Protocol.html#isBridge">isBridge</a></li>
570
571 <li data-name="LuCI.network.Protocol#isDynamic"><a href="LuCI.network.Protocol.html#isDynamic">isDynamic</a></li>
572
573 <li data-name="LuCI.network.Protocol#isEmpty"><a href="LuCI.network.Protocol.html#isEmpty">isEmpty</a></li>
574
575 <li data-name="LuCI.network.Protocol#isFloating"><a href="LuCI.network.Protocol.html#isFloating">isFloating</a></li>
576
577 <li data-name="LuCI.network.Protocol#isInstalled"><a href="LuCI.network.Protocol.html#isInstalled">isInstalled</a></li>
578
579 <li data-name="LuCI.network.Protocol#isUp"><a href="LuCI.network.Protocol.html#isUp">isUp</a></li>
580
581 <li data-name="LuCI.network.Protocol#isVirtual"><a href="LuCI.network.Protocol.html#isVirtual">isVirtual</a></li>
582
583 <li data-name="LuCI.network.Protocol#set"><a href="LuCI.network.Protocol.html#set">set</a></li>
584
585 </ul>
586 <ul class="events itemMembers">
587
588 </ul>
589 </li>
590
591 <li class="item" data-name="LuCI.network.WifiDevice">
592 <span class="title">
593 <a href="LuCI.network.WifiDevice.html">LuCI.network.WifiDevice</a>
594
595 </span>
596 <ul class="members itemMembers">
597
598 </ul>
599 <ul class="typedefs itemMembers">
600
601 </ul>
602 <ul class="typedefs itemMembers">
603
604 </ul>
605 <ul class="methods itemMembers">
606
607 <span class="subtitle">Methods</span>
608
609 <li data-name="LuCI.network.WifiDevice#addWifiNetwork"><a href="LuCI.network.WifiDevice.html#addWifiNetwork">addWifiNetwork</a></li>
610
611 <li data-name="LuCI.network.WifiDevice#deleteWifiNetwork"><a href="LuCI.network.WifiDevice.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
612
613 <li data-name="LuCI.network.WifiDevice#get"><a href="LuCI.network.WifiDevice.html#get">get</a></li>
614
615 <li data-name="LuCI.network.WifiDevice#getHTModes"><a href="LuCI.network.WifiDevice.html#getHTModes">getHTModes</a></li>
616
617 <li data-name="LuCI.network.WifiDevice#getHWModes"><a href="LuCI.network.WifiDevice.html#getHWModes">getHWModes</a></li>
618
619 <li data-name="LuCI.network.WifiDevice#getI18n"><a href="LuCI.network.WifiDevice.html#getI18n">getI18n</a></li>
620
621 <li data-name="LuCI.network.WifiDevice#getName"><a href="LuCI.network.WifiDevice.html#getName">getName</a></li>
622
623 <li data-name="LuCI.network.WifiDevice#getScanList"><a href="LuCI.network.WifiDevice.html#getScanList">getScanList</a></li>
624
625 <li data-name="LuCI.network.WifiDevice#getWifiNetwork"><a href="LuCI.network.WifiDevice.html#getWifiNetwork">getWifiNetwork</a></li>
626
627 <li data-name="LuCI.network.WifiDevice#getWifiNetworks"><a href="LuCI.network.WifiDevice.html#getWifiNetworks">getWifiNetworks</a></li>
628
629 <li data-name="LuCI.network.WifiDevice#isDisabled"><a href="LuCI.network.WifiDevice.html#isDisabled">isDisabled</a></li>
630
631 <li data-name="LuCI.network.WifiDevice#isUp"><a href="LuCI.network.WifiDevice.html#isUp">isUp</a></li>
632
633 <li data-name="LuCI.network.WifiDevice#set"><a href="LuCI.network.WifiDevice.html#set">set</a></li>
634
635 </ul>
636 <ul class="events itemMembers">
637
638 </ul>
639 </li>
640
641 <li class="item" data-name="LuCI.network.WifiNetwork">
642 <span class="title">
643 <a href="LuCI.network.WifiNetwork.html">LuCI.network.WifiNetwork</a>
644
645 </span>
646 <ul class="members itemMembers">
647
648 </ul>
649 <ul class="typedefs itemMembers">
650
651 </ul>
652 <ul class="typedefs itemMembers">
653
654 </ul>
655 <ul class="methods itemMembers">
656
657 <span class="subtitle">Methods</span>
658
659 <li data-name="LuCI.network.WifiNetwork#disconnectClient"><a href="LuCI.network.WifiNetwork.html#disconnectClient">disconnectClient</a></li>
660
661 <li data-name="LuCI.network.WifiNetwork#get"><a href="LuCI.network.WifiNetwork.html#get">get</a></li>
662
663 <li data-name="LuCI.network.WifiNetwork#getActiveBSSID"><a href="LuCI.network.WifiNetwork.html#getActiveBSSID">getActiveBSSID</a></li>
664
665 <li data-name="LuCI.network.WifiNetwork#getActiveEncryption"><a href="LuCI.network.WifiNetwork.html#getActiveEncryption">getActiveEncryption</a></li>
666
667 <li data-name="LuCI.network.WifiNetwork#getActiveMode"><a href="LuCI.network.WifiNetwork.html#getActiveMode">getActiveMode</a></li>
668
669 <li data-name="LuCI.network.WifiNetwork#getActiveModeI18n"><a href="LuCI.network.WifiNetwork.html#getActiveModeI18n">getActiveModeI18n</a></li>
670
671 <li data-name="LuCI.network.WifiNetwork#getActiveSSID"><a href="LuCI.network.WifiNetwork.html#getActiveSSID">getActiveSSID</a></li>
672
673 <li data-name="LuCI.network.WifiNetwork#getAssocList"><a href="LuCI.network.WifiNetwork.html#getAssocList">getAssocList</a></li>
674
675 <li data-name="LuCI.network.WifiNetwork#getBitRate"><a href="LuCI.network.WifiNetwork.html#getBitRate">getBitRate</a></li>
676
677 <li data-name="LuCI.network.WifiNetwork#getBSSID"><a href="LuCI.network.WifiNetwork.html#getBSSID">getBSSID</a></li>
678
679 <li data-name="LuCI.network.WifiNetwork#getChannel"><a href="LuCI.network.WifiNetwork.html#getChannel">getChannel</a></li>
680
681 <li data-name="LuCI.network.WifiNetwork#getCountryCode"><a href="LuCI.network.WifiNetwork.html#getCountryCode">getCountryCode</a></li>
682
683 <li data-name="LuCI.network.WifiNetwork#getDevice"><a href="LuCI.network.WifiNetwork.html#getDevice">getDevice</a></li>
684
685 <li data-name="LuCI.network.WifiNetwork#getFrequency"><a href="LuCI.network.WifiNetwork.html#getFrequency">getFrequency</a></li>
686
687 <li data-name="LuCI.network.WifiNetwork#getI18n"><a href="LuCI.network.WifiNetwork.html#getI18n">getI18n</a></li>
688
689 <li data-name="LuCI.network.WifiNetwork#getID"><a href="LuCI.network.WifiNetwork.html#getID">getID</a></li>
690
691 <li data-name="LuCI.network.WifiNetwork#getIfname"><a href="LuCI.network.WifiNetwork.html#getIfname">getIfname</a></li>
692
693 <li data-name="LuCI.network.WifiNetwork#getMeshID"><a href="LuCI.network.WifiNetwork.html#getMeshID">getMeshID</a></li>
694
695 <li data-name="LuCI.network.WifiNetwork#getMode"><a href="LuCI.network.WifiNetwork.html#getMode">getMode</a></li>
696
697 <li data-name="LuCI.network.WifiNetwork#getName"><a href="LuCI.network.WifiNetwork.html#getName">getName</a></li>
698
699 <li data-name="LuCI.network.WifiNetwork#getNetwork"><a href="LuCI.network.WifiNetwork.html#getNetwork">getNetwork</a></li>
700
701 <li data-name="LuCI.network.WifiNetwork#getNetworkNames"><a href="LuCI.network.WifiNetwork.html#getNetworkNames">getNetworkNames</a></li>
702
703 <li data-name="LuCI.network.WifiNetwork#getNetworks"><a href="LuCI.network.WifiNetwork.html#getNetworks">getNetworks</a></li>
704
705 <li data-name="LuCI.network.WifiNetwork#getNoise"><a href="LuCI.network.WifiNetwork.html#getNoise">getNoise</a></li>
706
707 <li data-name="LuCI.network.WifiNetwork#getShortName"><a href="LuCI.network.WifiNetwork.html#getShortName">getShortName</a></li>
708
709 <li data-name="LuCI.network.WifiNetwork#getSignal"><a href="LuCI.network.WifiNetwork.html#getSignal">getSignal</a></li>
710
711 <li data-name="LuCI.network.WifiNetwork#getSignalLevel"><a href="LuCI.network.WifiNetwork.html#getSignalLevel">getSignalLevel</a></li>
712
713 <li data-name="LuCI.network.WifiNetwork#getSignalPercent"><a href="LuCI.network.WifiNetwork.html#getSignalPercent">getSignalPercent</a></li>
714
715 <li data-name="LuCI.network.WifiNetwork#getSSID"><a href="LuCI.network.WifiNetwork.html#getSSID">getSSID</a></li>
716
717 <li data-name="LuCI.network.WifiNetwork#getTXPower"><a href="LuCI.network.WifiNetwork.html#getTXPower">getTXPower</a></li>
718
719 <li data-name="LuCI.network.WifiNetwork#getTXPowerOffset"><a href="LuCI.network.WifiNetwork.html#getTXPowerOffset">getTXPowerOffset</a></li>
720
721 <li data-name="LuCI.network.WifiNetwork#getWifiDevice"><a href="LuCI.network.WifiNetwork.html#getWifiDevice">getWifiDevice</a></li>
722
723 <li data-name="LuCI.network.WifiNetwork#getWifiDeviceName"><a href="LuCI.network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName</a></li>
724
725 <li data-name="LuCI.network.WifiNetwork#isClientDisconnectSupported"><a href="LuCI.network.WifiNetwork.html#isClientDisconnectSupported">isClientDisconnectSupported</a></li>
726
727 <li data-name="LuCI.network.WifiNetwork#isDisabled"><a href="LuCI.network.WifiNetwork.html#isDisabled">isDisabled</a></li>
728
729 <li data-name="LuCI.network.WifiNetwork#isUp"><a href="LuCI.network.WifiNetwork.html#isUp">isUp</a></li>
730
731 <li data-name="LuCI.network.WifiNetwork#set"><a href="LuCI.network.WifiNetwork.html#set">set</a></li>
732
733 </ul>
734 <ul class="events itemMembers">
735
736 </ul>
737 </li>
738
739 <li class="item" data-name="LuCI.poll">
740 <span class="title">
741 <a href="LuCI.poll.html">LuCI.poll</a>
742
743 </span>
744 <ul class="members itemMembers">
745
746 </ul>
747 <ul class="typedefs itemMembers">
748
749 </ul>
750 <ul class="typedefs itemMembers">
751
752 </ul>
753 <ul class="methods itemMembers">
754
755 <span class="subtitle">Methods</span>
756
757 <li data-name="LuCI.poll#active"><a href="LuCI.poll.html#active">active</a></li>
758
759 <li data-name="LuCI.poll#add"><a href="LuCI.poll.html#add">add</a></li>
760
761 <li data-name="LuCI.poll#remove"><a href="LuCI.poll.html#remove">remove</a></li>
762
763 <li data-name="LuCI.poll#start"><a href="LuCI.poll.html#start">start</a></li>
764
765 <li data-name="LuCI.poll#stop"><a href="LuCI.poll.html#stop">stop</a></li>
766
767 </ul>
768 <ul class="events itemMembers">
769
770 </ul>
771 </li>
772
773 <li class="item" data-name="LuCI.request">
774 <span class="title">
775 <a href="LuCI.request.html">LuCI.request</a>
776
777 </span>
778 <ul class="members itemMembers">
779
780 </ul>
781 <ul class="typedefs itemMembers">
782
783 <span class="subtitle">Typedefs</span>
784
785 <li data-name="LuCI.request.interceptorFn"><a href="LuCI.request.html#.interceptorFn">interceptorFn</a></li>
786
787 <li data-name="LuCI.request.RequestOptions"><a href="LuCI.request.html#.RequestOptions">RequestOptions</a></li>
788
789 </ul>
790 <ul class="typedefs itemMembers">
791
792 </ul>
793 <ul class="methods itemMembers">
794
795 <span class="subtitle">Methods</span>
796
797 <li data-name="LuCI.request#addInterceptor"><a href="LuCI.request.html#addInterceptor">addInterceptor</a></li>
798
799 <li data-name="LuCI.request#expandURL"><a href="LuCI.request.html#expandURL">expandURL</a></li>
800
801 <li data-name="LuCI.request#get"><a href="LuCI.request.html#get">get</a></li>
802
803 <li data-name="LuCI.request#post"><a href="LuCI.request.html#post">post</a></li>
804
805 <li data-name="LuCI.request#removeInterceptor"><a href="LuCI.request.html#removeInterceptor">removeInterceptor</a></li>
806
807 <li data-name="LuCI.request#request"><a href="LuCI.request.html#request">request</a></li>
808
809 </ul>
810 <ul class="events itemMembers">
811
812 </ul>
813 </li>
814
815 <li class="item" data-name="LuCI.request.poll">
816 <span class="title">
817 <a href="LuCI.request.poll.html">LuCI.request.poll</a>
818
819 </span>
820 <ul class="members itemMembers">
821
822 </ul>
823 <ul class="typedefs itemMembers">
824
825 <span class="subtitle">Typedefs</span>
826
827 <li data-name="LuCI.request.poll~callbackFn"><a href="LuCI.request.poll.html#~callbackFn">callbackFn</a></li>
828
829 </ul>
830 <ul class="typedefs itemMembers">
831
832 </ul>
833 <ul class="methods itemMembers">
834
835 <span class="subtitle">Methods</span>
836
837 <li data-name="LuCI.request.poll#active"><a href="LuCI.request.poll.html#active">active</a></li>
838
839 <li data-name="LuCI.request.poll#add"><a href="LuCI.request.poll.html#add">add</a></li>
840
841 <li data-name="LuCI.request.poll#remove"><a href="LuCI.request.poll.html#remove">remove</a></li>
842
843 <li data-name="LuCI.request.poll#start"><a href="LuCI.request.poll.html#start">start</a></li>
844
845 <li data-name="LuCI.request.poll#stop"><a href="LuCI.request.poll.html#stop">stop</a></li>
846
847 </ul>
848 <ul class="events itemMembers">
849
850 </ul>
851 </li>
852
853 <li class="item" data-name="LuCI.response">
854 <span class="title">
855 <a href="LuCI.response.html">LuCI.response</a>
856
857 </span>
858 <ul class="members itemMembers">
859
860 <span class="subtitle">Members</span>
861
862 <li data-name="LuCI.response#duration"><a href="LuCI.response.html#duration">duration</a></li>
863
864 <li data-name="LuCI.response#headers"><a href="LuCI.response.html#headers">headers</a></li>
865
866 <li data-name="LuCI.response#ok"><a href="LuCI.response.html#ok">ok</a></li>
867
868 <li data-name="LuCI.response#status"><a href="LuCI.response.html#status">status</a></li>
869
870 <li data-name="LuCI.response#statusText"><a href="LuCI.response.html#statusText">statusText</a></li>
871
872 <li data-name="LuCI.response#url"><a href="LuCI.response.html#url">url</a></li>
873
874 </ul>
875 <ul class="typedefs itemMembers">
876
877 </ul>
878 <ul class="typedefs itemMembers">
879
880 </ul>
881 <ul class="methods itemMembers">
882
883 <span class="subtitle">Methods</span>
884
885 <li data-name="LuCI.response#blob"><a href="LuCI.response.html#blob">blob</a></li>
886
887 <li data-name="LuCI.response#clone"><a href="LuCI.response.html#clone">clone</a></li>
888
889 <li data-name="LuCI.response#json"><a href="LuCI.response.html#json">json</a></li>
890
891 <li data-name="LuCI.response#text"><a href="LuCI.response.html#text">text</a></li>
892
893 </ul>
894 <ul class="events itemMembers">
895
896 </ul>
897 </li>
898
899 <li class="item" data-name="LuCI.rpc">
900 <span class="title">
901 <a href="LuCI.rpc.html">LuCI.rpc</a>
902
903 </span>
904 <ul class="members itemMembers">
905
906 </ul>
907 <ul class="typedefs itemMembers">
908
909 <span class="subtitle">Typedefs</span>
910
911 <li data-name="LuCI.rpc.DeclareOptions"><a href="LuCI.rpc.html#.DeclareOptions">DeclareOptions</a></li>
912
913 <li data-name="LuCI.rpc~filterFn"><a href="LuCI.rpc.html#~filterFn">filterFn</a></li>
914
915 <li data-name="LuCI.rpc~interceptorFn"><a href="LuCI.rpc.html#~interceptorFn">interceptorFn</a></li>
916
917 <li data-name="LuCI.rpc~invokeFn"><a href="LuCI.rpc.html#~invokeFn">invokeFn</a></li>
918
919 </ul>
920 <ul class="typedefs itemMembers">
921
922 </ul>
923 <ul class="methods itemMembers">
924
925 <span class="subtitle">Methods</span>
926
927 <li data-name="LuCI.rpc#addInterceptor"><a href="LuCI.rpc.html#addInterceptor">addInterceptor</a></li>
928
929 <li data-name="LuCI.rpc#declare"><a href="LuCI.rpc.html#declare">declare</a></li>
930
931 <li data-name="LuCI.rpc#getBaseURL"><a href="LuCI.rpc.html#getBaseURL">getBaseURL</a></li>
932
933 <li data-name="LuCI.rpc#getSessionID"><a href="LuCI.rpc.html#getSessionID">getSessionID</a></li>
934
935 <li data-name="LuCI.rpc#getStatusText"><a href="LuCI.rpc.html#getStatusText">getStatusText</a></li>
936
937 <li data-name="LuCI.rpc#list"><a href="LuCI.rpc.html#list">list</a></li>
938
939 <li data-name="LuCI.rpc#removeInterceptor"><a href="LuCI.rpc.html#removeInterceptor">removeInterceptor</a></li>
940
941 <li data-name="LuCI.rpc#setBaseURL"><a href="LuCI.rpc.html#setBaseURL">setBaseURL</a></li>
942
943 <li data-name="LuCI.rpc#setSessionID"><a href="LuCI.rpc.html#setSessionID">setSessionID</a></li>
944
945 </ul>
946 <ul class="events itemMembers">
947
948 </ul>
949 </li>
950
951 <li class="item" data-name="LuCI.uci">
952 <span class="title">
953 <a href="LuCI.uci.html">LuCI.uci</a>
954
955 </span>
956 <ul class="members itemMembers">
957
958 </ul>
959 <ul class="typedefs itemMembers">
960
961 <span class="subtitle">Typedefs</span>
962
963 <li data-name="LuCI.uci.ChangeRecord"><a href="LuCI.uci.html#.ChangeRecord">ChangeRecord</a></li>
964
965 <li data-name="LuCI.uci.SectionObject"><a href="LuCI.uci.html#.SectionObject">SectionObject</a></li>
966
967 <li data-name="LuCI.uci~sectionsFn"><a href="LuCI.uci.html#~sectionsFn">sectionsFn</a></li>
968
969 </ul>
970 <ul class="typedefs itemMembers">
971
972 </ul>
973 <ul class="methods itemMembers">
974
975 <span class="subtitle">Methods</span>
976
977 <li data-name="LuCI.uci#add"><a href="LuCI.uci.html#add">add</a></li>
978
979 <li data-name="LuCI.uci#apply"><a href="LuCI.uci.html#apply">apply</a></li>
980
981 <li data-name="LuCI.uci#changes"><a href="LuCI.uci.html#changes">changes</a></li>
982
983 <li data-name="LuCI.uci#createSID"><a href="LuCI.uci.html#createSID">createSID</a></li>
984
985 <li data-name="LuCI.uci#get"><a href="LuCI.uci.html#get">get</a></li>
986
987 <li data-name="LuCI.uci#get_first"><a href="LuCI.uci.html#get_first">get_first</a></li>
988
989 <li data-name="LuCI.uci#load"><a href="LuCI.uci.html#load">load</a></li>
990
991 <li data-name="LuCI.uci#move"><a href="LuCI.uci.html#move">move</a></li>
992
993 <li data-name="LuCI.uci#remove"><a href="LuCI.uci.html#remove">remove</a></li>
994
995 <li data-name="LuCI.uci#resolveSID"><a href="LuCI.uci.html#resolveSID">resolveSID</a></li>
996
997 <li data-name="LuCI.uci#save"><a href="LuCI.uci.html#save">save</a></li>
998
999 <li data-name="LuCI.uci#sections"><a href="LuCI.uci.html#sections">sections</a></li>
1000
1001 <li data-name="LuCI.uci#set"><a href="LuCI.uci.html#set">set</a></li>
1002
1003 <li data-name="LuCI.uci#set_first"><a href="LuCI.uci.html#set_first">set_first</a></li>
1004
1005 <li data-name="LuCI.uci#unload"><a href="LuCI.uci.html#unload">unload</a></li>
1006
1007 <li data-name="LuCI.uci#unset"><a href="LuCI.uci.html#unset">unset</a></li>
1008
1009 <li data-name="LuCI.uci#unset_first"><a href="LuCI.uci.html#unset_first">unset_first</a></li>
1010
1011 </ul>
1012 <ul class="events itemMembers">
1013
1014 </ul>
1015 </li>
1016
1017 <li class="item" data-name="LuCI.ui">
1018 <span class="title">
1019 <a href="LuCI.ui.html">LuCI.ui</a>
1020
1021 </span>
1022 <ul class="members itemMembers">
1023
1024 </ul>
1025 <ul class="typedefs itemMembers">
1026
1027 <span class="subtitle">Typedefs</span>
1028
1029 <li data-name="LuCI.ui.FileUploadReply"><a href="LuCI.ui.html#.FileUploadReply">FileUploadReply</a></li>
1030
1031 </ul>
1032 <ul class="typedefs itemMembers">
1033
1034 </ul>
1035 <ul class="methods itemMembers">
1036
1037 <span class="subtitle">Methods</span>
1038
1039 <li data-name="LuCI.ui#addNotification"><a href="LuCI.ui.html#addNotification">addNotification</a></li>
1040
1041 <li data-name="LuCI.ui#addValidator"><a href="LuCI.ui.html#addValidator">addValidator</a></li>
1042
1043 <li data-name="LuCI.ui#awaitReconnect"><a href="LuCI.ui.html#awaitReconnect">awaitReconnect</a></li>
1044
1045 <li data-name="LuCI.ui#createHandlerFn"><a href="LuCI.ui.html#createHandlerFn">createHandlerFn</a></li>
1046
1047 <li data-name="LuCI.ui#hideIndicator"><a href="LuCI.ui.html#hideIndicator">hideIndicator</a></li>
1048
1049 <li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
1050
1051 <li data-name="LuCI.ui#instantiateView"><a href="LuCI.ui.html#instantiateView">instantiateView</a></li>
1052
1053 <li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
1054
1055 <li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
1056
1057 <li data-name="LuCI.ui#showIndicator"><a href="LuCI.ui.html#showIndicator">showIndicator</a></li>
1058
1059 <li data-name="LuCI.ui#showModal"><a href="LuCI.ui.html#showModal">showModal</a></li>
1060
1061 <li data-name="LuCI.ui#uploadFile"><a href="LuCI.ui.html#uploadFile">uploadFile</a></li>
1062
1063 </ul>
1064 <ul class="events itemMembers">
1065
1066 </ul>
1067 </li>
1068
1069 <li class="item" data-name="LuCI.ui.AbstractElement">
1070 <span class="title">
1071 <a href="LuCI.ui.AbstractElement.html">LuCI.ui.AbstractElement</a>
1072
1073 </span>
1074 <ul class="members itemMembers">
1075
1076 </ul>
1077 <ul class="typedefs itemMembers">
1078
1079 <span class="subtitle">Typedefs</span>
1080
1081 <li data-name="LuCI.ui.AbstractElement.InitOptions"><a href="LuCI.ui.AbstractElement.html#.InitOptions">InitOptions</a></li>
1082
1083 </ul>
1084 <ul class="typedefs itemMembers">
1085
1086 </ul>
1087 <ul class="methods itemMembers">
1088
1089 <span class="subtitle">Methods</span>
1090
1091 <li data-name="LuCI.ui.AbstractElement#getValue"><a href="LuCI.ui.AbstractElement.html#getValue">getValue</a></li>
1092
1093 <li data-name="LuCI.ui.AbstractElement#isValid"><a href="LuCI.ui.AbstractElement.html#isValid">isValid</a></li>
1094
1095 <li data-name="LuCI.ui.AbstractElement#registerEvents"><a href="LuCI.ui.AbstractElement.html#registerEvents">registerEvents</a></li>
1096
1097 <li data-name="LuCI.ui.AbstractElement#render"><a href="LuCI.ui.AbstractElement.html#render">render</a></li>
1098
1099 <li data-name="LuCI.ui.AbstractElement#setChangeEvents"><a href="LuCI.ui.AbstractElement.html#setChangeEvents">setChangeEvents</a></li>
1100
1101 <li data-name="LuCI.ui.AbstractElement#setUpdateEvents"><a href="LuCI.ui.AbstractElement.html#setUpdateEvents">setUpdateEvents</a></li>
1102
1103 <li data-name="LuCI.ui.AbstractElement#setValue"><a href="LuCI.ui.AbstractElement.html#setValue">setValue</a></li>
1104
1105 <li data-name="LuCI.ui.AbstractElement#triggerValidation"><a href="LuCI.ui.AbstractElement.html#triggerValidation">triggerValidation</a></li>
1106
1107 </ul>
1108 <ul class="events itemMembers">
1109
1110 </ul>
1111 </li>
1112
1113 <li class="item" data-name="LuCI.ui.changes">
1114 <span class="title">
1115 <a href="LuCI.ui.changes.html">LuCI.ui.changes</a>
1116
1117 </span>
1118 <ul class="members itemMembers">
1119
1120 </ul>
1121 <ul class="typedefs itemMembers">
1122
1123 </ul>
1124 <ul class="typedefs itemMembers">
1125
1126 </ul>
1127 <ul class="methods itemMembers">
1128
1129 <span class="subtitle">Methods</span>
1130
1131 <li data-name="LuCI.ui.changes#apply"><a href="LuCI.ui.changes.html#apply">apply</a></li>
1132
1133 <li data-name="LuCI.ui.changes#displayChanges"><a href="LuCI.ui.changes.html#displayChanges">displayChanges</a></li>
1134
1135 <li data-name="LuCI.ui.changes#renderChangeIndicator"><a href="LuCI.ui.changes.html#renderChangeIndicator">renderChangeIndicator</a></li>
1136
1137 <li data-name="LuCI.ui.changes#revert"><a href="LuCI.ui.changes.html#revert">revert</a></li>
1138
1139 <li data-name="LuCI.ui.changes#setIndicator"><a href="LuCI.ui.changes.html#setIndicator">setIndicator</a></li>
1140
1141 </ul>
1142 <ul class="events itemMembers">
1143
1144 </ul>
1145 </li>
1146
1147 <li class="item" data-name="LuCI.ui.Checkbox">
1148 <span class="title">
1149 <a href="LuCI.ui.Checkbox.html">LuCI.ui.Checkbox</a>
1150
1151 </span>
1152 <ul class="members itemMembers">
1153
1154 </ul>
1155 <ul class="typedefs itemMembers">
1156
1157 <span class="subtitle">Typedefs</span>
1158
1159 <li data-name="LuCI.ui.Checkbox.InitOptions"><a href="LuCI.ui.Checkbox.html#.InitOptions">InitOptions</a></li>
1160
1161 </ul>
1162 <ul class="typedefs itemMembers">
1163
1164 </ul>
1165 <ul class="methods itemMembers">
1166
1167 <span class="subtitle">Methods</span>
1168
1169 <li data-name="LuCI.ui.Checkbox#getValue"><a href="LuCI.ui.Checkbox.html#getValue">getValue</a></li>
1170
1171 <li data-name="LuCI.ui.Checkbox#isChecked"><a href="LuCI.ui.Checkbox.html#isChecked">isChecked</a></li>
1172
1173 <li data-name="LuCI.ui.Checkbox#isValid"><a href="LuCI.ui.Checkbox.html#isValid">isValid</a></li>
1174
1175 <li data-name="LuCI.ui.Checkbox#registerEvents"><a href="LuCI.ui.Checkbox.html#registerEvents">registerEvents</a></li>
1176
1177 <li data-name="LuCI.ui.Checkbox#render"><a href="LuCI.ui.Checkbox.html#render">render</a></li>
1178
1179 <li data-name="LuCI.ui.Checkbox#setChangeEvents"><a href="LuCI.ui.Checkbox.html#setChangeEvents">setChangeEvents</a></li>
1180
1181 <li data-name="LuCI.ui.Checkbox#setUpdateEvents"><a href="LuCI.ui.Checkbox.html#setUpdateEvents">setUpdateEvents</a></li>
1182
1183 <li data-name="LuCI.ui.Checkbox#setValue"><a href="LuCI.ui.Checkbox.html#setValue">setValue</a></li>
1184
1185 <li data-name="LuCI.ui.Checkbox#triggerValidation"><a href="LuCI.ui.Checkbox.html#triggerValidation">triggerValidation</a></li>
1186
1187 </ul>
1188 <ul class="events itemMembers">
1189
1190 </ul>
1191 </li>
1192
1193 <li class="item" data-name="LuCI.ui.Combobox">
1194 <span class="title">
1195 <a href="LuCI.ui.Combobox.html">LuCI.ui.Combobox</a>
1196
1197 </span>
1198 <ul class="members itemMembers">
1199
1200 </ul>
1201 <ul class="typedefs itemMembers">
1202
1203 <span class="subtitle">Typedefs</span>
1204
1205 <li data-name="LuCI.ui.Combobox.InitOptions"><a href="LuCI.ui.Combobox.html#.InitOptions">InitOptions</a></li>
1206
1207 </ul>
1208 <ul class="typedefs itemMembers">
1209
1210 </ul>
1211 <ul class="methods itemMembers">
1212
1213 <span class="subtitle">Methods</span>
1214
1215 <li data-name="LuCI.ui.Combobox#addChoices"><a href="LuCI.ui.Combobox.html#addChoices">addChoices</a></li>
1216
1217 <li data-name="LuCI.ui.Combobox#clearChoices"><a href="LuCI.ui.Combobox.html#clearChoices">clearChoices</a></li>
1218
1219 <li data-name="LuCI.ui.Combobox#closeAllDropdowns"><a href="LuCI.ui.Combobox.html#closeAllDropdowns">closeAllDropdowns</a></li>
1220
1221 <li data-name="LuCI.ui.Combobox#isValid"><a href="LuCI.ui.Combobox.html#isValid">isValid</a></li>
1222
1223 <li data-name="LuCI.ui.Combobox#registerEvents"><a href="LuCI.ui.Combobox.html#registerEvents">registerEvents</a></li>
1224
1225 <li data-name="LuCI.ui.Combobox#setChangeEvents"><a href="LuCI.ui.Combobox.html#setChangeEvents">setChangeEvents</a></li>
1226
1227 <li data-name="LuCI.ui.Combobox#setUpdateEvents"><a href="LuCI.ui.Combobox.html#setUpdateEvents">setUpdateEvents</a></li>
1228
1229 <li data-name="LuCI.ui.Combobox#triggerValidation"><a href="LuCI.ui.Combobox.html#triggerValidation">triggerValidation</a></li>
1230
1231 </ul>
1232 <ul class="events itemMembers">
1233
1234 </ul>
1235 </li>
1236
1237 <li class="item" data-name="LuCI.ui.ComboButton">
1238 <span class="title">
1239 <a href="LuCI.ui.ComboButton.html">LuCI.ui.ComboButton</a>
1240
1241 </span>
1242 <ul class="members itemMembers">
1243
1244 </ul>
1245 <ul class="typedefs itemMembers">
1246
1247 <span class="subtitle">Typedefs</span>
1248
1249 <li data-name="LuCI.ui.ComboButton.InitOptions"><a href="LuCI.ui.ComboButton.html#.InitOptions">InitOptions</a></li>
1250
1251 </ul>
1252 <ul class="typedefs itemMembers">
1253
1254 </ul>
1255 <ul class="methods itemMembers">
1256
1257 <span class="subtitle">Methods</span>
1258
1259 <li data-name="LuCI.ui.ComboButton#addChoices"><a href="LuCI.ui.ComboButton.html#addChoices">addChoices</a></li>
1260
1261 <li data-name="LuCI.ui.ComboButton#clearChoices"><a href="LuCI.ui.ComboButton.html#clearChoices">clearChoices</a></li>
1262
1263 <li data-name="LuCI.ui.ComboButton#closeAllDropdowns"><a href="LuCI.ui.ComboButton.html#closeAllDropdowns">closeAllDropdowns</a></li>
1264
1265 <li data-name="LuCI.ui.ComboButton#isValid"><a href="LuCI.ui.ComboButton.html#isValid">isValid</a></li>
1266
1267 <li data-name="LuCI.ui.ComboButton#registerEvents"><a href="LuCI.ui.ComboButton.html#registerEvents">registerEvents</a></li>
1268
1269 <li data-name="LuCI.ui.ComboButton#setChangeEvents"><a href="LuCI.ui.ComboButton.html#setChangeEvents">setChangeEvents</a></li>
1270
1271 <li data-name="LuCI.ui.ComboButton#setUpdateEvents"><a href="LuCI.ui.ComboButton.html#setUpdateEvents">setUpdateEvents</a></li>
1272
1273 <li data-name="LuCI.ui.ComboButton#triggerValidation"><a href="LuCI.ui.ComboButton.html#triggerValidation">triggerValidation</a></li>
1274
1275 </ul>
1276 <ul class="events itemMembers">
1277
1278 </ul>
1279 </li>
1280
1281 <li class="item" data-name="LuCI.ui.Dropdown">
1282 <span class="title">
1283 <a href="LuCI.ui.Dropdown.html">LuCI.ui.Dropdown</a>
1284
1285 </span>
1286 <ul class="members itemMembers">
1287
1288 </ul>
1289 <ul class="typedefs itemMembers">
1290
1291 <span class="subtitle">Typedefs</span>
1292
1293 <li data-name="LuCI.ui.Dropdown.InitOptions"><a href="LuCI.ui.Dropdown.html#.InitOptions">InitOptions</a></li>
1294
1295 </ul>
1296 <ul class="typedefs itemMembers">
1297
1298 </ul>
1299 <ul class="methods itemMembers">
1300
1301 <span class="subtitle">Methods</span>
1302
1303 <li data-name="LuCI.ui.Dropdown#addChoices"><a href="LuCI.ui.Dropdown.html#addChoices">addChoices</a></li>
1304
1305 <li data-name="LuCI.ui.Dropdown#clearChoices"><a href="LuCI.ui.Dropdown.html#clearChoices">clearChoices</a></li>
1306
1307 <li data-name="LuCI.ui.Dropdown#closeAllDropdowns"><a href="LuCI.ui.Dropdown.html#closeAllDropdowns">closeAllDropdowns</a></li>
1308
1309 <li data-name="LuCI.ui.Dropdown#getValue"><a href="LuCI.ui.Dropdown.html#getValue">getValue</a></li>
1310
1311 <li data-name="LuCI.ui.Dropdown#isValid"><a href="LuCI.ui.Dropdown.html#isValid">isValid</a></li>
1312
1313 <li data-name="LuCI.ui.Dropdown#registerEvents"><a href="LuCI.ui.Dropdown.html#registerEvents">registerEvents</a></li>
1314
1315 <li data-name="LuCI.ui.Dropdown#render"><a href="LuCI.ui.Dropdown.html#render">render</a></li>
1316
1317 <li data-name="LuCI.ui.Dropdown#setChangeEvents"><a href="LuCI.ui.Dropdown.html#setChangeEvents">setChangeEvents</a></li>
1318
1319 <li data-name="LuCI.ui.Dropdown#setUpdateEvents"><a href="LuCI.ui.Dropdown.html#setUpdateEvents">setUpdateEvents</a></li>
1320
1321 <li data-name="LuCI.ui.Dropdown#setValue"><a href="LuCI.ui.Dropdown.html#setValue">setValue</a></li>
1322
1323 <li data-name="LuCI.ui.Dropdown#triggerValidation"><a href="LuCI.ui.Dropdown.html#triggerValidation">triggerValidation</a></li>
1324
1325 </ul>
1326 <ul class="events itemMembers">
1327
1328 </ul>
1329 </li>
1330
1331 <li class="item" data-name="LuCI.ui.DynamicList">
1332 <span class="title">
1333 <a href="LuCI.ui.DynamicList.html">LuCI.ui.DynamicList</a>
1334
1335 </span>
1336 <ul class="members itemMembers">
1337
1338 </ul>
1339 <ul class="typedefs itemMembers">
1340
1341 <span class="subtitle">Typedefs</span>
1342
1343 <li data-name="LuCI.ui.DynamicList.InitOptions"><a href="LuCI.ui.DynamicList.html#.InitOptions">InitOptions</a></li>
1344
1345 </ul>
1346 <ul class="typedefs itemMembers">
1347
1348 </ul>
1349 <ul class="methods itemMembers">
1350
1351 <span class="subtitle">Methods</span>
1352
1353 <li data-name="LuCI.ui.DynamicList#addChoices"><a href="LuCI.ui.DynamicList.html#addChoices">addChoices</a></li>
1354
1355 <li data-name="LuCI.ui.DynamicList#clearChoices"><a href="LuCI.ui.DynamicList.html#clearChoices">clearChoices</a></li>
1356
1357 <li data-name="LuCI.ui.DynamicList#getValue"><a href="LuCI.ui.DynamicList.html#getValue">getValue</a></li>
1358
1359 <li data-name="LuCI.ui.DynamicList#isValid"><a href="LuCI.ui.DynamicList.html#isValid">isValid</a></li>
1360
1361 <li data-name="LuCI.ui.DynamicList#registerEvents"><a href="LuCI.ui.DynamicList.html#registerEvents">registerEvents</a></li>
1362
1363 <li data-name="LuCI.ui.DynamicList#render"><a href="LuCI.ui.DynamicList.html#render">render</a></li>
1364
1365 <li data-name="LuCI.ui.DynamicList#setChangeEvents"><a href="LuCI.ui.DynamicList.html#setChangeEvents">setChangeEvents</a></li>
1366
1367 <li data-name="LuCI.ui.DynamicList#setUpdateEvents"><a href="LuCI.ui.DynamicList.html#setUpdateEvents">setUpdateEvents</a></li>
1368
1369 <li data-name="LuCI.ui.DynamicList#setValue"><a href="LuCI.ui.DynamicList.html#setValue">setValue</a></li>
1370
1371 <li data-name="LuCI.ui.DynamicList#triggerValidation"><a href="LuCI.ui.DynamicList.html#triggerValidation">triggerValidation</a></li>
1372
1373 </ul>
1374 <ul class="events itemMembers">
1375
1376 </ul>
1377 </li>
1378
1379 <li class="item" data-name="LuCI.ui.FileUpload">
1380 <span class="title">
1381 <a href="LuCI.ui.FileUpload.html">LuCI.ui.FileUpload</a>
1382
1383 </span>
1384 <ul class="members itemMembers">
1385
1386 </ul>
1387 <ul class="typedefs itemMembers">
1388
1389 <span class="subtitle">Typedefs</span>
1390
1391 <li data-name="LuCI.ui.FileUpload.InitOptions"><a href="LuCI.ui.FileUpload.html#.InitOptions">InitOptions</a></li>
1392
1393 </ul>
1394 <ul class="typedefs itemMembers">
1395
1396 </ul>
1397 <ul class="methods itemMembers">
1398
1399 <span class="subtitle">Methods</span>
1400
1401 <li data-name="LuCI.ui.FileUpload#getValue"><a href="LuCI.ui.FileUpload.html#getValue">getValue</a></li>
1402
1403 <li data-name="LuCI.ui.FileUpload#isValid"><a href="LuCI.ui.FileUpload.html#isValid">isValid</a></li>
1404
1405 <li data-name="LuCI.ui.FileUpload#registerEvents"><a href="LuCI.ui.FileUpload.html#registerEvents">registerEvents</a></li>
1406
1407 <li data-name="LuCI.ui.FileUpload#render"><a href="LuCI.ui.FileUpload.html#render">render</a></li>
1408
1409 <li data-name="LuCI.ui.FileUpload#setChangeEvents"><a href="LuCI.ui.FileUpload.html#setChangeEvents">setChangeEvents</a></li>
1410
1411 <li data-name="LuCI.ui.FileUpload#setUpdateEvents"><a href="LuCI.ui.FileUpload.html#setUpdateEvents">setUpdateEvents</a></li>
1412
1413 <li data-name="LuCI.ui.FileUpload#setValue"><a href="LuCI.ui.FileUpload.html#setValue">setValue</a></li>
1414
1415 <li data-name="LuCI.ui.FileUpload#triggerValidation"><a href="LuCI.ui.FileUpload.html#triggerValidation">triggerValidation</a></li>
1416
1417 </ul>
1418 <ul class="events itemMembers">
1419
1420 </ul>
1421 </li>
1422
1423 <li class="item" data-name="LuCI.ui.Hiddenfield">
1424 <span class="title">
1425 <a href="LuCI.ui.Hiddenfield.html">LuCI.ui.Hiddenfield</a>
1426
1427 </span>
1428 <ul class="members itemMembers">
1429
1430 </ul>
1431 <ul class="typedefs itemMembers">
1432
1433 </ul>
1434 <ul class="typedefs itemMembers">
1435
1436 </ul>
1437 <ul class="methods itemMembers">
1438
1439 <span class="subtitle">Methods</span>
1440
1441 <li data-name="LuCI.ui.Hiddenfield#getValue"><a href="LuCI.ui.Hiddenfield.html#getValue">getValue</a></li>
1442
1443 <li data-name="LuCI.ui.Hiddenfield#isValid"><a href="LuCI.ui.Hiddenfield.html#isValid">isValid</a></li>
1444
1445 <li data-name="LuCI.ui.Hiddenfield#registerEvents"><a href="LuCI.ui.Hiddenfield.html#registerEvents">registerEvents</a></li>
1446
1447 <li data-name="LuCI.ui.Hiddenfield#render"><a href="LuCI.ui.Hiddenfield.html#render">render</a></li>
1448
1449 <li data-name="LuCI.ui.Hiddenfield#setChangeEvents"><a href="LuCI.ui.Hiddenfield.html#setChangeEvents">setChangeEvents</a></li>
1450
1451 <li data-name="LuCI.ui.Hiddenfield#setUpdateEvents"><a href="LuCI.ui.Hiddenfield.html#setUpdateEvents">setUpdateEvents</a></li>
1452
1453 <li data-name="LuCI.ui.Hiddenfield#setValue"><a href="LuCI.ui.Hiddenfield.html#setValue">setValue</a></li>
1454
1455 <li data-name="LuCI.ui.Hiddenfield#triggerValidation"><a href="LuCI.ui.Hiddenfield.html#triggerValidation">triggerValidation</a></li>
1456
1457 </ul>
1458 <ul class="events itemMembers">
1459
1460 </ul>
1461 </li>
1462
1463 <li class="item" data-name="LuCI.ui.Select">
1464 <span class="title">
1465 <a href="LuCI.ui.Select.html">LuCI.ui.Select</a>
1466
1467 </span>
1468 <ul class="members itemMembers">
1469
1470 </ul>
1471 <ul class="typedefs itemMembers">
1472
1473 <span class="subtitle">Typedefs</span>
1474
1475 <li data-name="LuCI.ui.Select.InitOptions"><a href="LuCI.ui.Select.html#.InitOptions">InitOptions</a></li>
1476
1477 </ul>
1478 <ul class="typedefs itemMembers">
1479
1480 </ul>
1481 <ul class="methods itemMembers">
1482
1483 <span class="subtitle">Methods</span>
1484
1485 <li data-name="LuCI.ui.Select#getValue"><a href="LuCI.ui.Select.html#getValue">getValue</a></li>
1486
1487 <li data-name="LuCI.ui.Select#isValid"><a href="LuCI.ui.Select.html#isValid">isValid</a></li>
1488
1489 <li data-name="LuCI.ui.Select#registerEvents"><a href="LuCI.ui.Select.html#registerEvents">registerEvents</a></li>
1490
1491 <li data-name="LuCI.ui.Select#render"><a href="LuCI.ui.Select.html#render">render</a></li>
1492
1493 <li data-name="LuCI.ui.Select#setChangeEvents"><a href="LuCI.ui.Select.html#setChangeEvents">setChangeEvents</a></li>
1494
1495 <li data-name="LuCI.ui.Select#setUpdateEvents"><a href="LuCI.ui.Select.html#setUpdateEvents">setUpdateEvents</a></li>
1496
1497 <li data-name="LuCI.ui.Select#setValue"><a href="LuCI.ui.Select.html#setValue">setValue</a></li>
1498
1499 <li data-name="LuCI.ui.Select#triggerValidation"><a href="LuCI.ui.Select.html#triggerValidation">triggerValidation</a></li>
1500
1501 </ul>
1502 <ul class="events itemMembers">
1503
1504 </ul>
1505 </li>
1506
1507 <li class="item" data-name="LuCI.ui.tabs">
1508 <span class="title">
1509 <a href="LuCI.ui.tabs.html">LuCI.ui.tabs</a>
1510
1511 </span>
1512 <ul class="members itemMembers">
1513
1514 </ul>
1515 <ul class="typedefs itemMembers">
1516
1517 </ul>
1518 <ul class="typedefs itemMembers">
1519
1520 </ul>
1521 <ul class="methods itemMembers">
1522
1523 <span class="subtitle">Methods</span>
1524
1525 <li data-name="LuCI.ui.tabs#initTabGroup"><a href="LuCI.ui.tabs.html#initTabGroup">initTabGroup</a></li>
1526
1527 <li data-name="LuCI.ui.tabs#isEmptyPane"><a href="LuCI.ui.tabs.html#isEmptyPane">isEmptyPane</a></li>
1528
1529 </ul>
1530 <ul class="events itemMembers">
1531
1532 </ul>
1533 </li>
1534
1535 <li class="item" data-name="LuCI.ui.Textarea">
1536 <span class="title">
1537 <a href="LuCI.ui.Textarea.html">LuCI.ui.Textarea</a>
1538
1539 </span>
1540 <ul class="members itemMembers">
1541
1542 </ul>
1543 <ul class="typedefs itemMembers">
1544
1545 <span class="subtitle">Typedefs</span>
1546
1547 <li data-name="LuCI.ui.Textarea.InitOptions"><a href="LuCI.ui.Textarea.html#.InitOptions">InitOptions</a></li>
1548
1549 </ul>
1550 <ul class="typedefs itemMembers">
1551
1552 </ul>
1553 <ul class="methods itemMembers">
1554
1555 <span class="subtitle">Methods</span>
1556
1557 <li data-name="LuCI.ui.Textarea#getValue"><a href="LuCI.ui.Textarea.html#getValue">getValue</a></li>
1558
1559 <li data-name="LuCI.ui.Textarea#isValid"><a href="LuCI.ui.Textarea.html#isValid">isValid</a></li>
1560
1561 <li data-name="LuCI.ui.Textarea#registerEvents"><a href="LuCI.ui.Textarea.html#registerEvents">registerEvents</a></li>
1562
1563 <li data-name="LuCI.ui.Textarea#render"><a href="LuCI.ui.Textarea.html#render">render</a></li>
1564
1565 <li data-name="LuCI.ui.Textarea#setChangeEvents"><a href="LuCI.ui.Textarea.html#setChangeEvents">setChangeEvents</a></li>
1566
1567 <li data-name="LuCI.ui.Textarea#setUpdateEvents"><a href="LuCI.ui.Textarea.html#setUpdateEvents">setUpdateEvents</a></li>
1568
1569 <li data-name="LuCI.ui.Textarea#setValue"><a href="LuCI.ui.Textarea.html#setValue">setValue</a></li>
1570
1571 <li data-name="LuCI.ui.Textarea#triggerValidation"><a href="LuCI.ui.Textarea.html#triggerValidation">triggerValidation</a></li>
1572
1573 </ul>
1574 <ul class="events itemMembers">
1575
1576 </ul>
1577 </li>
1578
1579 <li class="item" data-name="LuCI.ui.Textfield">
1580 <span class="title">
1581 <a href="LuCI.ui.Textfield.html">LuCI.ui.Textfield</a>
1582
1583 </span>
1584 <ul class="members itemMembers">
1585
1586 </ul>
1587 <ul class="typedefs itemMembers">
1588
1589 <span class="subtitle">Typedefs</span>
1590
1591 <li data-name="LuCI.ui.Textfield.InitOptions"><a href="LuCI.ui.Textfield.html#.InitOptions">InitOptions</a></li>
1592
1593 </ul>
1594 <ul class="typedefs itemMembers">
1595
1596 </ul>
1597 <ul class="methods itemMembers">
1598
1599 <span class="subtitle">Methods</span>
1600
1601 <li data-name="LuCI.ui.Textfield#getValue"><a href="LuCI.ui.Textfield.html#getValue">getValue</a></li>
1602
1603 <li data-name="LuCI.ui.Textfield#isValid"><a href="LuCI.ui.Textfield.html#isValid">isValid</a></li>
1604
1605 <li data-name="LuCI.ui.Textfield#registerEvents"><a href="LuCI.ui.Textfield.html#registerEvents">registerEvents</a></li>
1606
1607 <li data-name="LuCI.ui.Textfield#render"><a href="LuCI.ui.Textfield.html#render">render</a></li>
1608
1609 <li data-name="LuCI.ui.Textfield#setChangeEvents"><a href="LuCI.ui.Textfield.html#setChangeEvents">setChangeEvents</a></li>
1610
1611 <li data-name="LuCI.ui.Textfield#setUpdateEvents"><a href="LuCI.ui.Textfield.html#setUpdateEvents">setUpdateEvents</a></li>
1612
1613 <li data-name="LuCI.ui.Textfield#setValue"><a href="LuCI.ui.Textfield.html#setValue">setValue</a></li>
1614
1615 <li data-name="LuCI.ui.Textfield#triggerValidation"><a href="LuCI.ui.Textfield.html#triggerValidation">triggerValidation</a></li>
1616
1617 </ul>
1618 <ul class="events itemMembers">
1619
1620 </ul>
1621 </li>
1622
1623 <li class="item" data-name="LuCI.view">
1624 <span class="title">
1625 <a href="LuCI.view.html">LuCI.view</a>
1626
1627 </span>
1628 <ul class="members itemMembers">
1629
1630 </ul>
1631 <ul class="typedefs itemMembers">
1632
1633 </ul>
1634 <ul class="typedefs itemMembers">
1635
1636 </ul>
1637 <ul class="methods itemMembers">
1638
1639 <span class="subtitle">Methods</span>
1640
1641 <li data-name="LuCI.view#addFooter"><a href="LuCI.view.html#addFooter">addFooter</a></li>
1642
1643 <li data-name="LuCI.view#handleReset"><a href="LuCI.view.html#handleReset">handleReset</a></li>
1644
1645 <li data-name="LuCI.view#handleSave"><a href="LuCI.view.html#handleSave">handleSave</a></li>
1646
1647 <li data-name="LuCI.view#handleSaveApply"><a href="LuCI.view.html#handleSaveApply">handleSaveApply</a></li>
1648
1649 <li data-name="LuCI.view#load"><a href="LuCI.view.html#load">load</a></li>
1650
1651 <li data-name="LuCI.view#render"><a href="LuCI.view.html#render">render</a></li>
1652
1653 </ul>
1654 <ul class="events itemMembers">
1655
1656 </ul>
1657 </li>
1658
1659 <li class="item" data-name="LuCI.xhr">
1660 <span class="title">
1661 <a href="LuCI.xhr.html">LuCI.xhr</a>
1662
1663 </span>
1664 <ul class="members itemMembers">
1665
1666 </ul>
1667 <ul class="typedefs itemMembers">
1668
1669 </ul>
1670 <ul class="typedefs itemMembers">
1671
1672 </ul>
1673 <ul class="methods itemMembers">
1674
1675 <span class="subtitle">Methods</span>
1676
1677 <li data-name="LuCI.xhr#abort"><a href="LuCI.xhr.html#abort">abort</a></li>
1678
1679 <li data-name="LuCI.xhr#busy"><a href="LuCI.xhr.html#busy">busy</a></li>
1680
1681 <li data-name="LuCI.xhr#cancel"><a href="LuCI.xhr.html#cancel">cancel</a></li>
1682
1683 <li data-name="LuCI.xhr#get"><a href="LuCI.xhr.html#get">get</a></li>
1684
1685 <li data-name="LuCI.xhr#post"><a href="LuCI.xhr.html#post">post</a></li>
1686
1687 <li data-name="LuCI.xhr#send_form"><a href="LuCI.xhr.html#send_form">send_form</a></li>
1688
1689 </ul>
1690 <ul class="events itemMembers">
1691
1692 </ul>
1693 </li>
1694
1695 </ul>
1696 </div>
1697 <div class="main">
1698 <h1 class="page-title" data-filename="LuCI.ui.html">Class: ui</h1>
1699
1700
1701
1702
1703 <section>
1704
1705 <header>
1706 <h2>
1707 <span class="ancestors"><a href="LuCI.html">LuCI</a>.</span>
1708
1709 ui
1710 </h2>
1711
1712 <div class="class-description"><p>Provides high level UI helper functionality.
1713 To import the class in views, use <code>'require ui'</code>, to import it in
1714 external JavaScript, use <code>L.require(&quot;ui&quot;).then(...)</code>.</p></div>
1715
1716 </header>
1717
1718 <article>
1719 <div class="container-overview">
1720
1721
1722
1723
1724 <dt>
1725 <div class="nameContainer">
1726 <h4 class="name" id="ui">
1727
1728 new LuCI.ui<span class="signature">()</span>
1729 </h4>
1730
1731
1732 <div class="tag-source">
1733 <a href="ui.js.html">ui.js</a>, <a href="ui.js.html#line2929">line 2929</a>
1734 </div>
1735
1736 </div>
1737
1738
1739 </dt>
1740 <dd>
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751 <dl class="details">
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773 </dl>
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787 </dd>
1788
1789
1790 </div>
1791
1792
1793
1794
1795
1796
1797
1798
1799 <h3 class="subsection-title">Classes</h3>
1800
1801 <dl>
1802 <dt><a href="LuCI.ui.AbstractElement.html">AbstractElement</a></dt>
1803 <dd></dd>
1804
1805 <dt><a href="LuCI.ui.changes.html">changes</a></dt>
1806 <dd></dd>
1807
1808 <dt><a href="LuCI.ui.Checkbox.html">Checkbox</a></dt>
1809 <dd></dd>
1810
1811 <dt><a href="LuCI.ui.Combobox.html">Combobox</a></dt>
1812 <dd></dd>
1813
1814 <dt><a href="LuCI.ui.ComboButton.html">ComboButton</a></dt>
1815 <dd></dd>
1816
1817 <dt><a href="LuCI.ui.Dropdown.html">Dropdown</a></dt>
1818 <dd></dd>
1819
1820 <dt><a href="LuCI.ui.DynamicList.html">DynamicList</a></dt>
1821 <dd></dd>
1822
1823 <dt><a href="LuCI.ui.FileUpload.html">FileUpload</a></dt>
1824 <dd></dd>
1825
1826 <dt><a href="LuCI.ui.Hiddenfield.html">Hiddenfield</a></dt>
1827 <dd></dd>
1828
1829 <dt><a href="LuCI.ui.Select.html">Select</a></dt>
1830 <dd></dd>
1831
1832 <dt><a href="LuCI.ui.tabs.html">tabs</a></dt>
1833 <dd></dd>
1834
1835 <dt><a href="LuCI.ui.Textarea.html">Textarea</a></dt>
1836 <dd></dd>
1837
1838 <dt><a href="LuCI.ui.Textfield.html">Textfield</a></dt>
1839 <dd></dd>
1840 </dl>
1841
1842
1843
1844
1845
1846
1847
1848 <h3 class="subsection-title">Methods</h3>
1849
1850 <dl>
1851
1852 <dt>
1853 <div class="nameContainer">
1854 <h4 class="name" id="addNotification">
1855
1856 addNotification<span class="signature">(<span class="optional">title</span>, contents, <span class="optional">classes</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Node}</span>
1857 </h4>
1858
1859
1860 <div class="tag-source">
1861 <a href="ui.js.html">ui.js</a>, <a href="ui.js.html#line3109">line 3109</a>
1862 </div>
1863
1864 </div>
1865
1866
1867 </dt>
1868 <dd>
1869
1870
1871 <div class="description">
1872 <p>Add a notification banner at the top of the current view.</p>
1873 <p>A notification banner is an alert message usually displayed at the
1874 top of the current view, spanning the entire availibe width.
1875 Notification banners will stay in place until dismissed by the user.
1876 Multiple banners may be shown at the same time.</p>
1877 <p>Additional CSS class names may be passed to influence the appearence of
1878 the banner. Valid values for the classes depend on the underlying theme.</p>
1879 </div>
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889 <table class="params">
1890 <thead>
1891 <tr>
1892
1893 <th>Name</th>
1894
1895
1896 <th>Type</th>
1897
1898
1899
1900 <th class="last">Description</th>
1901 </tr>
1902 </thead>
1903
1904 <tbody>
1905
1906
1907 <tr>
1908
1909 <td class="name"><code>title</code></td>
1910
1911
1912 <td class="type">
1913
1914
1915 <span class="param-type">string</span>
1916
1917
1918
1919 </td>
1920
1921
1922
1923 <td class="description last">
1924
1925
1926 <span class="optional">optional</span>
1927
1928
1929
1930
1931
1932 <p>The title of the notification banner. If <code>null</code>, no title element
1933 will be rendered.</p></td>
1934 </tr>
1935
1936
1937
1938 <tr>
1939
1940 <td class="name"><code>contents</code></td>
1941
1942
1943 <td class="type">
1944
1945
1946 <span class="param-type">*</span>
1947
1948
1949
1950 </td>
1951
1952
1953
1954 <td class="description last">
1955
1956
1957
1958
1959
1960
1961 <p>The contents to add to the notification banner. This should be a DOM
1962 node or a document fragment in most cases. The value is passed as-is
1963 to the <code>dom.content()</code> function - refer to its documentation for
1964 applicable values.</p></td>
1965 </tr>
1966
1967
1968
1969 <tr>
1970
1971 <td class="name"><code>classes</code></td>
1972
1973
1974 <td class="type">
1975
1976
1977 <span class="param-type">string</span>
1978
1979
1980
1981 </td>
1982
1983
1984
1985 <td class="description last">
1986
1987
1988 <span class="optional">optional</span>
1989
1990
1991
1992
1993 <span class="repeatable">repeatable</span>
1994
1995
1996 <p>A number of extra CSS class names which are set on the notification
1997 banner element.</p></td>
1998 </tr>
1999
2000
2001 </tbody>
2002 </table>
2003
2004
2005
2006 <dl class="details">
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026 <dt class="tag-see">See:</dt>
2027 <dd class="tag-see">
2028 <ul>
2029 <li>LuCI.dom.content</li>
2030 </ul>
2031 </dd>
2032
2033
2034
2035 </dl>
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047 <h5>Returns:</h5>
2048
2049
2050
2051 <table class="params">
2052 <thead>
2053 <tr>
2054
2055 <th>Type</th>
2056 <th class="last">Description</th>
2057 </tr>
2058 </thead>
2059 <tbody>
2060
2061 <tr>
2062
2063 <td class="type">
2064
2065 Node
2066
2067
2068 </td>
2069 <td class="description last">Returns a DOM Node representing the notification banner element.</td>
2070 </tr>
2071
2072 </tbody>
2073 </table>
2074
2075
2076
2077
2078 </dd>
2079
2080
2081
2082 <dt>
2083 <div class="nameContainer">
2084 <h4 class="name" id="addValidator">
2085
2086 addValidator<span class="signature">(field, type, <span class="optional">optional</span>, <span class="optional">vfunc</span>, <span class="optional">events</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{function}</span>
2087 </h4>
2088
2089
2090 <div class="tag-source">
2091 <a href="ui.js.html">ui.js</a>, <a href="ui.js.html#line4195">line 4195</a>
2092 </div>
2093
2094 </div>
2095
2096
2097 </dt>
2098 <dd>
2099
2100
2101 <div class="description">
2102 <p>Add validation constraints to an input element.</p>
2103 <p>Compile the given type expression and optional validator function into
2104 a validation function and bind it to the specified input element events.</p>
2105 </div>
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115 <table class="params">
2116 <thead>
2117 <tr>
2118
2119 <th>Name</th>
2120
2121
2122 <th>Type</th>
2123
2124
2125 <th>Default</th>
2126
2127
2128 <th class="last">Description</th>
2129 </tr>
2130 </thead>
2131
2132 <tbody>
2133
2134
2135 <tr>
2136
2137 <td class="name"><code>field</code></td>
2138
2139
2140 <td class="type">
2141
2142
2143 <span class="param-type">Node</span>
2144
2145
2146
2147 </td>
2148
2149
2150 <td class="default">
2151
2152 </td>
2153
2154
2155 <td class="description last">
2156
2157
2158
2159
2160
2161
2162 <p>The DOM input element node to bind the validation constraints to.</p></td>
2163 </tr>
2164
2165
2166
2167 <tr>
2168
2169 <td class="name"><code>type</code></td>
2170
2171
2172 <td class="type">
2173
2174
2175 <span class="param-type">string</span>
2176
2177
2178
2179 </td>
2180
2181
2182 <td class="default">
2183
2184 </td>
2185
2186
2187 <td class="description last">
2188
2189
2190
2191
2192
2193
2194 <p>The datatype specification to describe validation constraints.
2195 Refer to the <code>LuCI.validation</code> class documentation for details.</p></td>
2196 </tr>
2197
2198
2199
2200 <tr>
2201
2202 <td class="name"><code>optional</code></td>
2203
2204
2205 <td class="type">
2206
2207
2208 <span class="param-type">boolean</span>
2209
2210
2211
2212 </td>
2213
2214
2215 <td class="default">
2216
2217 false
2218
2219 </td>
2220
2221
2222 <td class="description last">
2223
2224
2225 <span class="optional">optional</span>
2226
2227
2228
2229
2230
2231 <p>Specifies whether empty values are allowed (<code>true</code>) or not (<code>false</code>).
2232 If an input element is not marked optional it must not be empty,
2233 otherwise it will be marked as invalid.</p></td>
2234 </tr>
2235
2236
2237
2238 <tr>
2239
2240 <td class="name"><code>vfunc</code></td>
2241
2242
2243 <td class="type">
2244
2245
2246 <span class="param-type">function</span>
2247
2248
2249
2250 </td>
2251
2252
2253 <td class="default">
2254
2255 </td>
2256
2257
2258 <td class="description last">
2259
2260
2261 <span class="optional">optional</span>
2262
2263
2264
2265
2266
2267 <p>Specifies a custom validation function which is invoked after the
2268 other validation constraints are applied. The validation must return
2269 <code>true</code> to accept the passed value. Any other return type is converted
2270 to a string and treated as validation error message.</p></td>
2271 </tr>
2272
2273
2274
2275 <tr>
2276
2277 <td class="name"><code>events</code></td>
2278
2279
2280 <td class="type">
2281
2282
2283 <span class="param-type">string</span>
2284
2285
2286
2287 </td>
2288
2289
2290 <td class="default">
2291
2292 blur, keyup
2293
2294 </td>
2295
2296
2297 <td class="description last">
2298
2299
2300 <span class="optional">optional</span>
2301
2302
2303
2304
2305 <span class="repeatable">repeatable</span>
2306
2307
2308 <p>The list of events to bind. Each received event will trigger a field
2309 validation. If omitted, the <code>keyup</code> and <code>blur</code> events are bound by
2310 default.</p></td>
2311 </tr>
2312
2313
2314 </tbody>
2315 </table>
2316
2317
2318
2319 <dl class="details">
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339 <dt class="tag-see">See:</dt>
2340 <dd class="tag-see">
2341 <ul>
2342 <li>LuCI.validation</li>
2343 </ul>
2344 </dd>
2345
2346
2347
2348 </dl>
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360 <h5>Returns:</h5>
2361
2362
2363
2364 <table class="params">
2365 <thead>
2366 <tr>
2367
2368 <th>Type</th>
2369 <th class="last">Description</th>
2370 </tr>
2371 </thead>
2372 <tbody>
2373
2374 <tr>
2375
2376 <td class="type">
2377
2378 function
2379
2380
2381 </td>
2382 <td class="description last">Returns the compiled validator function which can be used to manually
2383 trigger field validation or to bind it to further events.</td>
2384 </tr>
2385
2386 </tbody>
2387 </table>
2388
2389
2390
2391
2392 </dd>
2393
2394
2395
2396 <dt>
2397 <div class="nameContainer">
2398 <h4 class="name" id="awaitReconnect">
2399
2400 awaitReconnect<span class="signature">(<span class="optional">hosts</span>)</span>
2401 </h4>
2402
2403
2404 <div class="tag-source">
2405 <a href="ui.js.html">ui.js</a>, <a href="ui.js.html#line3729">line 3729</a>
2406 </div>
2407
2408 </div>
2409
2410
2411 </dt>
2412 <dd>
2413
2414
2415 <div class="description">
2416 <p>Wait for device to come back online and reconnect to it.</p>
2417 <p>Poll each given hostname or IP address and navigate to it as soon as
2418 one of the addresses becomes reachable.</p>
2419 </div>
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429 <table class="params">
2430 <thead>
2431 <tr>
2432
2433 <th>Name</th>
2434
2435
2436 <th>Type</th>
2437
2438
2439 <th>Default</th>
2440
2441
2442 <th class="last">Description</th>
2443 </tr>
2444 </thead>
2445
2446 <tbody>
2447
2448
2449 <tr>
2450
2451 <td class="name"><code>hosts</code></td>
2452
2453
2454 <td class="type">
2455
2456
2457 <span class="param-type">string</span>
2458
2459
2460
2461 </td>
2462
2463
2464 <td class="default">
2465
2466 [window.location.host]
2467
2468 </td>
2469
2470
2471 <td class="description last">
2472
2473
2474 <span class="optional">optional</span>
2475
2476
2477
2478
2479 <span class="repeatable">repeatable</span>
2480
2481
2482 <p>The list of IP addresses and host names to check for reachability.
2483 If omitted, the current value of <code>window.location.host</code> is used by
2484 default.</p></td>
2485 </tr>
2486
2487
2488 </tbody>
2489 </table>
2490
2491
2492
2493 <dl class="details">
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515 </dl>
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529 </dd>
2530
2531
2532
2533 <dt>
2534 <div class="nameContainer">
2535 <h4 class="name" id="createHandlerFn">
2536
2537 createHandlerFn<span class="signature">(ctx, fn, extra_args)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{function|null}</span>
2538 </h4>
2539
2540
2541 <div class="tag-source">
2542 <a href="ui.js.html">ui.js</a>, <a href="ui.js.html#line4246">line 4246</a>
2543 </div>
2544
2545 </div>
2546
2547
2548 </dt>
2549 <dd>
2550
2551
2552 <div class="description">
2553 <p>Create a pre-bound event handler function.</p>
2554 <p>Generate and bind a function suitable for use in event handlers. The
2555 generated function automatically disables the event source element
2556 and adds an active indication to it by adding appropriate CSS classes.</p>
2557 <p>It will also await any promises returned by the wrapped function and
2558 re-enable the source element after the promises ran to completion.</p>
2559 </div>
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569 <table class="params">
2570 <thead>
2571 <tr>
2572
2573 <th>Name</th>
2574
2575
2576 <th>Type</th>
2577
2578
2579
2580 <th class="last">Description</th>
2581 </tr>
2582 </thead>
2583
2584 <tbody>
2585
2586
2587 <tr>
2588
2589 <td class="name"><code>ctx</code></td>
2590
2591
2592 <td class="type">
2593
2594
2595 <span class="param-type">*</span>
2596
2597
2598
2599 </td>
2600
2601
2602
2603 <td class="description last">
2604
2605
2606
2607
2608
2609
2610 <p>The <code>this</code> context to use for the wrapped function.</p></td>
2611 </tr>
2612
2613
2614
2615 <tr>
2616
2617 <td class="name"><code>fn</code></td>
2618
2619
2620 <td class="type">
2621
2622
2623 <span class="param-type">function</span>
2624 |
2625
2626 <span class="param-type">string</span>
2627
2628
2629
2630 </td>
2631
2632
2633
2634 <td class="description last">
2635
2636
2637
2638
2639
2640
2641 <p>Specifies the function to wrap. In case of a function value, the
2642 function is used as-is. If a string is specified instead, it is looked
2643 up in <code>ctx</code> to obtain the function to wrap. In both cases the bound
2644 function will be invoked with <code>ctx</code> as <code>this</code> context</p></td>
2645 </tr>
2646
2647
2648
2649 <tr>
2650
2651 <td class="name"><code>extra_args</code></td>
2652
2653
2654 <td class="type">
2655
2656
2657 <span class="param-type">*</span>
2658
2659
2660
2661 </td>
2662
2663
2664
2665 <td class="description last">
2666
2667
2668
2669
2670
2671 <span class="repeatable">repeatable</span>
2672
2673
2674 <p>Any further parameter as passed as-is to the bound event handler
2675 function in the same order as passed to <code>createHandlerFn()</code>.</p></td>
2676 </tr>
2677
2678
2679 </tbody>
2680 </table>
2681
2682
2683
2684 <dl class="details">
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706 </dl>
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718 <h5>Returns:</h5>
2719
2720
2721
2722 <table class="params">
2723 <thead>
2724 <tr>
2725
2726 <th>Type</th>
2727 <th class="last">Description</th>
2728 </tr>
2729 </thead>
2730 <tbody>
2731
2732 <tr>
2733
2734 <td class="type">
2735
2736 function
2737 |
2738
2739 null
2740
2741
2742 </td>
2743 <td class="description last">Returns the pre-bound handler function which is suitable to be passed
2744 to <code>addEventListener()</code>. Returns <code>null</code> if the given <code>fn</code> argument is
2745 a string which could not be found in <code>ctx</code> or if <code>ctx[fn]</code> is not a
2746 valid function value.</td>
2747 </tr>
2748
2749 </tbody>
2750 </table>
2751
2752
2753
2754
2755 </dd>
2756
2757
2758
2759 <dt>
2760 <div class="nameContainer">
2761 <h4 class="name" id="hideIndicator">
2762
2763 hideIndicator<span class="signature">(id)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
2764 </h4>
2765
2766
2767 <div class="tag-source">
2768 <a href="ui.js.html">ui.js</a>, <a href="ui.js.html#line3218">line 3218</a>
2769 </div>
2770
2771 </div>
2772
2773
2774 </dt>
2775 <dd>
2776
2777
2778 <div class="description">
2779 <p>Remove an header area indicator.</p>
2780 <p>This function removes the given indicator label from the header indicator
2781 area. When the given indicator is not found, this function does nothing.</p>
2782 </div>
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792 <table class="params">
2793 <thead>
2794 <tr>
2795
2796 <th>Name</th>
2797
2798
2799 <th>Type</th>
2800
2801
2802
2803 <th class="last">Description</th>
2804 </tr>
2805 </thead>
2806
2807 <tbody>
2808
2809
2810 <tr>
2811
2812 <td class="name"><code>id</code></td>
2813
2814
2815 <td class="type">
2816
2817
2818 <span class="param-type">string</span>
2819
2820
2821
2822 </td>
2823
2824
2825
2826 <td class="description last">
2827
2828 <p>The ID of the indicator to remove.</p></td>
2829 </tr>
2830
2831
2832 </tbody>
2833 </table>
2834
2835
2836
2837 <dl class="details">
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859 </dl>
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871 <h5>Returns:</h5>
2872
2873
2874
2875 <table class="params">
2876 <thead>
2877 <tr>
2878
2879 <th>Type</th>
2880 <th class="last">Description</th>
2881 </tr>
2882 </thead>
2883 <tbody>
2884
2885 <tr>
2886
2887 <td class="type">
2888
2889 boolean
2890
2891
2892 </td>
2893 <td class="description last">Returns <code>true</code> when the indicator has been removed or <code>false</code> when the
2894 requested indicator was not found.</td>
2895 </tr>
2896
2897 </tbody>
2898 </table>
2899
2900
2901
2902
2903 </dd>
2904
2905
2906
2907 <dt>
2908 <div class="nameContainer">
2909 <h4 class="name" id="hideModal">
2910
2911 hideModal<span class="signature">()</span>
2912 </h4>
2913
2914
2915 <div class="tag-source">
2916 <a href="ui.js.html">ui.js</a>, <a href="ui.js.html#line3020">line 3020</a>
2917 </div>
2918
2919 </div>
2920
2921
2922 </dt>
2923 <dd>
2924
2925
2926 <div class="description">
2927 <p>Close the open modal overlay dialog.</p>
2928 <p>This function will close an open modal dialog and restore the normal view
2929 behaviour. It has no effect if no modal dialog is currently open.</p>
2930 <p>Note that this function is stand-alone, it does not rely on <code>this</code> and
2931 will not invoke other class functions so it suitable to be used as event
2932 handler as-is without the need to bind it first.</p>
2933 </div>
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943 <dl class="details">
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965 </dl>
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979 </dd>
2980
2981
2982
2983 <dt>
2984 <div class="nameContainer">
2985 <h4 class="name" id="instantiateView">
2986
2987 instantiateView<span class="signature">(path)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.&lt;<a href="LuCI.view.html">LuCI.view</a>>}</span>
2988 </h4>
2989
2990
2991 <div class="tag-source">
2992 <a href="ui.js.html">ui.js</a>, <a href="ui.js.html#line4289">line 4289</a>
2993 </div>
2994
2995 </div>
2996
2997
2998 </dt>
2999 <dd>
3000
3001
3002 <div class="description">
3003 <p>Load specified view class path and set it up.</p>
3004 <p>Transforms the given view path into a class name, requires it
3005 using <a href="LuCI.html#require"><code>LuCI.require()</code></a> and asserts that the
3006 resulting class instance is a descendant of
3007 <a href="LuCI.view.html"><code>LuCI.view</code></a>.</p>
3008 <p>By instantiating the view class, its corresponding contents are
3009 rendered and included into the view area. Any runtime errors are
3010 catched and rendered using <a href="LuCI.html#error"><code>LuCI.error()</code></a>.</p>
3011 </div>
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021 <table class="params">
3022 <thead>
3023 <tr>
3024
3025 <th>Name</th>
3026
3027
3028 <th>Type</th>
3029
3030
3031
3032 <th class="last">Description</th>
3033 </tr>
3034 </thead>
3035
3036 <tbody>
3037
3038
3039 <tr>
3040
3041 <td class="name"><code>path</code></td>
3042
3043
3044 <td class="type">
3045
3046
3047 <span class="param-type">string</span>
3048
3049
3050
3051 </td>
3052
3053
3054
3055 <td class="description last">
3056
3057 <p>The view path to render.</p></td>
3058 </tr>
3059
3060
3061 </tbody>
3062 </table>
3063
3064
3065
3066 <dl class="details">
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088 </dl>
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100 <h5>Returns:</h5>
3101
3102
3103
3104 <table class="params">
3105 <thead>
3106 <tr>
3107
3108 <th>Type</th>
3109 <th class="last">Description</th>
3110 </tr>
3111 </thead>
3112 <tbody>
3113
3114 <tr>
3115
3116 <td class="type">
3117
3118 Promise.&lt;<a href="LuCI.view.html">LuCI.view</a>>
3119
3120
3121 </td>
3122 <td class="description last">Returns a promise resolving to the loaded view instance.</td>
3123 </tr>
3124
3125 </tbody>
3126 </table>
3127
3128
3129
3130
3131 </dd>
3132
3133
3134
3135 <dt>
3136 <div class="nameContainer">
3137 <h4 class="name" id="itemlist">
3138
3139 itemlist<span class="signature">(node, items, <span class="optional">separators</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Node}</span>
3140 </h4>
3141
3142
3143 <div class="tag-source">
3144 <a href="ui.js.html">ui.js</a>, <a href="ui.js.html#line3261">line 3261</a>
3145 </div>
3146
3147 </div>
3148
3149
3150 </dt>
3151 <dd>
3152
3153
3154 <div class="description">
3155 <p>Formats a series of label/value pairs into list-like markup.</p>
3156 <p>This function transforms a flat array of alternating label and value
3157 elements into a list-like markup, using the values in <code>separators</code> as
3158 separators and appends the resulting nodes to the given parent DOM node.</p>
3159 <p>Each label is suffixed with <code>:</code> and wrapped into a <code>&lt;strong&gt;</code> tag, the
3160 <code>&lt;strong&gt;</code> element and the value corresponding to the label are
3161 subsequently wrapped into a <code>&lt;span class=&quot;nowrap&quot;&gt;</code> element.</p>
3162 <p>The resulting <code>&lt;span&gt;</code> element tuples are joined by the given separators
3163 to form the final markup which is appened to the given parent DOM node.</p>
3164 </div>
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174 <table class="params">
3175 <thead>
3176 <tr>
3177
3178 <th>Name</th>
3179
3180
3181 <th>Type</th>
3182
3183
3184 <th>Default</th>
3185
3186
3187 <th class="last">Description</th>
3188 </tr>
3189 </thead>
3190
3191 <tbody>
3192
3193
3194 <tr>
3195
3196 <td class="name"><code>node</code></td>
3197
3198
3199 <td class="type">
3200
3201
3202 <span class="param-type">Node</span>
3203
3204
3205
3206 </td>
3207
3208
3209 <td class="default">
3210
3211 </td>
3212
3213
3214 <td class="description last">
3215
3216
3217
3218
3219
3220
3221 <p>The parent DOM node to append the markup to. Any previous child elements
3222 will be removed.</p></td>
3223 </tr>
3224
3225
3226
3227 <tr>
3228
3229 <td class="name"><code>items</code></td>
3230
3231
3232 <td class="type">
3233
3234
3235 <span class="param-type">Array.&lt;*></span>
3236
3237
3238
3239 </td>
3240
3241
3242 <td class="default">
3243
3244 </td>
3245
3246
3247 <td class="description last">
3248
3249
3250
3251
3252
3253
3254 <p>An alternating array of labels and values. The label values will be
3255 converted to plain strings, the values are used as-is and may be of
3256 any type accepted by <code>LuCI.dom.content()</code>.</p></td>
3257 </tr>
3258
3259
3260
3261 <tr>
3262
3263 <td class="name"><code>separators</code></td>
3264
3265
3266 <td class="type">
3267
3268
3269 <span class="param-type">*</span>
3270 |
3271
3272 <span class="param-type">Array.&lt;*></span>
3273
3274
3275
3276 </td>
3277
3278
3279 <td class="default">
3280
3281 [E('br')]
3282
3283 </td>
3284
3285
3286 <td class="description last">
3287
3288
3289 <span class="optional">optional</span>
3290
3291
3292
3293
3294
3295 <p>A single value or an array of separator values to separate each
3296 label/value pair with. The function will cycle through the separators
3297 when joining the pairs. If omitted, the default separator is a sole HTML
3298 <code>&lt;br&gt;</code> element. Separator values are used as-is and may be of any type
3299 accepted by <code>LuCI.dom.content()</code>.</p></td>
3300 </tr>
3301
3302
3303 </tbody>
3304 </table>
3305
3306
3307
3308 <dl class="details">
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330 </dl>
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342 <h5>Returns:</h5>
3343
3344
3345
3346 <table class="params">
3347 <thead>
3348 <tr>
3349
3350 <th>Type</th>
3351 <th class="last">Description</th>
3352 </tr>
3353 </thead>
3354 <tbody>
3355
3356 <tr>
3357
3358 <td class="type">
3359
3360 Node
3361
3362
3363 </td>
3364 <td class="description last">Returns the parent DOM node the formatted markup has been added to.</td>
3365 </tr>
3366
3367 </tbody>
3368 </table>
3369
3370
3371
3372
3373 </dd>
3374
3375
3376
3377 <dt>
3378 <div class="nameContainer">
3379 <h4 class="name" id="pingDevice">
3380
3381 pingDevice<span class="signature">(<span class="optional">proto</span>, <span class="optional">host</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.&lt;Event>}</span>
3382 </h4>
3383
3384
3385 <div class="tag-source">
3386 <a href="ui.js.html">ui.js</a>, <a href="ui.js.html#line3703">line 3703</a>
3387 </div>
3388
3389 </div>
3390
3391
3392 </dt>
3393 <dd>
3394
3395
3396 <div class="description">
3397 <p>Perform a device connectivity test.</p>
3398 <p>Attempt to fetch a well known ressource from the remote device via HTTP
3399 in order to test connectivity. This function is mainly useful to wait
3400 for the router to come back online after a reboot or reconfiguration.</p>
3401 </div>
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411 <table class="params">
3412 <thead>
3413 <tr>
3414
3415 <th>Name</th>
3416
3417
3418 <th>Type</th>
3419
3420
3421 <th>Default</th>
3422
3423
3424 <th class="last">Description</th>
3425 </tr>
3426 </thead>
3427
3428 <tbody>
3429
3430
3431 <tr>
3432
3433 <td class="name"><code>proto</code></td>
3434
3435
3436 <td class="type">
3437
3438
3439 <span class="param-type">string</span>
3440
3441
3442
3443 </td>
3444
3445
3446 <td class="default">
3447
3448 http
3449
3450 </td>
3451
3452
3453 <td class="description last">
3454
3455
3456 <span class="optional">optional</span>
3457
3458
3459
3460
3461
3462 <p>The protocol to use for fetching the resource. May be either <code>http</code>
3463 (the default) or <code>https</code>.</p></td>
3464 </tr>
3465
3466
3467
3468 <tr>
3469
3470 <td class="name"><code>host</code></td>
3471
3472
3473 <td class="type">
3474
3475
3476 <span class="param-type">string</span>
3477
3478
3479
3480 </td>
3481
3482
3483 <td class="default">
3484
3485 window.location.host
3486
3487 </td>
3488
3489
3490 <td class="description last">
3491
3492
3493 <span class="optional">optional</span>
3494
3495
3496
3497
3498
3499 <p>Override the host address to probe. By default the current host as seen
3500 in the address bar is probed.</p></td>
3501 </tr>
3502
3503
3504 </tbody>
3505 </table>
3506
3507
3508
3509 <dl class="details">
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531 </dl>
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543 <h5>Returns:</h5>
3544
3545
3546
3547 <table class="params">
3548 <thead>
3549 <tr>
3550
3551 <th>Type</th>
3552 <th class="last">Description</th>
3553 </tr>
3554 </thead>
3555 <tbody>
3556
3557 <tr>
3558
3559 <td class="type">
3560
3561 Promise.&lt;Event>
3562
3563
3564 </td>
3565 <td class="description last">Returns a promise resolving to a <code>load</code> event in case the device is
3566 reachable or rejecting with an <code>error</code> event in case it is not reachable
3567 or rejecting with <code>null</code> when the connectivity check timed out.</td>
3568 </tr>
3569
3570 </tbody>
3571 </table>
3572
3573
3574
3575
3576 </dd>
3577
3578
3579
3580 <dt>
3581 <div class="nameContainer">
3582 <h4 class="name" id="showIndicator">
3583
3584 showIndicator<span class="signature">(id, label, <span class="optional">handler</span>, <span class="optional">style</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
3585 </h4>
3586
3587
3588 <div class="tag-source">
3589 <a href="ui.js.html">ui.js</a>, <a href="ui.js.html#line3181">line 3181</a>
3590 </div>
3591
3592 </div>
3593
3594
3595 </dt>
3596 <dd>
3597
3598
3599 <div class="description">
3600 <p>Display or update an header area indicator.</p>
3601 <p>An indicator is a small label displayed in the header area of the screen
3602 providing few amounts of status information such as item counts or state
3603 toggle indicators.</p>
3604 <p>Multiple indicators may be shown at the same time and indicator labels
3605 may be made clickable to display extended information or to initiate
3606 further actions.</p>
3607 <p>Indicators can either use a default <code>active</code> or a less accented <code>inactive</code>
3608 style which is useful for indicators representing state toggles.</p>
3609 </div>
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619 <table class="params">
3620 <thead>
3621 <tr>
3622
3623 <th>Name</th>
3624
3625
3626 <th>Type</th>
3627
3628
3629 <th>Default</th>
3630
3631
3632 <th class="last">Description</th>
3633 </tr>
3634 </thead>
3635
3636 <tbody>
3637
3638
3639 <tr>
3640
3641 <td class="name"><code>id</code></td>
3642
3643
3644 <td class="type">
3645
3646
3647 <span class="param-type">string</span>
3648
3649
3650
3651 </td>
3652
3653
3654 <td class="default">
3655
3656 </td>
3657
3658
3659 <td class="description last">
3660
3661
3662
3663
3664
3665
3666 <p>The ID of the indicator. If an indicator with the given ID already exists,
3667 it is updated with the given label and style.</p></td>
3668 </tr>
3669
3670
3671
3672 <tr>
3673
3674 <td class="name"><code>label</code></td>
3675
3676
3677 <td class="type">
3678
3679
3680 <span class="param-type">string</span>
3681
3682
3683
3684 </td>
3685
3686
3687 <td class="default">
3688
3689 </td>
3690
3691
3692 <td class="description last">
3693
3694
3695
3696
3697
3698
3699 <p>The text to display in the indicator label.</p></td>
3700 </tr>
3701
3702
3703
3704 <tr>
3705
3706 <td class="name"><code>handler</code></td>
3707
3708
3709 <td class="type">
3710
3711
3712 <span class="param-type">function</span>
3713
3714
3715
3716 </td>
3717
3718
3719 <td class="default">
3720
3721 </td>
3722
3723
3724 <td class="description last">
3725
3726
3727 <span class="optional">optional</span>
3728
3729
3730
3731
3732
3733 <p>A handler function to invoke when the indicator label is clicked/touched
3734 by the user. If omitted, the indicator is not clickable/touchable.</p>
3735 <p>Note that this parameter only applies to new indicators, when updating
3736 existing labels it is ignored.</p></td>
3737 </tr>
3738
3739
3740
3741 <tr>
3742
3743 <td class="name"><code>style</code></td>
3744
3745
3746 <td class="type">
3747
3748
3749 <span class="param-type">string</span>
3750
3751
3752
3753 </td>
3754
3755
3756 <td class="default">
3757
3758 active
3759
3760 </td>
3761
3762
3763 <td class="description last">
3764
3765
3766 <span class="optional">optional</span>
3767
3768
3769
3770
3771
3772 <p>The indicator style to use. May be either <code>active</code> or <code>inactive</code>.</p></td>
3773 </tr>
3774
3775
3776 </tbody>
3777 </table>
3778
3779
3780
3781 <dl class="details">
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803 </dl>
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815 <h5>Returns:</h5>
3816
3817
3818
3819 <table class="params">
3820 <thead>
3821 <tr>
3822
3823 <th>Type</th>
3824 <th class="last">Description</th>
3825 </tr>
3826 </thead>
3827 <tbody>
3828
3829 <tr>
3830
3831 <td class="type">
3832
3833 boolean
3834
3835
3836 </td>
3837 <td class="description last">Returns <code>true</code> when the indicator has been updated or <code>false</code> when no
3838 changes were made.</td>
3839 </tr>
3840
3841 </tbody>
3842 </table>
3843
3844
3845
3846
3847 </dd>
3848
3849
3850
3851 <dt>
3852 <div class="nameContainer">
3853 <h4 class="name" id="showModal">
3854
3855 showModal<span class="signature">(<span class="optional">title</span>, contents, <span class="optional">classes</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Node}</span>
3856 </h4>
3857
3858
3859 <div class="tag-source">
3860 <a href="ui.js.html">ui.js</a>, <a href="ui.js.html#line2994">line 2994</a>
3861 </div>
3862
3863 </div>
3864
3865
3866 </dt>
3867 <dd>
3868
3869
3870 <div class="description">
3871 <p>Display a modal overlay dialog with the specified contents.</p>
3872 <p>The modal overlay dialog covers the current view preventing interaction
3873 with the underlying view contents. Only one modal dialog instance can
3874 be opened. Invoking showModal() while a modal dialog is already open will
3875 replace the open dialog with a new one having the specified contents.</p>
3876 <p>Additional CSS class names may be passed to influence the appearence of
3877 the dialog. Valid values for the classes depend on the underlying theme.</p>
3878 </div>
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888 <table class="params">
3889 <thead>
3890 <tr>
3891
3892 <th>Name</th>
3893
3894
3895 <th>Type</th>
3896
3897
3898
3899 <th class="last">Description</th>
3900 </tr>
3901 </thead>
3902
3903 <tbody>
3904
3905
3906 <tr>
3907
3908 <td class="name"><code>title</code></td>
3909
3910
3911 <td class="type">
3912
3913
3914 <span class="param-type">string</span>
3915
3916
3917
3918 </td>
3919
3920
3921
3922 <td class="description last">
3923
3924
3925 <span class="optional">optional</span>
3926
3927
3928
3929
3930
3931 <p>The title of the dialog. If <code>null</code>, no title element will be rendered.</p></td>
3932 </tr>
3933
3934
3935
3936 <tr>
3937
3938 <td class="name"><code>contents</code></td>
3939
3940
3941 <td class="type">
3942
3943
3944 <span class="param-type">*</span>
3945
3946
3947
3948 </td>
3949
3950
3951
3952 <td class="description last">
3953
3954
3955
3956
3957
3958
3959 <p>The contents to add to the modal dialog. This should be a DOM node or
3960 a document fragment in most cases. The value is passed as-is to the
3961 <code>dom.content()</code> function - refer to its documentation for applicable
3962 values.</p></td>
3963 </tr>
3964
3965
3966
3967 <tr>
3968
3969 <td class="name"><code>classes</code></td>
3970
3971
3972 <td class="type">
3973
3974
3975 <span class="param-type">string</span>
3976
3977
3978
3979 </td>
3980
3981
3982
3983 <td class="description last">
3984
3985
3986 <span class="optional">optional</span>
3987
3988
3989
3990
3991 <span class="repeatable">repeatable</span>
3992
3993
3994 <p>A number of extra CSS class names which are set on the modal dialog
3995 element.</p></td>
3996 </tr>
3997
3998
3999 </tbody>
4000 </table>
4001
4002
4003
4004 <dl class="details">
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024 <dt class="tag-see">See:</dt>
4025 <dd class="tag-see">
4026 <ul>
4027 <li>LuCI.dom.content</li>
4028 </ul>
4029 </dd>
4030
4031
4032
4033 </dl>
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045 <h5>Returns:</h5>
4046
4047
4048
4049 <table class="params">
4050 <thead>
4051 <tr>
4052
4053 <th>Type</th>
4054 <th class="last">Description</th>
4055 </tr>
4056 </thead>
4057 <tbody>
4058
4059 <tr>
4060
4061 <td class="type">
4062
4063 Node
4064
4065
4066 </td>
4067 <td class="description last">Returns a DOM Node representing the modal dialog element.</td>
4068 </tr>
4069
4070 </tbody>
4071 </table>
4072
4073
4074
4075
4076 </dd>
4077
4078
4079
4080 <dt>
4081 <div class="nameContainer">
4082 <h4 class="name" id="uploadFile">
4083
4084 uploadFile<span class="signature">(path, <span class="optional">progessStatusNode</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.&lt;<a href="LuCI.ui.html#.FileUploadReply">LuCI.ui.FileUploadReply</a>>}</span>
4085 </h4>
4086
4087
4088 <div class="tag-source">
4089 <a href="ui.js.html">ui.js</a>, <a href="ui.js.html#line3581">line 3581</a>
4090 </div>
4091
4092 </div>
4093
4094
4095 </dt>
4096 <dd>
4097
4098
4099 <div class="description">
4100 <p>Display a modal file upload prompt.</p>
4101 <p>This function opens a modal dialog prompting the user to select and
4102 upload a file to a predefined remote destination path.</p>
4103 </div>
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113 <table class="params">
4114 <thead>
4115 <tr>
4116
4117 <th>Name</th>
4118
4119
4120 <th>Type</th>
4121
4122
4123
4124 <th class="last">Description</th>
4125 </tr>
4126 </thead>
4127
4128 <tbody>
4129
4130
4131 <tr>
4132
4133 <td class="name"><code>path</code></td>
4134
4135
4136 <td class="type">
4137
4138
4139 <span class="param-type">string</span>
4140
4141
4142
4143 </td>
4144
4145
4146
4147 <td class="description last">
4148
4149
4150
4151
4152
4153
4154 <p>The remote file path to upload the local file to.</p></td>
4155 </tr>
4156
4157
4158
4159 <tr>
4160
4161 <td class="name"><code>progessStatusNode</code></td>
4162
4163
4164 <td class="type">
4165
4166
4167 <span class="param-type">Node</span>
4168
4169
4170
4171 </td>
4172
4173
4174
4175 <td class="description last">
4176
4177
4178 <span class="optional">optional</span>
4179
4180
4181
4182
4183
4184 <p>An optional DOM text node whose content text is set to the progress
4185 percentage value during file upload.</p></td>
4186 </tr>
4187
4188
4189 </tbody>
4190 </table>
4191
4192
4193
4194 <dl class="details">
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216 </dl>
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228 <h5>Returns:</h5>
4229
4230
4231
4232 <table class="params">
4233 <thead>
4234 <tr>
4235
4236 <th>Type</th>
4237 <th class="last">Description</th>
4238 </tr>
4239 </thead>
4240 <tbody>
4241
4242 <tr>
4243
4244 <td class="type">
4245
4246 Promise.&lt;<a href="LuCI.ui.html#.FileUploadReply">LuCI.ui.FileUploadReply</a>>
4247
4248
4249 </td>
4250 <td class="description last">Returns a promise resolving to a file upload status object on success
4251 or rejecting with an error in case the upload failed or has been
4252 cancelled by the user.</td>
4253 </tr>
4254
4255 </tbody>
4256 </table>
4257
4258
4259
4260
4261 </dd>
4262
4263 </dl>
4264
4265
4266
4267 <h3 class="subsection-title">Type Definitions</h3>
4268
4269 <dl>
4270
4271 <dt>
4272 <div class="nameContainer">
4273 <h4 class="name" id=".FileUploadReply">LuCI.ui.FileUploadReply<span class="type-signature type object">Object</span> </h4>
4274 </div>
4275
4276
4277 </dt>
4278 <dd>
4279
4280
4281
4282 <dl class="details">
4283
4284
4285 <h5 class="subsection-title">Properties:</h5>
4286
4287 <dl>
4288
4289 <table class="props">
4290 <thead>
4291 <tr>
4292
4293 <th>Name</th>
4294
4295
4296 <th>Type</th>
4297
4298
4299
4300
4301
4302 <th class="last">Description</th>
4303 </tr>
4304 </thead>
4305
4306 <tbody>
4307
4308
4309 <tr>
4310
4311 <td class="name"><code>name</code></td>
4312
4313
4314 <td class="type">
4315
4316
4317 <span class="param-type">string</span>
4318
4319
4320
4321 </td>
4322
4323
4324
4325
4326
4327 <td class="description last"><p>Name of the uploaded file without directory components</p></td>
4328 </tr>
4329
4330
4331
4332 <tr>
4333
4334 <td class="name"><code>size</code></td>
4335
4336
4337 <td class="type">
4338
4339
4340 <span class="param-type">number</span>
4341
4342
4343
4344 </td>
4345
4346
4347
4348
4349
4350 <td class="description last"><p>Size of the uploaded file in bytes</p></td>
4351 </tr>
4352
4353
4354
4355 <tr>
4356
4357 <td class="name"><code>checksum</code></td>
4358
4359
4360 <td class="type">
4361
4362
4363 <span class="param-type">string</span>
4364
4365
4366
4367 </td>
4368
4369
4370
4371
4372
4373 <td class="description last"><p>The MD5 checksum of the received file data</p></td>
4374 </tr>
4375
4376
4377
4378 <tr>
4379
4380 <td class="name"><code>sha256sum</code></td>
4381
4382
4383 <td class="type">
4384
4385
4386 <span class="param-type">string</span>
4387
4388
4389
4390 </td>
4391
4392
4393
4394
4395
4396 <td class="description last"><p>The SHA256 checksum of the received file data</p></td>
4397 </tr>
4398
4399
4400 </tbody>
4401 </table></dl>
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424 </dl>
4425
4426
4427
4428 </dd>
4429
4430 </dl>
4431
4432
4433
4434
4435
4436 </article>
4437
4438 </section>
4439
4440
4441
4442
4443
4444
4445
4446 <footer>
4447 Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Fri Apr 03 2020 13:28:08 GMT+0200 (Central European Summer Time)
4448 </footer>
4449 </div>
4450 </div>
4451 <script>prettyPrint();</script>
4452 <script src="scripts/jaguar.js"></script>
4453 </body>
4454 </html>