docs: update js api docs
[project/luci.git] / docs / jsapi / LuCI.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Class: LuCI</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#env"><a href="LuCI.html#env">env</a></li>
47
48 </ul>
49 <ul class="typedefs itemMembers">
50
51 <span class="subtitle">Typedefs</span>
52
53 <li data-name="LuCI.requestCallbackFn"><a href="LuCI.html#.requestCallbackFn">requestCallbackFn</a></li>
54
55 </ul>
56 <ul class="typedefs itemMembers">
57
58 </ul>
59 <ul class="methods itemMembers">
60
61 <span class="subtitle">Methods</span>
62
63 <li data-name="LuCI#bind"><a href="LuCI.html#bind">bind</a></li>
64
65 <li data-name="LuCI#error"><a href="LuCI.html#error">error</a></li>
66
67 <li data-name="LuCI#get"><a href="LuCI.html#get">get</a></li>
68
69 <li data-name="LuCI#halt"><a href="LuCI.html#halt">halt</a></li>
70
71 <li data-name="LuCI#hasSystemFeature"><a href="LuCI.html#hasSystemFeature">hasSystemFeature</a></li>
72
73 <li data-name="LuCI#isObject"><a href="LuCI.html#isObject">isObject</a></li>
74
75 <li data-name="LuCI#location"><a href="LuCI.html#location">location</a></li>
76
77 <li data-name="LuCI#media"><a href="LuCI.html#media">media</a></li>
78
79 <li data-name="LuCI#path"><a href="LuCI.html#path">path</a></li>
80
81 <li data-name="LuCI#poll"><a href="LuCI.html#poll">poll</a></li>
82
83 <li data-name="LuCI#post"><a href="LuCI.html#post">post</a></li>
84
85 <li data-name="LuCI#raise"><a href="LuCI.html#raise">raise</a></li>
86
87 <li data-name="LuCI#require"><a href="LuCI.html#require">require</a></li>
88
89 <li data-name="LuCI#resolveDefault"><a href="LuCI.html#resolveDefault">resolveDefault</a></li>
90
91 <li data-name="LuCI#resource"><a href="LuCI.html#resource">resource</a></li>
92
93 <li data-name="LuCI#run"><a href="LuCI.html#run">run</a></li>
94
95 <li data-name="LuCI#sortedKeys"><a href="LuCI.html#sortedKeys">sortedKeys</a></li>
96
97 <li data-name="LuCI#stop"><a href="LuCI.html#stop">stop</a></li>
98
99 <li data-name="LuCI#toArray"><a href="LuCI.html#toArray">toArray</a></li>
100
101 <li data-name="LuCI#url"><a href="LuCI.html#url">url</a></li>
102
103 </ul>
104 <ul class="events itemMembers">
105
106 </ul>
107 </li>
108
109 <li class="item" data-name="LuCI.Class">
110 <span class="title">
111 <a href="LuCI.Class.html">LuCI.Class</a>
112
113 </span>
114 <ul class="members itemMembers">
115
116 </ul>
117 <ul class="typedefs itemMembers">
118
119 </ul>
120 <ul class="typedefs itemMembers">
121
122 </ul>
123 <ul class="methods itemMembers">
124
125 <span class="subtitle">Methods</span>
126
127 <li data-name="LuCI.Class.extend"><a href="LuCI.Class.html#.extend">extend</a></li>
128
129 <li data-name="LuCI.Class.instantiate"><a href="LuCI.Class.html#.instantiate">instantiate</a></li>
130
131 <li data-name="LuCI.Class.isSubclass"><a href="LuCI.Class.html#.isSubclass">isSubclass</a></li>
132
133 <li data-name="LuCI.Class.singleton"><a href="LuCI.Class.html#.singleton">singleton</a></li>
134
135 <li data-name="LuCI.Class#super"><a href="LuCI.Class.html#super">super</a></li>
136
137 <li data-name="LuCI.Class#varargs"><a href="LuCI.Class.html#varargs">varargs</a></li>
138
139 </ul>
140 <ul class="events itemMembers">
141
142 </ul>
143 </li>
144
145 <li class="item" data-name="LuCI.dom">
146 <span class="title">
147 <a href="LuCI.dom.html">LuCI.dom</a>
148
149 </span>
150 <ul class="members itemMembers">
151
152 </ul>
153 <ul class="typedefs itemMembers">
154
155 <span class="subtitle">Typedefs</span>
156
157 <li data-name="LuCI.dom~ignoreCallbackFn"><a href="LuCI.dom.html#~ignoreCallbackFn">ignoreCallbackFn</a></li>
158
159 </ul>
160 <ul class="typedefs itemMembers">
161
162 </ul>
163 <ul class="methods itemMembers">
164
165 <span class="subtitle">Methods</span>
166
167 <li data-name="LuCI.dom#append"><a href="LuCI.dom.html#append">append</a></li>
168
169 <li data-name="LuCI.dom#attr"><a href="LuCI.dom.html#attr">attr</a></li>
170
171 <li data-name="LuCI.dom#bindClassInstance"><a href="LuCI.dom.html#bindClassInstance">bindClassInstance</a></li>
172
173 <li data-name="LuCI.dom#callClassMethod"><a href="LuCI.dom.html#callClassMethod">callClassMethod</a></li>
174
175 <li data-name="LuCI.dom#content"><a href="LuCI.dom.html#content">content</a></li>
176
177 <li data-name="LuCI.dom#create"><a href="LuCI.dom.html#create">create</a></li>
178
179 <li data-name="LuCI.dom#data"><a href="LuCI.dom.html#data">data</a></li>
180
181 <li data-name="LuCI.dom#elem"><a href="LuCI.dom.html#elem">elem</a></li>
182
183 <li data-name="LuCI.dom#findClassInstance"><a href="LuCI.dom.html#findClassInstance">findClassInstance</a></li>
184
185 <li data-name="LuCI.dom#isEmpty"><a href="LuCI.dom.html#isEmpty">isEmpty</a></li>
186
187 <li data-name="LuCI.dom#matches"><a href="LuCI.dom.html#matches">matches</a></li>
188
189 <li data-name="LuCI.dom#parent"><a href="LuCI.dom.html#parent">parent</a></li>
190
191 <li data-name="LuCI.dom#parse"><a href="LuCI.dom.html#parse">parse</a></li>
192
193 </ul>
194 <ul class="events itemMembers">
195
196 </ul>
197 </li>
198
199 <li class="item" data-name="LuCI.fs">
200 <span class="title">
201 <a href="LuCI.fs.html">LuCI.fs</a>
202
203 </span>
204 <ul class="members itemMembers">
205
206 </ul>
207 <ul class="typedefs itemMembers">
208
209 <span class="subtitle">Typedefs</span>
210
211 <li data-name="LuCI.fs.FileExecResult"><a href="LuCI.fs.html#.FileExecResult">FileExecResult</a></li>
212
213 <li data-name="LuCI.fs.FileStatEntry"><a href="LuCI.fs.html#.FileStatEntry">FileStatEntry</a></li>
214
215 </ul>
216 <ul class="typedefs itemMembers">
217
218 </ul>
219 <ul class="methods itemMembers">
220
221 <span class="subtitle">Methods</span>
222
223 <li data-name="LuCI.fs#exec"><a href="LuCI.fs.html#exec">exec</a></li>
224
225 <li data-name="LuCI.fs#exec_direct"><a href="LuCI.fs.html#exec_direct">exec_direct</a></li>
226
227 <li data-name="LuCI.fs#lines"><a href="LuCI.fs.html#lines">lines</a></li>
228
229 <li data-name="LuCI.fs#list"><a href="LuCI.fs.html#list">list</a></li>
230
231 <li data-name="LuCI.fs#read"><a href="LuCI.fs.html#read">read</a></li>
232
233 <li data-name="LuCI.fs#read_direct"><a href="LuCI.fs.html#read_direct">read_direct</a></li>
234
235 <li data-name="LuCI.fs#remove"><a href="LuCI.fs.html#remove">remove</a></li>
236
237 <li data-name="LuCI.fs#stat"><a href="LuCI.fs.html#stat">stat</a></li>
238
239 <li data-name="LuCI.fs#trimmed"><a href="LuCI.fs.html#trimmed">trimmed</a></li>
240
241 <li data-name="LuCI.fs#write"><a href="LuCI.fs.html#write">write</a></li>
242
243 </ul>
244 <ul class="events itemMembers">
245
246 </ul>
247 </li>
248
249 <li class="item" data-name="LuCI.Headers">
250 <span class="title">
251 <a href="LuCI.Headers.html">LuCI.Headers</a>
252
253 </span>
254 <ul class="members itemMembers">
255
256 </ul>
257 <ul class="typedefs itemMembers">
258
259 </ul>
260 <ul class="typedefs itemMembers">
261
262 </ul>
263 <ul class="methods itemMembers">
264
265 <span class="subtitle">Methods</span>
266
267 <li data-name="LuCI.Headers#get"><a href="LuCI.Headers.html#get">get</a></li>
268
269 <li data-name="LuCI.Headers#has"><a href="LuCI.Headers.html#has">has</a></li>
270
271 </ul>
272 <ul class="events itemMembers">
273
274 </ul>
275 </li>
276
277 <li class="item" data-name="LuCI.Network">
278 <span class="title">
279 <a href="LuCI.Network.html">LuCI.Network</a>
280
281 </span>
282 <ul class="members itemMembers">
283
284 </ul>
285 <ul class="typedefs itemMembers">
286
287 <span class="subtitle">Typedefs</span>
288
289 <li data-name="LuCI.Network.SwitchTopology"><a href="LuCI.Network.html#.SwitchTopology">SwitchTopology</a></li>
290
291 <li data-name="LuCI.Network.WifiEncryption"><a href="LuCI.Network.html#.WifiEncryption">WifiEncryption</a></li>
292
293 <li data-name="LuCI.Network.WifiPeerEntry"><a href="LuCI.Network.html#.WifiPeerEntry">WifiPeerEntry</a></li>
294
295 <li data-name="LuCI.Network.WifiRateEntry"><a href="LuCI.Network.html#.WifiRateEntry">WifiRateEntry</a></li>
296
297 <li data-name="LuCI.Network.WifiScanResult"><a href="LuCI.Network.html#.WifiScanResult">WifiScanResult</a></li>
298
299 </ul>
300 <ul class="typedefs itemMembers">
301
302 </ul>
303 <ul class="methods itemMembers">
304
305 <span class="subtitle">Methods</span>
306
307 <li data-name="LuCI.Network#addNetwork"><a href="LuCI.Network.html#addNetwork">addNetwork</a></li>
308
309 <li data-name="LuCI.Network#addWifiNetwork"><a href="LuCI.Network.html#addWifiNetwork">addWifiNetwork</a></li>
310
311 <li data-name="LuCI.Network#deleteNetwork"><a href="LuCI.Network.html#deleteNetwork">deleteNetwork</a></li>
312
313 <li data-name="LuCI.Network#deleteWifiNetwork"><a href="LuCI.Network.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
314
315 <li data-name="LuCI.Network#flushCache"><a href="LuCI.Network.html#flushCache">flushCache</a></li>
316
317 <li data-name="LuCI.Network#formatWifiEncryption"><a href="LuCI.Network.html#formatWifiEncryption">formatWifiEncryption</a></li>
318
319 <li data-name="LuCI.Network#getDevice"><a href="LuCI.Network.html#getDevice">getDevice</a></li>
320
321 <li data-name="LuCI.Network#getDevices"><a href="LuCI.Network.html#getDevices">getDevices</a></li>
322
323 <li data-name="LuCI.Network#getDSLModemType"><a href="LuCI.Network.html#getDSLModemType">getDSLModemType</a></li>
324
325 <li data-name="LuCI.Network#getHostHints"><a href="LuCI.Network.html#getHostHints">getHostHints</a></li>
326
327 <li data-name="LuCI.Network#getIfnameOf"><a href="LuCI.Network.html#getIfnameOf">getIfnameOf</a></li>
328
329 <li data-name="LuCI.Network#getNetwork"><a href="LuCI.Network.html#getNetwork">getNetwork</a></li>
330
331 <li data-name="LuCI.Network#getNetworks"><a href="LuCI.Network.html#getNetworks">getNetworks</a></li>
332
333 <li data-name="LuCI.Network#getProtocol"><a href="LuCI.Network.html#getProtocol">getProtocol</a></li>
334
335 <li data-name="LuCI.Network#getProtocols"><a href="LuCI.Network.html#getProtocols">getProtocols</a></li>
336
337 <li data-name="LuCI.Network#getSwitchTopologies"><a href="LuCI.Network.html#getSwitchTopologies">getSwitchTopologies</a></li>
338
339 <li data-name="LuCI.Network#getWAN6Networks"><a href="LuCI.Network.html#getWAN6Networks">getWAN6Networks</a></li>
340
341 <li data-name="LuCI.Network#getWANNetworks"><a href="LuCI.Network.html#getWANNetworks">getWANNetworks</a></li>
342
343 <li data-name="LuCI.Network#getWifiDevice"><a href="LuCI.Network.html#getWifiDevice">getWifiDevice</a></li>
344
345 <li data-name="LuCI.Network#getWifiDevices"><a href="LuCI.Network.html#getWifiDevices">getWifiDevices</a></li>
346
347 <li data-name="LuCI.Network#getWifiNetwork"><a href="LuCI.Network.html#getWifiNetwork">getWifiNetwork</a></li>
348
349 <li data-name="LuCI.Network#getWifiNetworks"><a href="LuCI.Network.html#getWifiNetworks">getWifiNetworks</a></li>
350
351 <li data-name="LuCI.Network#isIgnoredDevice"><a href="LuCI.Network.html#isIgnoredDevice">isIgnoredDevice</a></li>
352
353 <li data-name="LuCI.Network#maskToPrefix"><a href="LuCI.Network.html#maskToPrefix">maskToPrefix</a></li>
354
355 <li data-name="LuCI.Network#prefixToMask"><a href="LuCI.Network.html#prefixToMask">prefixToMask</a></li>
356
357 <li data-name="LuCI.Network#registerErrorCode"><a href="LuCI.Network.html#registerErrorCode">registerErrorCode</a></li>
358
359 <li data-name="LuCI.Network#registerPatternVirtual"><a href="LuCI.Network.html#registerPatternVirtual">registerPatternVirtual</a></li>
360
361 <li data-name="LuCI.Network#registerProtocol"><a href="LuCI.Network.html#registerProtocol">registerProtocol</a></li>
362
363 <li data-name="LuCI.Network#renameNetwork"><a href="LuCI.Network.html#renameNetwork">renameNetwork</a></li>
364
365 </ul>
366 <ul class="events itemMembers">
367
368 </ul>
369 </li>
370
371 <li class="item" data-name="LuCI.Network.Device">
372 <span class="title">
373 <a href="LuCI.Network.Device.html">LuCI.Network.Device</a>
374
375 </span>
376 <ul class="members itemMembers">
377
378 </ul>
379 <ul class="typedefs itemMembers">
380
381 </ul>
382 <ul class="typedefs itemMembers">
383
384 </ul>
385 <ul class="methods itemMembers">
386
387 <span class="subtitle">Methods</span>
388
389 <li data-name="LuCI.Network.Device#getBridgeID"><a href="LuCI.Network.Device.html#getBridgeID">getBridgeID</a></li>
390
391 <li data-name="LuCI.Network.Device#getBridgeSTP"><a href="LuCI.Network.Device.html#getBridgeSTP">getBridgeSTP</a></li>
392
393 <li data-name="LuCI.Network.Device#getI18n"><a href="LuCI.Network.Device.html#getI18n">getI18n</a></li>
394
395 <li data-name="LuCI.Network.Device#getIP6Addrs"><a href="LuCI.Network.Device.html#getIP6Addrs">getIP6Addrs</a></li>
396
397 <li data-name="LuCI.Network.Device#getIPAddrs"><a href="LuCI.Network.Device.html#getIPAddrs">getIPAddrs</a></li>
398
399 <li data-name="LuCI.Network.Device#getMAC"><a href="LuCI.Network.Device.html#getMAC">getMAC</a></li>
400
401 <li data-name="LuCI.Network.Device#getMTU"><a href="LuCI.Network.Device.html#getMTU">getMTU</a></li>
402
403 <li data-name="LuCI.Network.Device#getName"><a href="LuCI.Network.Device.html#getName">getName</a></li>
404
405 <li data-name="LuCI.Network.Device#getNetwork"><a href="LuCI.Network.Device.html#getNetwork">getNetwork</a></li>
406
407 <li data-name="LuCI.Network.Device#getNetworks"><a href="LuCI.Network.Device.html#getNetworks">getNetworks</a></li>
408
409 <li data-name="LuCI.Network.Device#getPorts"><a href="LuCI.Network.Device.html#getPorts">getPorts</a></li>
410
411 <li data-name="LuCI.Network.Device#getRXBytes"><a href="LuCI.Network.Device.html#getRXBytes">getRXBytes</a></li>
412
413 <li data-name="LuCI.Network.Device#getRXPackets"><a href="LuCI.Network.Device.html#getRXPackets">getRXPackets</a></li>
414
415 <li data-name="LuCI.Network.Device#getShortName"><a href="LuCI.Network.Device.html#getShortName">getShortName</a></li>
416
417 <li data-name="LuCI.Network.Device#getTXBytes"><a href="LuCI.Network.Device.html#getTXBytes">getTXBytes</a></li>
418
419 <li data-name="LuCI.Network.Device#getTXPackets"><a href="LuCI.Network.Device.html#getTXPackets">getTXPackets</a></li>
420
421 <li data-name="LuCI.Network.Device#getType"><a href="LuCI.Network.Device.html#getType">getType</a></li>
422
423 <li data-name="LuCI.Network.Device#getTypeI18n"><a href="LuCI.Network.Device.html#getTypeI18n">getTypeI18n</a></li>
424
425 <li data-name="LuCI.Network.Device#getWifiNetwork"><a href="LuCI.Network.Device.html#getWifiNetwork">getWifiNetwork</a></li>
426
427 <li data-name="LuCI.Network.Device#isBridge"><a href="LuCI.Network.Device.html#isBridge">isBridge</a></li>
428
429 <li data-name="LuCI.Network.Device#isBridgePort"><a href="LuCI.Network.Device.html#isBridgePort">isBridgePort</a></li>
430
431 <li data-name="LuCI.Network.Device#isUp"><a href="LuCI.Network.Device.html#isUp">isUp</a></li>
432
433 </ul>
434 <ul class="events itemMembers">
435
436 </ul>
437 </li>
438
439 <li class="item" data-name="LuCI.Network.Hosts">
440 <span class="title">
441 <a href="LuCI.Network.Hosts.html">LuCI.Network.Hosts</a>
442
443 </span>
444 <ul class="members itemMembers">
445
446 </ul>
447 <ul class="typedefs itemMembers">
448
449 </ul>
450 <ul class="typedefs itemMembers">
451
452 </ul>
453 <ul class="methods itemMembers">
454
455 <span class="subtitle">Methods</span>
456
457 <li data-name="LuCI.Network.Hosts#getHostnameByIP6Addr"><a href="LuCI.Network.Hosts.html#getHostnameByIP6Addr">getHostnameByIP6Addr</a></li>
458
459 <li data-name="LuCI.Network.Hosts#getHostnameByIPAddr"><a href="LuCI.Network.Hosts.html#getHostnameByIPAddr">getHostnameByIPAddr</a></li>
460
461 <li data-name="LuCI.Network.Hosts#getHostnameByMACAddr"><a href="LuCI.Network.Hosts.html#getHostnameByMACAddr">getHostnameByMACAddr</a></li>
462
463 <li data-name="LuCI.Network.Hosts#getIP6AddrByMACAddr"><a href="LuCI.Network.Hosts.html#getIP6AddrByMACAddr">getIP6AddrByMACAddr</a></li>
464
465 <li data-name="LuCI.Network.Hosts#getIPAddrByMACAddr"><a href="LuCI.Network.Hosts.html#getIPAddrByMACAddr">getIPAddrByMACAddr</a></li>
466
467 <li data-name="LuCI.Network.Hosts#getMACAddrByIP6Addr"><a href="LuCI.Network.Hosts.html#getMACAddrByIP6Addr">getMACAddrByIP6Addr</a></li>
468
469 <li data-name="LuCI.Network.Hosts#getMACAddrByIPAddr"><a href="LuCI.Network.Hosts.html#getMACAddrByIPAddr">getMACAddrByIPAddr</a></li>
470
471 <li data-name="LuCI.Network.Hosts#getMACHints"><a href="LuCI.Network.Hosts.html#getMACHints">getMACHints</a></li>
472
473 </ul>
474 <ul class="events itemMembers">
475
476 </ul>
477 </li>
478
479 <li class="item" data-name="LuCI.Network.Protocol">
480 <span class="title">
481 <a href="LuCI.Network.Protocol.html">LuCI.Network.Protocol</a>
482
483 </span>
484 <ul class="members itemMembers">
485
486 </ul>
487 <ul class="typedefs itemMembers">
488
489 </ul>
490 <ul class="typedefs itemMembers">
491
492 </ul>
493 <ul class="methods itemMembers">
494
495 <span class="subtitle">Methods</span>
496
497 <li data-name="LuCI.Network.Protocol#addDevice"><a href="LuCI.Network.Protocol.html#addDevice">addDevice</a></li>
498
499 <li data-name="LuCI.Network.Protocol#containsDevice"><a href="LuCI.Network.Protocol.html#containsDevice">containsDevice</a></li>
500
501 <li data-name="LuCI.Network.Protocol#deleteConfiguration"><a href="LuCI.Network.Protocol.html#deleteConfiguration">deleteConfiguration</a></li>
502
503 <li data-name="LuCI.Network.Protocol#deleteDevice"><a href="LuCI.Network.Protocol.html#deleteDevice">deleteDevice</a></li>
504
505 <li data-name="LuCI.Network.Protocol#get"><a href="LuCI.Network.Protocol.html#get">get</a></li>
506
507 <li data-name="LuCI.Network.Protocol#getDevice"><a href="LuCI.Network.Protocol.html#getDevice">getDevice</a></li>
508
509 <li data-name="LuCI.Network.Protocol#getDevices"><a href="LuCI.Network.Protocol.html#getDevices">getDevices</a></li>
510
511 <li data-name="LuCI.Network.Protocol#getDNS6Addrs"><a href="LuCI.Network.Protocol.html#getDNS6Addrs">getDNS6Addrs</a></li>
512
513 <li data-name="LuCI.Network.Protocol#getDNSAddrs"><a href="LuCI.Network.Protocol.html#getDNSAddrs">getDNSAddrs</a></li>
514
515 <li data-name="LuCI.Network.Protocol#getErrors"><a href="LuCI.Network.Protocol.html#getErrors">getErrors</a></li>
516
517 <li data-name="LuCI.Network.Protocol#getExpiry"><a href="LuCI.Network.Protocol.html#getExpiry">getExpiry</a></li>
518
519 <li data-name="LuCI.Network.Protocol#getGateway6Addr"><a href="LuCI.Network.Protocol.html#getGateway6Addr">getGateway6Addr</a></li>
520
521 <li data-name="LuCI.Network.Protocol#getGatewayAddr"><a href="LuCI.Network.Protocol.html#getGatewayAddr">getGatewayAddr</a></li>
522
523 <li data-name="LuCI.Network.Protocol#getI18n"><a href="LuCI.Network.Protocol.html#getI18n">getI18n</a></li>
524
525 <li data-name="LuCI.Network.Protocol#getIfname"><a href="LuCI.Network.Protocol.html#getIfname">getIfname</a></li>
526
527 <li data-name="LuCI.Network.Protocol#getIP6Addr"><a href="LuCI.Network.Protocol.html#getIP6Addr">getIP6Addr</a></li>
528
529 <li data-name="LuCI.Network.Protocol#getIP6Addrs"><a href="LuCI.Network.Protocol.html#getIP6Addrs">getIP6Addrs</a></li>
530
531 <li data-name="LuCI.Network.Protocol#getIP6Prefix"><a href="LuCI.Network.Protocol.html#getIP6Prefix">getIP6Prefix</a></li>
532
533 <li data-name="LuCI.Network.Protocol#getIPAddr"><a href="LuCI.Network.Protocol.html#getIPAddr">getIPAddr</a></li>
534
535 <li data-name="LuCI.Network.Protocol#getIPAddrs"><a href="LuCI.Network.Protocol.html#getIPAddrs">getIPAddrs</a></li>
536
537 <li data-name="LuCI.Network.Protocol#getL2Device"><a href="LuCI.Network.Protocol.html#getL2Device">getL2Device</a></li>
538
539 <li data-name="LuCI.Network.Protocol#getL3Device"><a href="LuCI.Network.Protocol.html#getL3Device">getL3Device</a></li>
540
541 <li data-name="LuCI.Network.Protocol#getMetric"><a href="LuCI.Network.Protocol.html#getMetric">getMetric</a></li>
542
543 <li data-name="LuCI.Network.Protocol#getName"><a href="LuCI.Network.Protocol.html#getName">getName</a></li>
544
545 <li data-name="LuCI.Network.Protocol#getNetmask"><a href="LuCI.Network.Protocol.html#getNetmask">getNetmask</a></li>
546
547 <li data-name="LuCI.Network.Protocol#getOpkgPackage"><a href="LuCI.Network.Protocol.html#getOpkgPackage">getOpkgPackage</a></li>
548
549 <li data-name="LuCI.Network.Protocol#getProtocol"><a href="LuCI.Network.Protocol.html#getProtocol">getProtocol</a></li>
550
551 <li data-name="LuCI.Network.Protocol#getType"><a href="LuCI.Network.Protocol.html#getType">getType</a></li>
552
553 <li data-name="LuCI.Network.Protocol#getUptime"><a href="LuCI.Network.Protocol.html#getUptime">getUptime</a></li>
554
555 <li data-name="LuCI.Network.Protocol#getZoneName"><a href="LuCI.Network.Protocol.html#getZoneName">getZoneName</a></li>
556
557 <li data-name="LuCI.Network.Protocol#isAlias"><a href="LuCI.Network.Protocol.html#isAlias">isAlias</a></li>
558
559 <li data-name="LuCI.Network.Protocol#isBridge"><a href="LuCI.Network.Protocol.html#isBridge">isBridge</a></li>
560
561 <li data-name="LuCI.Network.Protocol#isCreateable"><a href="LuCI.Network.Protocol.html#isCreateable">isCreateable</a></li>
562
563 <li data-name="LuCI.Network.Protocol#isDynamic"><a href="LuCI.Network.Protocol.html#isDynamic">isDynamic</a></li>
564
565 <li data-name="LuCI.Network.Protocol#isEmpty"><a href="LuCI.Network.Protocol.html#isEmpty">isEmpty</a></li>
566
567 <li data-name="LuCI.Network.Protocol#isFloating"><a href="LuCI.Network.Protocol.html#isFloating">isFloating</a></li>
568
569 <li data-name="LuCI.Network.Protocol#isInstalled"><a href="LuCI.Network.Protocol.html#isInstalled">isInstalled</a></li>
570
571 <li data-name="LuCI.Network.Protocol#isUp"><a href="LuCI.Network.Protocol.html#isUp">isUp</a></li>
572
573 <li data-name="LuCI.Network.Protocol#isVirtual"><a href="LuCI.Network.Protocol.html#isVirtual">isVirtual</a></li>
574
575 <li data-name="LuCI.Network.Protocol#set"><a href="LuCI.Network.Protocol.html#set">set</a></li>
576
577 </ul>
578 <ul class="events itemMembers">
579
580 </ul>
581 </li>
582
583 <li class="item" data-name="LuCI.Network.WifiDevice">
584 <span class="title">
585 <a href="LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice</a>
586
587 </span>
588 <ul class="members itemMembers">
589
590 </ul>
591 <ul class="typedefs itemMembers">
592
593 </ul>
594 <ul class="typedefs itemMembers">
595
596 </ul>
597 <ul class="methods itemMembers">
598
599 <span class="subtitle">Methods</span>
600
601 <li data-name="LuCI.Network.WifiDevice#addWifiNetwork"><a href="LuCI.Network.WifiDevice.html#addWifiNetwork">addWifiNetwork</a></li>
602
603 <li data-name="LuCI.Network.WifiDevice#deleteWifiNetwork"><a href="LuCI.Network.WifiDevice.html#deleteWifiNetwork">deleteWifiNetwork</a></li>
604
605 <li data-name="LuCI.Network.WifiDevice#get"><a href="LuCI.Network.WifiDevice.html#get">get</a></li>
606
607 <li data-name="LuCI.Network.WifiDevice#getHTModes"><a href="LuCI.Network.WifiDevice.html#getHTModes">getHTModes</a></li>
608
609 <li data-name="LuCI.Network.WifiDevice#getHWModes"><a href="LuCI.Network.WifiDevice.html#getHWModes">getHWModes</a></li>
610
611 <li data-name="LuCI.Network.WifiDevice#getI18n"><a href="LuCI.Network.WifiDevice.html#getI18n">getI18n</a></li>
612
613 <li data-name="LuCI.Network.WifiDevice#getName"><a href="LuCI.Network.WifiDevice.html#getName">getName</a></li>
614
615 <li data-name="LuCI.Network.WifiDevice#getScanList"><a href="LuCI.Network.WifiDevice.html#getScanList">getScanList</a></li>
616
617 <li data-name="LuCI.Network.WifiDevice#getWifiNetwork"><a href="LuCI.Network.WifiDevice.html#getWifiNetwork">getWifiNetwork</a></li>
618
619 <li data-name="LuCI.Network.WifiDevice#getWifiNetworks"><a href="LuCI.Network.WifiDevice.html#getWifiNetworks">getWifiNetworks</a></li>
620
621 <li data-name="LuCI.Network.WifiDevice#isDisabled"><a href="LuCI.Network.WifiDevice.html#isDisabled">isDisabled</a></li>
622
623 <li data-name="LuCI.Network.WifiDevice#isUp"><a href="LuCI.Network.WifiDevice.html#isUp">isUp</a></li>
624
625 <li data-name="LuCI.Network.WifiDevice#set"><a href="LuCI.Network.WifiDevice.html#set">set</a></li>
626
627 </ul>
628 <ul class="events itemMembers">
629
630 </ul>
631 </li>
632
633 <li class="item" data-name="LuCI.Network.WifiNetwork">
634 <span class="title">
635 <a href="LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork</a>
636
637 </span>
638 <ul class="members itemMembers">
639
640 </ul>
641 <ul class="typedefs itemMembers">
642
643 </ul>
644 <ul class="typedefs itemMembers">
645
646 </ul>
647 <ul class="methods itemMembers">
648
649 <span class="subtitle">Methods</span>
650
651 <li data-name="LuCI.Network.WifiNetwork#disconnectClient"><a href="LuCI.Network.WifiNetwork.html#disconnectClient">disconnectClient</a></li>
652
653 <li data-name="LuCI.Network.WifiNetwork#get"><a href="LuCI.Network.WifiNetwork.html#get">get</a></li>
654
655 <li data-name="LuCI.Network.WifiNetwork#getActiveBSSID"><a href="LuCI.Network.WifiNetwork.html#getActiveBSSID">getActiveBSSID</a></li>
656
657 <li data-name="LuCI.Network.WifiNetwork#getActiveEncryption"><a href="LuCI.Network.WifiNetwork.html#getActiveEncryption">getActiveEncryption</a></li>
658
659 <li data-name="LuCI.Network.WifiNetwork#getActiveMode"><a href="LuCI.Network.WifiNetwork.html#getActiveMode">getActiveMode</a></li>
660
661 <li data-name="LuCI.Network.WifiNetwork#getActiveModeI18n"><a href="LuCI.Network.WifiNetwork.html#getActiveModeI18n">getActiveModeI18n</a></li>
662
663 <li data-name="LuCI.Network.WifiNetwork#getActiveSSID"><a href="LuCI.Network.WifiNetwork.html#getActiveSSID">getActiveSSID</a></li>
664
665 <li data-name="LuCI.Network.WifiNetwork#getAssocList"><a href="LuCI.Network.WifiNetwork.html#getAssocList">getAssocList</a></li>
666
667 <li data-name="LuCI.Network.WifiNetwork#getBitRate"><a href="LuCI.Network.WifiNetwork.html#getBitRate">getBitRate</a></li>
668
669 <li data-name="LuCI.Network.WifiNetwork#getBSSID"><a href="LuCI.Network.WifiNetwork.html#getBSSID">getBSSID</a></li>
670
671 <li data-name="LuCI.Network.WifiNetwork#getChannel"><a href="LuCI.Network.WifiNetwork.html#getChannel">getChannel</a></li>
672
673 <li data-name="LuCI.Network.WifiNetwork#getCountryCode"><a href="LuCI.Network.WifiNetwork.html#getCountryCode">getCountryCode</a></li>
674
675 <li data-name="LuCI.Network.WifiNetwork#getDevice"><a href="LuCI.Network.WifiNetwork.html#getDevice">getDevice</a></li>
676
677 <li data-name="LuCI.Network.WifiNetwork#getFrequency"><a href="LuCI.Network.WifiNetwork.html#getFrequency">getFrequency</a></li>
678
679 <li data-name="LuCI.Network.WifiNetwork#getI18n"><a href="LuCI.Network.WifiNetwork.html#getI18n">getI18n</a></li>
680
681 <li data-name="LuCI.Network.WifiNetwork#getID"><a href="LuCI.Network.WifiNetwork.html#getID">getID</a></li>
682
683 <li data-name="LuCI.Network.WifiNetwork#getIfname"><a href="LuCI.Network.WifiNetwork.html#getIfname">getIfname</a></li>
684
685 <li data-name="LuCI.Network.WifiNetwork#getMeshID"><a href="LuCI.Network.WifiNetwork.html#getMeshID">getMeshID</a></li>
686
687 <li data-name="LuCI.Network.WifiNetwork#getMode"><a href="LuCI.Network.WifiNetwork.html#getMode">getMode</a></li>
688
689 <li data-name="LuCI.Network.WifiNetwork#getName"><a href="LuCI.Network.WifiNetwork.html#getName">getName</a></li>
690
691 <li data-name="LuCI.Network.WifiNetwork#getNetwork"><a href="LuCI.Network.WifiNetwork.html#getNetwork">getNetwork</a></li>
692
693 <li data-name="LuCI.Network.WifiNetwork#getNetworkNames"><a href="LuCI.Network.WifiNetwork.html#getNetworkNames">getNetworkNames</a></li>
694
695 <li data-name="LuCI.Network.WifiNetwork#getNetworks"><a href="LuCI.Network.WifiNetwork.html#getNetworks">getNetworks</a></li>
696
697 <li data-name="LuCI.Network.WifiNetwork#getNoise"><a href="LuCI.Network.WifiNetwork.html#getNoise">getNoise</a></li>
698
699 <li data-name="LuCI.Network.WifiNetwork#getShortName"><a href="LuCI.Network.WifiNetwork.html#getShortName">getShortName</a></li>
700
701 <li data-name="LuCI.Network.WifiNetwork#getSignal"><a href="LuCI.Network.WifiNetwork.html#getSignal">getSignal</a></li>
702
703 <li data-name="LuCI.Network.WifiNetwork#getSignalLevel"><a href="LuCI.Network.WifiNetwork.html#getSignalLevel">getSignalLevel</a></li>
704
705 <li data-name="LuCI.Network.WifiNetwork#getSignalPercent"><a href="LuCI.Network.WifiNetwork.html#getSignalPercent">getSignalPercent</a></li>
706
707 <li data-name="LuCI.Network.WifiNetwork#getSSID"><a href="LuCI.Network.WifiNetwork.html#getSSID">getSSID</a></li>
708
709 <li data-name="LuCI.Network.WifiNetwork#getTXPower"><a href="LuCI.Network.WifiNetwork.html#getTXPower">getTXPower</a></li>
710
711 <li data-name="LuCI.Network.WifiNetwork#getTXPowerOffset"><a href="LuCI.Network.WifiNetwork.html#getTXPowerOffset">getTXPowerOffset</a></li>
712
713 <li data-name="LuCI.Network.WifiNetwork#getWifiDevice"><a href="LuCI.Network.WifiNetwork.html#getWifiDevice">getWifiDevice</a></li>
714
715 <li data-name="LuCI.Network.WifiNetwork#getWifiDeviceName"><a href="LuCI.Network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName</a></li>
716
717 <li data-name="LuCI.Network.WifiNetwork#isClientDisconnectSupported"><a href="LuCI.Network.WifiNetwork.html#isClientDisconnectSupported">isClientDisconnectSupported</a></li>
718
719 <li data-name="LuCI.Network.WifiNetwork#isDisabled"><a href="LuCI.Network.WifiNetwork.html#isDisabled">isDisabled</a></li>
720
721 <li data-name="LuCI.Network.WifiNetwork#isUp"><a href="LuCI.Network.WifiNetwork.html#isUp">isUp</a></li>
722
723 <li data-name="LuCI.Network.WifiNetwork#set"><a href="LuCI.Network.WifiNetwork.html#set">set</a></li>
724
725 </ul>
726 <ul class="events itemMembers">
727
728 </ul>
729 </li>
730
731 <li class="item" data-name="LuCI.Poll">
732 <span class="title">
733 <a href="LuCI.Poll.html">LuCI.Poll</a>
734
735 </span>
736 <ul class="members itemMembers">
737
738 </ul>
739 <ul class="typedefs itemMembers">
740
741 </ul>
742 <ul class="typedefs itemMembers">
743
744 </ul>
745 <ul class="methods itemMembers">
746
747 <span class="subtitle">Methods</span>
748
749 <li data-name="LuCI.Poll#active"><a href="LuCI.Poll.html#active">active</a></li>
750
751 <li data-name="LuCI.Poll#add"><a href="LuCI.Poll.html#add">add</a></li>
752
753 <li data-name="LuCI.Poll#remove"><a href="LuCI.Poll.html#remove">remove</a></li>
754
755 <li data-name="LuCI.Poll#start"><a href="LuCI.Poll.html#start">start</a></li>
756
757 <li data-name="LuCI.Poll#stop"><a href="LuCI.Poll.html#stop">stop</a></li>
758
759 </ul>
760 <ul class="events itemMembers">
761
762 </ul>
763 </li>
764
765 <li class="item" data-name="LuCI.Request">
766 <span class="title">
767 <a href="LuCI.Request.html">LuCI.Request</a>
768
769 </span>
770 <ul class="members itemMembers">
771
772 </ul>
773 <ul class="typedefs itemMembers">
774
775 <span class="subtitle">Typedefs</span>
776
777 <li data-name="LuCI.Request.interceptorFn"><a href="LuCI.Request.html#.interceptorFn">interceptorFn</a></li>
778
779 <li data-name="LuCI.Request.RequestOptions"><a href="LuCI.Request.html#.RequestOptions">RequestOptions</a></li>
780
781 </ul>
782 <ul class="typedefs itemMembers">
783
784 </ul>
785 <ul class="methods itemMembers">
786
787 <span class="subtitle">Methods</span>
788
789 <li data-name="LuCI.Request#addInterceptor"><a href="LuCI.Request.html#addInterceptor">addInterceptor</a></li>
790
791 <li data-name="LuCI.Request#expandURL"><a href="LuCI.Request.html#expandURL">expandURL</a></li>
792
793 <li data-name="LuCI.Request#get"><a href="LuCI.Request.html#get">get</a></li>
794
795 <li data-name="LuCI.Request#post"><a href="LuCI.Request.html#post">post</a></li>
796
797 <li data-name="LuCI.Request#removeInterceptor"><a href="LuCI.Request.html#removeInterceptor">removeInterceptor</a></li>
798
799 <li data-name="LuCI.Request#request"><a href="LuCI.Request.html#request">request</a></li>
800
801 </ul>
802 <ul class="events itemMembers">
803
804 </ul>
805 </li>
806
807 <li class="item" data-name="LuCI.Request.poll">
808 <span class="title">
809 <a href="LuCI.Request.poll.html">LuCI.Request.poll</a>
810
811 </span>
812 <ul class="members itemMembers">
813
814 </ul>
815 <ul class="typedefs itemMembers">
816
817 <span class="subtitle">Typedefs</span>
818
819 <li data-name="LuCI.Request.poll~callbackFn"><a href="LuCI.Request.poll.html#~callbackFn">callbackFn</a></li>
820
821 </ul>
822 <ul class="typedefs itemMembers">
823
824 </ul>
825 <ul class="methods itemMembers">
826
827 <span class="subtitle">Methods</span>
828
829 <li data-name="LuCI.Request.poll#active"><a href="LuCI.Request.poll.html#active">active</a></li>
830
831 <li data-name="LuCI.Request.poll#add"><a href="LuCI.Request.poll.html#add">add</a></li>
832
833 <li data-name="LuCI.Request.poll#remove"><a href="LuCI.Request.poll.html#remove">remove</a></li>
834
835 <li data-name="LuCI.Request.poll#start"><a href="LuCI.Request.poll.html#start">start</a></li>
836
837 <li data-name="LuCI.Request.poll#stop"><a href="LuCI.Request.poll.html#stop">stop</a></li>
838
839 </ul>
840 <ul class="events itemMembers">
841
842 </ul>
843 </li>
844
845 <li class="item" data-name="LuCI.Response">
846 <span class="title">
847 <a href="LuCI.Response.html">LuCI.Response</a>
848
849 </span>
850 <ul class="members itemMembers">
851
852 <span class="subtitle">Members</span>
853
854 <li data-name="LuCI.Response#duration"><a href="LuCI.Response.html#duration">duration</a></li>
855
856 <li data-name="LuCI.Response#headers"><a href="LuCI.Response.html#headers">headers</a></li>
857
858 <li data-name="LuCI.Response#ok"><a href="LuCI.Response.html#ok">ok</a></li>
859
860 <li data-name="LuCI.Response#status"><a href="LuCI.Response.html#status">status</a></li>
861
862 <li data-name="LuCI.Response#statusText"><a href="LuCI.Response.html#statusText">statusText</a></li>
863
864 <li data-name="LuCI.Response#url"><a href="LuCI.Response.html#url">url</a></li>
865
866 </ul>
867 <ul class="typedefs itemMembers">
868
869 </ul>
870 <ul class="typedefs itemMembers">
871
872 </ul>
873 <ul class="methods itemMembers">
874
875 <span class="subtitle">Methods</span>
876
877 <li data-name="LuCI.Response#blob"><a href="LuCI.Response.html#blob">blob</a></li>
878
879 <li data-name="LuCI.Response#clone"><a href="LuCI.Response.html#clone">clone</a></li>
880
881 <li data-name="LuCI.Response#json"><a href="LuCI.Response.html#json">json</a></li>
882
883 <li data-name="LuCI.Response#text"><a href="LuCI.Response.html#text">text</a></li>
884
885 </ul>
886 <ul class="events itemMembers">
887
888 </ul>
889 </li>
890
891 <li class="item" data-name="LuCI.rpc">
892 <span class="title">
893 <a href="LuCI.rpc.html">LuCI.rpc</a>
894
895 </span>
896 <ul class="members itemMembers">
897
898 </ul>
899 <ul class="typedefs itemMembers">
900
901 <span class="subtitle">Typedefs</span>
902
903 <li data-name="LuCI.rpc.DeclareOptions"><a href="LuCI.rpc.html#.DeclareOptions">DeclareOptions</a></li>
904
905 <li data-name="LuCI.rpc~filterFn"><a href="LuCI.rpc.html#~filterFn">filterFn</a></li>
906
907 <li data-name="LuCI.rpc~interceptorFn"><a href="LuCI.rpc.html#~interceptorFn">interceptorFn</a></li>
908
909 <li data-name="LuCI.rpc~invokeFn"><a href="LuCI.rpc.html#~invokeFn">invokeFn</a></li>
910
911 </ul>
912 <ul class="typedefs itemMembers">
913
914 </ul>
915 <ul class="methods itemMembers">
916
917 <span class="subtitle">Methods</span>
918
919 <li data-name="LuCI.rpc#addInterceptor"><a href="LuCI.rpc.html#addInterceptor">addInterceptor</a></li>
920
921 <li data-name="LuCI.rpc#declare"><a href="LuCI.rpc.html#declare">declare</a></li>
922
923 <li data-name="LuCI.rpc#getBaseURL"><a href="LuCI.rpc.html#getBaseURL">getBaseURL</a></li>
924
925 <li data-name="LuCI.rpc#getSessionID"><a href="LuCI.rpc.html#getSessionID">getSessionID</a></li>
926
927 <li data-name="LuCI.rpc#getStatusText"><a href="LuCI.rpc.html#getStatusText">getStatusText</a></li>
928
929 <li data-name="LuCI.rpc#list"><a href="LuCI.rpc.html#list">list</a></li>
930
931 <li data-name="LuCI.rpc#removeInterceptor"><a href="LuCI.rpc.html#removeInterceptor">removeInterceptor</a></li>
932
933 <li data-name="LuCI.rpc#setBaseURL"><a href="LuCI.rpc.html#setBaseURL">setBaseURL</a></li>
934
935 <li data-name="LuCI.rpc#setSessionID"><a href="LuCI.rpc.html#setSessionID">setSessionID</a></li>
936
937 </ul>
938 <ul class="events itemMembers">
939
940 </ul>
941 </li>
942
943 <li class="item" data-name="LuCI.uci">
944 <span class="title">
945 <a href="LuCI.uci.html">LuCI.uci</a>
946
947 </span>
948 <ul class="members itemMembers">
949
950 </ul>
951 <ul class="typedefs itemMembers">
952
953 <span class="subtitle">Typedefs</span>
954
955 <li data-name="LuCI.uci.ChangeRecord"><a href="LuCI.uci.html#.ChangeRecord">ChangeRecord</a></li>
956
957 <li data-name="LuCI.uci.SectionObject"><a href="LuCI.uci.html#.SectionObject">SectionObject</a></li>
958
959 <li data-name="LuCI.uci~sectionsFn"><a href="LuCI.uci.html#~sectionsFn">sectionsFn</a></li>
960
961 </ul>
962 <ul class="typedefs itemMembers">
963
964 </ul>
965 <ul class="methods itemMembers">
966
967 <span class="subtitle">Methods</span>
968
969 <li data-name="LuCI.uci#add"><a href="LuCI.uci.html#add">add</a></li>
970
971 <li data-name="LuCI.uci#apply"><a href="LuCI.uci.html#apply">apply</a></li>
972
973 <li data-name="LuCI.uci#changes"><a href="LuCI.uci.html#changes">changes</a></li>
974
975 <li data-name="LuCI.uci#createSID"><a href="LuCI.uci.html#createSID">createSID</a></li>
976
977 <li data-name="LuCI.uci#get"><a href="LuCI.uci.html#get">get</a></li>
978
979 <li data-name="LuCI.uci#get_first"><a href="LuCI.uci.html#get_first">get_first</a></li>
980
981 <li data-name="LuCI.uci#load"><a href="LuCI.uci.html#load">load</a></li>
982
983 <li data-name="LuCI.uci#move"><a href="LuCI.uci.html#move">move</a></li>
984
985 <li data-name="LuCI.uci#remove"><a href="LuCI.uci.html#remove">remove</a></li>
986
987 <li data-name="LuCI.uci#resolveSID"><a href="LuCI.uci.html#resolveSID">resolveSID</a></li>
988
989 <li data-name="LuCI.uci#save"><a href="LuCI.uci.html#save">save</a></li>
990
991 <li data-name="LuCI.uci#sections"><a href="LuCI.uci.html#sections">sections</a></li>
992
993 <li data-name="LuCI.uci#set"><a href="LuCI.uci.html#set">set</a></li>
994
995 <li data-name="LuCI.uci#set_first"><a href="LuCI.uci.html#set_first">set_first</a></li>
996
997 <li data-name="LuCI.uci#unload"><a href="LuCI.uci.html#unload">unload</a></li>
998
999 <li data-name="LuCI.uci#unset"><a href="LuCI.uci.html#unset">unset</a></li>
1000
1001 <li data-name="LuCI.uci#unset_first"><a href="LuCI.uci.html#unset_first">unset_first</a></li>
1002
1003 </ul>
1004 <ul class="events itemMembers">
1005
1006 </ul>
1007 </li>
1008
1009 <li class="item" data-name="LuCI.ui">
1010 <span class="title">
1011 <a href="LuCI.ui.html">LuCI.ui</a>
1012
1013 </span>
1014 <ul class="members itemMembers">
1015
1016 </ul>
1017 <ul class="typedefs itemMembers">
1018
1019 <span class="subtitle">Typedefs</span>
1020
1021 <li data-name="LuCI.ui.FileUploadReply"><a href="LuCI.ui.html#.FileUploadReply">FileUploadReply</a></li>
1022
1023 </ul>
1024 <ul class="typedefs itemMembers">
1025
1026 </ul>
1027 <ul class="methods itemMembers">
1028
1029 <span class="subtitle">Methods</span>
1030
1031 <li data-name="LuCI.ui#addNotification"><a href="LuCI.ui.html#addNotification">addNotification</a></li>
1032
1033 <li data-name="LuCI.ui#addValidator"><a href="LuCI.ui.html#addValidator">addValidator</a></li>
1034
1035 <li data-name="LuCI.ui#awaitReconnect"><a href="LuCI.ui.html#awaitReconnect">awaitReconnect</a></li>
1036
1037 <li data-name="LuCI.ui#createHandlerFn"><a href="LuCI.ui.html#createHandlerFn">createHandlerFn</a></li>
1038
1039 <li data-name="LuCI.ui#hideIndicator"><a href="LuCI.ui.html#hideIndicator">hideIndicator</a></li>
1040
1041 <li data-name="LuCI.ui#hideModal"><a href="LuCI.ui.html#hideModal">hideModal</a></li>
1042
1043 <li data-name="LuCI.ui#itemlist"><a href="LuCI.ui.html#itemlist">itemlist</a></li>
1044
1045 <li data-name="LuCI.ui#pingDevice"><a href="LuCI.ui.html#pingDevice">pingDevice</a></li>
1046
1047 <li data-name="LuCI.ui#showIndicator"><a href="LuCI.ui.html#showIndicator">showIndicator</a></li>
1048
1049 <li data-name="LuCI.ui#showModal"><a href="LuCI.ui.html#showModal">showModal</a></li>
1050
1051 <li data-name="LuCI.ui#uploadFile"><a href="LuCI.ui.html#uploadFile">uploadFile</a></li>
1052
1053 </ul>
1054 <ul class="events itemMembers">
1055
1056 </ul>
1057 </li>
1058
1059 <li class="item" data-name="LuCI.ui.AbstractElement">
1060 <span class="title">
1061 <a href="LuCI.ui.AbstractElement.html">LuCI.ui.AbstractElement</a>
1062
1063 </span>
1064 <ul class="members itemMembers">
1065
1066 </ul>
1067 <ul class="typedefs itemMembers">
1068
1069 <span class="subtitle">Typedefs</span>
1070
1071 <li data-name="LuCI.ui.AbstractElement.InitOptions"><a href="LuCI.ui.AbstractElement.html#.InitOptions">InitOptions</a></li>
1072
1073 </ul>
1074 <ul class="typedefs itemMembers">
1075
1076 </ul>
1077 <ul class="methods itemMembers">
1078
1079 <span class="subtitle">Methods</span>
1080
1081 <li data-name="LuCI.ui.AbstractElement#getValue"><a href="LuCI.ui.AbstractElement.html#getValue">getValue</a></li>
1082
1083 <li data-name="LuCI.ui.AbstractElement#isValid"><a href="LuCI.ui.AbstractElement.html#isValid">isValid</a></li>
1084
1085 <li data-name="LuCI.ui.AbstractElement#registerEvents"><a href="LuCI.ui.AbstractElement.html#registerEvents">registerEvents</a></li>
1086
1087 <li data-name="LuCI.ui.AbstractElement#render"><a href="LuCI.ui.AbstractElement.html#render">render</a></li>
1088
1089 <li data-name="LuCI.ui.AbstractElement#setChangeEvents"><a href="LuCI.ui.AbstractElement.html#setChangeEvents">setChangeEvents</a></li>
1090
1091 <li data-name="LuCI.ui.AbstractElement#setUpdateEvents"><a href="LuCI.ui.AbstractElement.html#setUpdateEvents">setUpdateEvents</a></li>
1092
1093 <li data-name="LuCI.ui.AbstractElement#setValue"><a href="LuCI.ui.AbstractElement.html#setValue">setValue</a></li>
1094
1095 <li data-name="LuCI.ui.AbstractElement#triggerValidation"><a href="LuCI.ui.AbstractElement.html#triggerValidation">triggerValidation</a></li>
1096
1097 </ul>
1098 <ul class="events itemMembers">
1099
1100 </ul>
1101 </li>
1102
1103 <li class="item" data-name="LuCI.ui.changes">
1104 <span class="title">
1105 <a href="LuCI.ui.changes.html">LuCI.ui.changes</a>
1106
1107 </span>
1108 <ul class="members itemMembers">
1109
1110 </ul>
1111 <ul class="typedefs itemMembers">
1112
1113 </ul>
1114 <ul class="typedefs itemMembers">
1115
1116 </ul>
1117 <ul class="methods itemMembers">
1118
1119 <span class="subtitle">Methods</span>
1120
1121 <li data-name="LuCI.ui.changes#apply"><a href="LuCI.ui.changes.html#apply">apply</a></li>
1122
1123 <li data-name="LuCI.ui.changes#displayChanges"><a href="LuCI.ui.changes.html#displayChanges">displayChanges</a></li>
1124
1125 <li data-name="LuCI.ui.changes#renderChangeIndicator"><a href="LuCI.ui.changes.html#renderChangeIndicator">renderChangeIndicator</a></li>
1126
1127 <li data-name="LuCI.ui.changes#revert"><a href="LuCI.ui.changes.html#revert">revert</a></li>
1128
1129 <li data-name="LuCI.ui.changes#setIndicator"><a href="LuCI.ui.changes.html#setIndicator">setIndicator</a></li>
1130
1131 </ul>
1132 <ul class="events itemMembers">
1133
1134 </ul>
1135 </li>
1136
1137 <li class="item" data-name="LuCI.ui.Checkbox">
1138 <span class="title">
1139 <a href="LuCI.ui.Checkbox.html">LuCI.ui.Checkbox</a>
1140
1141 </span>
1142 <ul class="members itemMembers">
1143
1144 </ul>
1145 <ul class="typedefs itemMembers">
1146
1147 <span class="subtitle">Typedefs</span>
1148
1149 <li data-name="LuCI.ui.Checkbox.InitOptions"><a href="LuCI.ui.Checkbox.html#.InitOptions">InitOptions</a></li>
1150
1151 </ul>
1152 <ul class="typedefs itemMembers">
1153
1154 </ul>
1155 <ul class="methods itemMembers">
1156
1157 <span class="subtitle">Methods</span>
1158
1159 <li data-name="LuCI.ui.Checkbox#getValue"><a href="LuCI.ui.Checkbox.html#getValue">getValue</a></li>
1160
1161 <li data-name="LuCI.ui.Checkbox#isChecked"><a href="LuCI.ui.Checkbox.html#isChecked">isChecked</a></li>
1162
1163 <li data-name="LuCI.ui.Checkbox#isValid"><a href="LuCI.ui.Checkbox.html#isValid">isValid</a></li>
1164
1165 <li data-name="LuCI.ui.Checkbox#registerEvents"><a href="LuCI.ui.Checkbox.html#registerEvents">registerEvents</a></li>
1166
1167 <li data-name="LuCI.ui.Checkbox#render"><a href="LuCI.ui.Checkbox.html#render">render</a></li>
1168
1169 <li data-name="LuCI.ui.Checkbox#setChangeEvents"><a href="LuCI.ui.Checkbox.html#setChangeEvents">setChangeEvents</a></li>
1170
1171 <li data-name="LuCI.ui.Checkbox#setUpdateEvents"><a href="LuCI.ui.Checkbox.html#setUpdateEvents">setUpdateEvents</a></li>
1172
1173 <li data-name="LuCI.ui.Checkbox#setValue"><a href="LuCI.ui.Checkbox.html#setValue">setValue</a></li>
1174
1175 <li data-name="LuCI.ui.Checkbox#triggerValidation"><a href="LuCI.ui.Checkbox.html#triggerValidation">triggerValidation</a></li>
1176
1177 </ul>
1178 <ul class="events itemMembers">
1179
1180 </ul>
1181 </li>
1182
1183 <li class="item" data-name="LuCI.ui.Combobox">
1184 <span class="title">
1185 <a href="LuCI.ui.Combobox.html">LuCI.ui.Combobox</a>
1186
1187 </span>
1188 <ul class="members itemMembers">
1189
1190 </ul>
1191 <ul class="typedefs itemMembers">
1192
1193 <span class="subtitle">Typedefs</span>
1194
1195 <li data-name="LuCI.ui.Combobox.InitOptions"><a href="LuCI.ui.Combobox.html#.InitOptions">InitOptions</a></li>
1196
1197 </ul>
1198 <ul class="typedefs itemMembers">
1199
1200 </ul>
1201 <ul class="methods itemMembers">
1202
1203 <span class="subtitle">Methods</span>
1204
1205 <li data-name="LuCI.ui.Combobox#addChoices"><a href="LuCI.ui.Combobox.html#addChoices">addChoices</a></li>
1206
1207 <li data-name="LuCI.ui.Combobox#clearChoices"><a href="LuCI.ui.Combobox.html#clearChoices">clearChoices</a></li>
1208
1209 <li data-name="LuCI.ui.Combobox#closeAllDropdowns"><a href="LuCI.ui.Combobox.html#closeAllDropdowns">closeAllDropdowns</a></li>
1210
1211 <li data-name="LuCI.ui.Combobox#isValid"><a href="LuCI.ui.Combobox.html#isValid">isValid</a></li>
1212
1213 <li data-name="LuCI.ui.Combobox#registerEvents"><a href="LuCI.ui.Combobox.html#registerEvents">registerEvents</a></li>
1214
1215 <li data-name="LuCI.ui.Combobox#setChangeEvents"><a href="LuCI.ui.Combobox.html#setChangeEvents">setChangeEvents</a></li>
1216
1217 <li data-name="LuCI.ui.Combobox#setUpdateEvents"><a href="LuCI.ui.Combobox.html#setUpdateEvents">setUpdateEvents</a></li>
1218
1219 <li data-name="LuCI.ui.Combobox#triggerValidation"><a href="LuCI.ui.Combobox.html#triggerValidation">triggerValidation</a></li>
1220
1221 </ul>
1222 <ul class="events itemMembers">
1223
1224 </ul>
1225 </li>
1226
1227 <li class="item" data-name="LuCI.ui.ComboButton">
1228 <span class="title">
1229 <a href="LuCI.ui.ComboButton.html">LuCI.ui.ComboButton</a>
1230
1231 </span>
1232 <ul class="members itemMembers">
1233
1234 </ul>
1235 <ul class="typedefs itemMembers">
1236
1237 <span class="subtitle">Typedefs</span>
1238
1239 <li data-name="LuCI.ui.ComboButton.InitOptions"><a href="LuCI.ui.ComboButton.html#.InitOptions">InitOptions</a></li>
1240
1241 </ul>
1242 <ul class="typedefs itemMembers">
1243
1244 </ul>
1245 <ul class="methods itemMembers">
1246
1247 <span class="subtitle">Methods</span>
1248
1249 <li data-name="LuCI.ui.ComboButton#addChoices"><a href="LuCI.ui.ComboButton.html#addChoices">addChoices</a></li>
1250
1251 <li data-name="LuCI.ui.ComboButton#clearChoices"><a href="LuCI.ui.ComboButton.html#clearChoices">clearChoices</a></li>
1252
1253 <li data-name="LuCI.ui.ComboButton#closeAllDropdowns"><a href="LuCI.ui.ComboButton.html#closeAllDropdowns">closeAllDropdowns</a></li>
1254
1255 <li data-name="LuCI.ui.ComboButton#isValid"><a href="LuCI.ui.ComboButton.html#isValid">isValid</a></li>
1256
1257 <li data-name="LuCI.ui.ComboButton#registerEvents"><a href="LuCI.ui.ComboButton.html#registerEvents">registerEvents</a></li>
1258
1259 <li data-name="LuCI.ui.ComboButton#setChangeEvents"><a href="LuCI.ui.ComboButton.html#setChangeEvents">setChangeEvents</a></li>
1260
1261 <li data-name="LuCI.ui.ComboButton#setUpdateEvents"><a href="LuCI.ui.ComboButton.html#setUpdateEvents">setUpdateEvents</a></li>
1262
1263 <li data-name="LuCI.ui.ComboButton#triggerValidation"><a href="LuCI.ui.ComboButton.html#triggerValidation">triggerValidation</a></li>
1264
1265 </ul>
1266 <ul class="events itemMembers">
1267
1268 </ul>
1269 </li>
1270
1271 <li class="item" data-name="LuCI.ui.Dropdown">
1272 <span class="title">
1273 <a href="LuCI.ui.Dropdown.html">LuCI.ui.Dropdown</a>
1274
1275 </span>
1276 <ul class="members itemMembers">
1277
1278 </ul>
1279 <ul class="typedefs itemMembers">
1280
1281 <span class="subtitle">Typedefs</span>
1282
1283 <li data-name="LuCI.ui.Dropdown.InitOptions"><a href="LuCI.ui.Dropdown.html#.InitOptions">InitOptions</a></li>
1284
1285 </ul>
1286 <ul class="typedefs itemMembers">
1287
1288 </ul>
1289 <ul class="methods itemMembers">
1290
1291 <span class="subtitle">Methods</span>
1292
1293 <li data-name="LuCI.ui.Dropdown#addChoices"><a href="LuCI.ui.Dropdown.html#addChoices">addChoices</a></li>
1294
1295 <li data-name="LuCI.ui.Dropdown#clearChoices"><a href="LuCI.ui.Dropdown.html#clearChoices">clearChoices</a></li>
1296
1297 <li data-name="LuCI.ui.Dropdown#closeAllDropdowns"><a href="LuCI.ui.Dropdown.html#closeAllDropdowns">closeAllDropdowns</a></li>
1298
1299 <li data-name="LuCI.ui.Dropdown#getValue"><a href="LuCI.ui.Dropdown.html#getValue">getValue</a></li>
1300
1301 <li data-name="LuCI.ui.Dropdown#isValid"><a href="LuCI.ui.Dropdown.html#isValid">isValid</a></li>
1302
1303 <li data-name="LuCI.ui.Dropdown#registerEvents"><a href="LuCI.ui.Dropdown.html#registerEvents">registerEvents</a></li>
1304
1305 <li data-name="LuCI.ui.Dropdown#render"><a href="LuCI.ui.Dropdown.html#render">render</a></li>
1306
1307 <li data-name="LuCI.ui.Dropdown#setChangeEvents"><a href="LuCI.ui.Dropdown.html#setChangeEvents">setChangeEvents</a></li>
1308
1309 <li data-name="LuCI.ui.Dropdown#setUpdateEvents"><a href="LuCI.ui.Dropdown.html#setUpdateEvents">setUpdateEvents</a></li>
1310
1311 <li data-name="LuCI.ui.Dropdown#setValue"><a href="LuCI.ui.Dropdown.html#setValue">setValue</a></li>
1312
1313 <li data-name="LuCI.ui.Dropdown#triggerValidation"><a href="LuCI.ui.Dropdown.html#triggerValidation">triggerValidation</a></li>
1314
1315 </ul>
1316 <ul class="events itemMembers">
1317
1318 </ul>
1319 </li>
1320
1321 <li class="item" data-name="LuCI.ui.DynamicList">
1322 <span class="title">
1323 <a href="LuCI.ui.DynamicList.html">LuCI.ui.DynamicList</a>
1324
1325 </span>
1326 <ul class="members itemMembers">
1327
1328 </ul>
1329 <ul class="typedefs itemMembers">
1330
1331 <span class="subtitle">Typedefs</span>
1332
1333 <li data-name="LuCI.ui.DynamicList.InitOptions"><a href="LuCI.ui.DynamicList.html#.InitOptions">InitOptions</a></li>
1334
1335 </ul>
1336 <ul class="typedefs itemMembers">
1337
1338 </ul>
1339 <ul class="methods itemMembers">
1340
1341 <span class="subtitle">Methods</span>
1342
1343 <li data-name="LuCI.ui.DynamicList#addChoices"><a href="LuCI.ui.DynamicList.html#addChoices">addChoices</a></li>
1344
1345 <li data-name="LuCI.ui.DynamicList#clearChoices"><a href="LuCI.ui.DynamicList.html#clearChoices">clearChoices</a></li>
1346
1347 <li data-name="LuCI.ui.DynamicList#getValue"><a href="LuCI.ui.DynamicList.html#getValue">getValue</a></li>
1348
1349 <li data-name="LuCI.ui.DynamicList#isValid"><a href="LuCI.ui.DynamicList.html#isValid">isValid</a></li>
1350
1351 <li data-name="LuCI.ui.DynamicList#registerEvents"><a href="LuCI.ui.DynamicList.html#registerEvents">registerEvents</a></li>
1352
1353 <li data-name="LuCI.ui.DynamicList#render"><a href="LuCI.ui.DynamicList.html#render">render</a></li>
1354
1355 <li data-name="LuCI.ui.DynamicList#setChangeEvents"><a href="LuCI.ui.DynamicList.html#setChangeEvents">setChangeEvents</a></li>
1356
1357 <li data-name="LuCI.ui.DynamicList#setUpdateEvents"><a href="LuCI.ui.DynamicList.html#setUpdateEvents">setUpdateEvents</a></li>
1358
1359 <li data-name="LuCI.ui.DynamicList#setValue"><a href="LuCI.ui.DynamicList.html#setValue">setValue</a></li>
1360
1361 <li data-name="LuCI.ui.DynamicList#triggerValidation"><a href="LuCI.ui.DynamicList.html#triggerValidation">triggerValidation</a></li>
1362
1363 </ul>
1364 <ul class="events itemMembers">
1365
1366 </ul>
1367 </li>
1368
1369 <li class="item" data-name="LuCI.ui.FileUpload">
1370 <span class="title">
1371 <a href="LuCI.ui.FileUpload.html">LuCI.ui.FileUpload</a>
1372
1373 </span>
1374 <ul class="members itemMembers">
1375
1376 </ul>
1377 <ul class="typedefs itemMembers">
1378
1379 <span class="subtitle">Typedefs</span>
1380
1381 <li data-name="LuCI.ui.FileUpload.InitOptions"><a href="LuCI.ui.FileUpload.html#.InitOptions">InitOptions</a></li>
1382
1383 </ul>
1384 <ul class="typedefs itemMembers">
1385
1386 </ul>
1387 <ul class="methods itemMembers">
1388
1389 <span class="subtitle">Methods</span>
1390
1391 <li data-name="LuCI.ui.FileUpload#getValue"><a href="LuCI.ui.FileUpload.html#getValue">getValue</a></li>
1392
1393 <li data-name="LuCI.ui.FileUpload#isValid"><a href="LuCI.ui.FileUpload.html#isValid">isValid</a></li>
1394
1395 <li data-name="LuCI.ui.FileUpload#registerEvents"><a href="LuCI.ui.FileUpload.html#registerEvents">registerEvents</a></li>
1396
1397 <li data-name="LuCI.ui.FileUpload#render"><a href="LuCI.ui.FileUpload.html#render">render</a></li>
1398
1399 <li data-name="LuCI.ui.FileUpload#setChangeEvents"><a href="LuCI.ui.FileUpload.html#setChangeEvents">setChangeEvents</a></li>
1400
1401 <li data-name="LuCI.ui.FileUpload#setUpdateEvents"><a href="LuCI.ui.FileUpload.html#setUpdateEvents">setUpdateEvents</a></li>
1402
1403 <li data-name="LuCI.ui.FileUpload#setValue"><a href="LuCI.ui.FileUpload.html#setValue">setValue</a></li>
1404
1405 <li data-name="LuCI.ui.FileUpload#triggerValidation"><a href="LuCI.ui.FileUpload.html#triggerValidation">triggerValidation</a></li>
1406
1407 </ul>
1408 <ul class="events itemMembers">
1409
1410 </ul>
1411 </li>
1412
1413 <li class="item" data-name="LuCI.ui.Hiddenfield">
1414 <span class="title">
1415 <a href="LuCI.ui.Hiddenfield.html">LuCI.ui.Hiddenfield</a>
1416
1417 </span>
1418 <ul class="members itemMembers">
1419
1420 </ul>
1421 <ul class="typedefs itemMembers">
1422
1423 </ul>
1424 <ul class="typedefs itemMembers">
1425
1426 </ul>
1427 <ul class="methods itemMembers">
1428
1429 <span class="subtitle">Methods</span>
1430
1431 <li data-name="LuCI.ui.Hiddenfield#getValue"><a href="LuCI.ui.Hiddenfield.html#getValue">getValue</a></li>
1432
1433 <li data-name="LuCI.ui.Hiddenfield#isValid"><a href="LuCI.ui.Hiddenfield.html#isValid">isValid</a></li>
1434
1435 <li data-name="LuCI.ui.Hiddenfield#registerEvents"><a href="LuCI.ui.Hiddenfield.html#registerEvents">registerEvents</a></li>
1436
1437 <li data-name="LuCI.ui.Hiddenfield#render"><a href="LuCI.ui.Hiddenfield.html#render">render</a></li>
1438
1439 <li data-name="LuCI.ui.Hiddenfield#setChangeEvents"><a href="LuCI.ui.Hiddenfield.html#setChangeEvents">setChangeEvents</a></li>
1440
1441 <li data-name="LuCI.ui.Hiddenfield#setUpdateEvents"><a href="LuCI.ui.Hiddenfield.html#setUpdateEvents">setUpdateEvents</a></li>
1442
1443 <li data-name="LuCI.ui.Hiddenfield#setValue"><a href="LuCI.ui.Hiddenfield.html#setValue">setValue</a></li>
1444
1445 <li data-name="LuCI.ui.Hiddenfield#triggerValidation"><a href="LuCI.ui.Hiddenfield.html#triggerValidation">triggerValidation</a></li>
1446
1447 </ul>
1448 <ul class="events itemMembers">
1449
1450 </ul>
1451 </li>
1452
1453 <li class="item" data-name="LuCI.ui.Select">
1454 <span class="title">
1455 <a href="LuCI.ui.Select.html">LuCI.ui.Select</a>
1456
1457 </span>
1458 <ul class="members itemMembers">
1459
1460 </ul>
1461 <ul class="typedefs itemMembers">
1462
1463 <span class="subtitle">Typedefs</span>
1464
1465 <li data-name="LuCI.ui.Select.InitOptions"><a href="LuCI.ui.Select.html#.InitOptions">InitOptions</a></li>
1466
1467 </ul>
1468 <ul class="typedefs itemMembers">
1469
1470 </ul>
1471 <ul class="methods itemMembers">
1472
1473 <span class="subtitle">Methods</span>
1474
1475 <li data-name="LuCI.ui.Select#getValue"><a href="LuCI.ui.Select.html#getValue">getValue</a></li>
1476
1477 <li data-name="LuCI.ui.Select#isValid"><a href="LuCI.ui.Select.html#isValid">isValid</a></li>
1478
1479 <li data-name="LuCI.ui.Select#registerEvents"><a href="LuCI.ui.Select.html#registerEvents">registerEvents</a></li>
1480
1481 <li data-name="LuCI.ui.Select#render"><a href="LuCI.ui.Select.html#render">render</a></li>
1482
1483 <li data-name="LuCI.ui.Select#setChangeEvents"><a href="LuCI.ui.Select.html#setChangeEvents">setChangeEvents</a></li>
1484
1485 <li data-name="LuCI.ui.Select#setUpdateEvents"><a href="LuCI.ui.Select.html#setUpdateEvents">setUpdateEvents</a></li>
1486
1487 <li data-name="LuCI.ui.Select#setValue"><a href="LuCI.ui.Select.html#setValue">setValue</a></li>
1488
1489 <li data-name="LuCI.ui.Select#triggerValidation"><a href="LuCI.ui.Select.html#triggerValidation">triggerValidation</a></li>
1490
1491 </ul>
1492 <ul class="events itemMembers">
1493
1494 </ul>
1495 </li>
1496
1497 <li class="item" data-name="LuCI.ui.tabs">
1498 <span class="title">
1499 <a href="LuCI.ui.tabs.html">LuCI.ui.tabs</a>
1500
1501 </span>
1502 <ul class="members itemMembers">
1503
1504 </ul>
1505 <ul class="typedefs itemMembers">
1506
1507 </ul>
1508 <ul class="typedefs itemMembers">
1509
1510 </ul>
1511 <ul class="methods itemMembers">
1512
1513 <span class="subtitle">Methods</span>
1514
1515 <li data-name="LuCI.ui.tabs#initTabGroup"><a href="LuCI.ui.tabs.html#initTabGroup">initTabGroup</a></li>
1516
1517 <li data-name="LuCI.ui.tabs#isEmptyPane"><a href="LuCI.ui.tabs.html#isEmptyPane">isEmptyPane</a></li>
1518
1519 </ul>
1520 <ul class="events itemMembers">
1521
1522 </ul>
1523 </li>
1524
1525 <li class="item" data-name="LuCI.ui.Textarea">
1526 <span class="title">
1527 <a href="LuCI.ui.Textarea.html">LuCI.ui.Textarea</a>
1528
1529 </span>
1530 <ul class="members itemMembers">
1531
1532 </ul>
1533 <ul class="typedefs itemMembers">
1534
1535 <span class="subtitle">Typedefs</span>
1536
1537 <li data-name="LuCI.ui.Textarea.InitOptions"><a href="LuCI.ui.Textarea.html#.InitOptions">InitOptions</a></li>
1538
1539 </ul>
1540 <ul class="typedefs itemMembers">
1541
1542 </ul>
1543 <ul class="methods itemMembers">
1544
1545 <span class="subtitle">Methods</span>
1546
1547 <li data-name="LuCI.ui.Textarea#getValue"><a href="LuCI.ui.Textarea.html#getValue">getValue</a></li>
1548
1549 <li data-name="LuCI.ui.Textarea#isValid"><a href="LuCI.ui.Textarea.html#isValid">isValid</a></li>
1550
1551 <li data-name="LuCI.ui.Textarea#registerEvents"><a href="LuCI.ui.Textarea.html#registerEvents">registerEvents</a></li>
1552
1553 <li data-name="LuCI.ui.Textarea#render"><a href="LuCI.ui.Textarea.html#render">render</a></li>
1554
1555 <li data-name="LuCI.ui.Textarea#setChangeEvents"><a href="LuCI.ui.Textarea.html#setChangeEvents">setChangeEvents</a></li>
1556
1557 <li data-name="LuCI.ui.Textarea#setUpdateEvents"><a href="LuCI.ui.Textarea.html#setUpdateEvents">setUpdateEvents</a></li>
1558
1559 <li data-name="LuCI.ui.Textarea#setValue"><a href="LuCI.ui.Textarea.html#setValue">setValue</a></li>
1560
1561 <li data-name="LuCI.ui.Textarea#triggerValidation"><a href="LuCI.ui.Textarea.html#triggerValidation">triggerValidation</a></li>
1562
1563 </ul>
1564 <ul class="events itemMembers">
1565
1566 </ul>
1567 </li>
1568
1569 <li class="item" data-name="LuCI.ui.Textfield">
1570 <span class="title">
1571 <a href="LuCI.ui.Textfield.html">LuCI.ui.Textfield</a>
1572
1573 </span>
1574 <ul class="members itemMembers">
1575
1576 </ul>
1577 <ul class="typedefs itemMembers">
1578
1579 <span class="subtitle">Typedefs</span>
1580
1581 <li data-name="LuCI.ui.Textfield.InitOptions"><a href="LuCI.ui.Textfield.html#.InitOptions">InitOptions</a></li>
1582
1583 </ul>
1584 <ul class="typedefs itemMembers">
1585
1586 </ul>
1587 <ul class="methods itemMembers">
1588
1589 <span class="subtitle">Methods</span>
1590
1591 <li data-name="LuCI.ui.Textfield#getValue"><a href="LuCI.ui.Textfield.html#getValue">getValue</a></li>
1592
1593 <li data-name="LuCI.ui.Textfield#isValid"><a href="LuCI.ui.Textfield.html#isValid">isValid</a></li>
1594
1595 <li data-name="LuCI.ui.Textfield#registerEvents"><a href="LuCI.ui.Textfield.html#registerEvents">registerEvents</a></li>
1596
1597 <li data-name="LuCI.ui.Textfield#render"><a href="LuCI.ui.Textfield.html#render">render</a></li>
1598
1599 <li data-name="LuCI.ui.Textfield#setChangeEvents"><a href="LuCI.ui.Textfield.html#setChangeEvents">setChangeEvents</a></li>
1600
1601 <li data-name="LuCI.ui.Textfield#setUpdateEvents"><a href="LuCI.ui.Textfield.html#setUpdateEvents">setUpdateEvents</a></li>
1602
1603 <li data-name="LuCI.ui.Textfield#setValue"><a href="LuCI.ui.Textfield.html#setValue">setValue</a></li>
1604
1605 <li data-name="LuCI.ui.Textfield#triggerValidation"><a href="LuCI.ui.Textfield.html#triggerValidation">triggerValidation</a></li>
1606
1607 </ul>
1608 <ul class="events itemMembers">
1609
1610 </ul>
1611 </li>
1612
1613 <li class="item" data-name="LuCI.view">
1614 <span class="title">
1615 <a href="LuCI.view.html">LuCI.view</a>
1616
1617 </span>
1618 <ul class="members itemMembers">
1619
1620 </ul>
1621 <ul class="typedefs itemMembers">
1622
1623 </ul>
1624 <ul class="typedefs itemMembers">
1625
1626 </ul>
1627 <ul class="methods itemMembers">
1628
1629 <span class="subtitle">Methods</span>
1630
1631 <li data-name="LuCI.view#addFooter"><a href="LuCI.view.html#addFooter">addFooter</a></li>
1632
1633 <li data-name="LuCI.view#handleReset"><a href="LuCI.view.html#handleReset">handleReset</a></li>
1634
1635 <li data-name="LuCI.view#handleSave"><a href="LuCI.view.html#handleSave">handleSave</a></li>
1636
1637 <li data-name="LuCI.view#handleSaveApply"><a href="LuCI.view.html#handleSaveApply">handleSaveApply</a></li>
1638
1639 <li data-name="LuCI.view#load"><a href="LuCI.view.html#load">load</a></li>
1640
1641 <li data-name="LuCI.view#render"><a href="LuCI.view.html#render">render</a></li>
1642
1643 </ul>
1644 <ul class="events itemMembers">
1645
1646 </ul>
1647 </li>
1648
1649 <li class="item" data-name="LuCI.XHR">
1650 <span class="title">
1651 <a href="LuCI.XHR.html">LuCI.XHR</a>
1652
1653 </span>
1654 <ul class="members itemMembers">
1655
1656 </ul>
1657 <ul class="typedefs itemMembers">
1658
1659 </ul>
1660 <ul class="typedefs itemMembers">
1661
1662 </ul>
1663 <ul class="methods itemMembers">
1664
1665 <span class="subtitle">Methods</span>
1666
1667 <li data-name="LuCI.XHR#abort"><a href="LuCI.XHR.html#abort">abort</a></li>
1668
1669 <li data-name="LuCI.XHR#busy"><a href="LuCI.XHR.html#busy">busy</a></li>
1670
1671 <li data-name="LuCI.XHR#cancel"><a href="LuCI.XHR.html#cancel">cancel</a></li>
1672
1673 <li data-name="LuCI.XHR#get"><a href="LuCI.XHR.html#get">get</a></li>
1674
1675 <li data-name="LuCI.XHR#post"><a href="LuCI.XHR.html#post">post</a></li>
1676
1677 <li data-name="LuCI.XHR#send_form"><a href="LuCI.XHR.html#send_form">send_form</a></li>
1678
1679 </ul>
1680 <ul class="events itemMembers">
1681
1682 </ul>
1683 </li>
1684
1685 </ul>
1686 </div>
1687 <div class="main">
1688 <h1 class="page-title" data-filename="LuCI.html">Class: LuCI</h1>
1689
1690
1691
1692
1693 <section>
1694
1695 <header>
1696 <h2>
1697 LuCI
1698 </h2>
1699
1700 <div class="class-description"><p>This is the LuCI base class. It is automatically instantiated and
1701 accessible using the global <code>L</code> variable.</p></div>
1702
1703 </header>
1704
1705 <article>
1706 <div class="container-overview">
1707
1708
1709
1710
1711 <dt>
1712 <div class="nameContainer">
1713 <h4 class="name" id="LuCI">
1714
1715 new LuCI<span class="signature">(env)</span>
1716 </h4>
1717
1718
1719 <div class="tag-source">
1720 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1">line 1</a>
1721 </div>
1722
1723 </div>
1724
1725
1726 </dt>
1727 <dd>
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738 <table class="params">
1739 <thead>
1740 <tr>
1741
1742 <th>Name</th>
1743
1744
1745 <th>Type</th>
1746
1747
1748
1749 <th class="last">Description</th>
1750 </tr>
1751 </thead>
1752
1753 <tbody>
1754
1755
1756 <tr>
1757
1758 <td class="name"><code>env</code></td>
1759
1760
1761 <td class="type">
1762
1763
1764 <span class="param-type">Object</span>
1765
1766
1767
1768 </td>
1769
1770
1771
1772 <td class="description last">
1773
1774 <p>The environment settings to use for the LuCI runtime.</p></td>
1775 </tr>
1776
1777
1778 </tbody>
1779 </table>
1780
1781
1782
1783 <dl class="details">
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805 </dl>
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819 </dd>
1820
1821
1822 </div>
1823
1824
1825
1826
1827
1828
1829
1830
1831 <h3 class="subsection-title">Classes</h3>
1832
1833 <dl>
1834 <dt><a href="LuCI.Class.html">Class</a></dt>
1835 <dd></dd>
1836
1837 <dt><a href="LuCI.dom.html">dom</a></dt>
1838 <dd></dd>
1839
1840 <dt><a href="LuCI.fs.html">fs</a></dt>
1841 <dd></dd>
1842
1843 <dt><a href="LuCI.Headers.html">Headers</a></dt>
1844 <dd></dd>
1845
1846 <dt><a href="LuCI.Network.html">Network</a></dt>
1847 <dd></dd>
1848
1849 <dt><a href="LuCI.Poll.html">Poll</a></dt>
1850 <dd></dd>
1851
1852 <dt><a href="LuCI.Request.html">Request</a></dt>
1853 <dd></dd>
1854
1855 <dt><a href="LuCI.Response.html">Response</a></dt>
1856 <dd></dd>
1857
1858 <dt><a href="LuCI.rpc.html">rpc</a></dt>
1859 <dd></dd>
1860
1861 <dt><a href="LuCI.uci.html">uci</a></dt>
1862 <dd></dd>
1863
1864 <dt><a href="LuCI.ui.html">ui</a></dt>
1865 <dd></dd>
1866
1867 <dt><a href="LuCI.view.html">view</a></dt>
1868 <dd></dd>
1869
1870 <dt><a href="LuCI.XHR.html">XHR</a></dt>
1871 <dd></dd>
1872 </dl>
1873
1874
1875
1876
1877
1878 <h3 class="subsection-title">Members</h3>
1879
1880 <dl>
1881
1882 <dt>
1883 <div class="nameContainer">
1884 <h4 class="name" id="env">env</h4>
1885 </div>
1886
1887
1888 </dt>
1889 <dd>
1890
1891 <div class="description">
1892 <p>The <code>env</code> object holds environment settings used by LuCI, such
1893 as request timeouts, base URLs etc.</p>
1894 </div>
1895
1896
1897
1898 <dl class="details">
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920 </dl>
1921
1922
1923
1924 </dd>
1925
1926 </dl>
1927
1928
1929
1930 <h3 class="subsection-title">Methods</h3>
1931
1932 <dl>
1933
1934 <dt>
1935 <div class="nameContainer">
1936 <h4 class="name" id="bind">
1937
1938 bind<span class="signature">(fn, self, <span class="optional">args</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{function}</span>
1939 </h4>
1940
1941
1942 <div class="tag-source">
1943 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1389">line 1389</a>
1944 </div>
1945
1946 </div>
1947
1948
1949 </dt>
1950 <dd>
1951
1952
1953 <div class="description">
1954 <p>Return a bound function using the given <code>self</code> as <code>this</code> context
1955 and any further arguments as parameters to the bound function.</p>
1956 </div>
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966 <table class="params">
1967 <thead>
1968 <tr>
1969
1970 <th>Name</th>
1971
1972
1973 <th>Type</th>
1974
1975
1976
1977 <th class="last">Description</th>
1978 </tr>
1979 </thead>
1980
1981 <tbody>
1982
1983
1984 <tr>
1985
1986 <td class="name"><code>fn</code></td>
1987
1988
1989 <td class="type">
1990
1991
1992 <span class="param-type">function</span>
1993
1994
1995
1996 </td>
1997
1998
1999
2000 <td class="description last">
2001
2002
2003
2004
2005
2006
2007 <p>The function to bind.</p></td>
2008 </tr>
2009
2010
2011
2012 <tr>
2013
2014 <td class="name"><code>self</code></td>
2015
2016
2017 <td class="type">
2018
2019
2020 <span class="param-type">*</span>
2021
2022
2023
2024 </td>
2025
2026
2027
2028 <td class="description last">
2029
2030
2031
2032
2033
2034
2035 <p>The value to bind as <code>this</code> context to the specified function.</p></td>
2036 </tr>
2037
2038
2039
2040 <tr>
2041
2042 <td class="name"><code>args</code></td>
2043
2044
2045 <td class="type">
2046
2047
2048 <span class="param-type">*</span>
2049
2050
2051
2052 </td>
2053
2054
2055
2056 <td class="description last">
2057
2058
2059 <span class="optional">optional</span>
2060
2061
2062
2063
2064 <span class="repeatable">repeatable</span>
2065
2066
2067 <p>Zero or more variable arguments which are bound to the function
2068 as parameters.</p></td>
2069 </tr>
2070
2071
2072 </tbody>
2073 </table>
2074
2075
2076
2077 <dl class="details">
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099 </dl>
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111 <h5>Returns:</h5>
2112
2113
2114
2115 <table class="params">
2116 <thead>
2117 <tr>
2118
2119 <th>Type</th>
2120 <th class="last">Description</th>
2121 </tr>
2122 </thead>
2123 <tbody>
2124
2125 <tr>
2126
2127 <td class="type">
2128
2129 function
2130
2131
2132 </td>
2133 <td class="description last">Returns the bound function.</td>
2134 </tr>
2135
2136 </tbody>
2137 </table>
2138
2139
2140
2141
2142 </dd>
2143
2144
2145
2146 <dt>
2147 <div class="nameContainer">
2148 <h4 class="name" id="error">
2149
2150 error<span class="signature">(<span class="optional">type</span>, <span class="optional">fmt</span>, <span class="optional">args</span>)</span>
2151 </h4>
2152
2153
2154 <div class="tag-source">
2155 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1349">line 1349</a>
2156 </div>
2157
2158 </div>
2159
2160
2161 </dt>
2162 <dd>
2163
2164
2165 <div class="description">
2166 <p>A wrapper around <a href="LuCI.html#raise"><code>raise()</code></a> which also renders
2167 the error either as modal overlay when <code>ui.js</code> is already loaed
2168 or directly into the view body.</p>
2169 </div>
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179 <table class="params">
2180 <thead>
2181 <tr>
2182
2183 <th>Name</th>
2184
2185
2186 <th>Type</th>
2187
2188
2189 <th>Default</th>
2190
2191
2192 <th class="last">Description</th>
2193 </tr>
2194 </thead>
2195
2196 <tbody>
2197
2198
2199 <tr>
2200
2201 <td class="name"><code>type</code></td>
2202
2203
2204 <td class="type">
2205
2206
2207 <span class="param-type">Error</span>
2208 |
2209
2210 <span class="param-type">string</span>
2211
2212
2213
2214 </td>
2215
2216
2217 <td class="default">
2218
2219 Error
2220
2221 </td>
2222
2223
2224 <td class="description last">
2225
2226
2227 <span class="optional">optional</span>
2228
2229
2230
2231
2232
2233 <p>Either a string specifying the type of the error to throw or an
2234 existing <code>Error</code> instance to copy.</p></td>
2235 </tr>
2236
2237
2238
2239 <tr>
2240
2241 <td class="name"><code>fmt</code></td>
2242
2243
2244 <td class="type">
2245
2246
2247 <span class="param-type">string</span>
2248
2249
2250
2251 </td>
2252
2253
2254 <td class="default">
2255
2256 Unspecified error
2257
2258 </td>
2259
2260
2261 <td class="description last">
2262
2263
2264 <span class="optional">optional</span>
2265
2266
2267
2268
2269
2270 <p>A format string which is used to form the error message, together
2271 with all subsequent optional arguments.</p></td>
2272 </tr>
2273
2274
2275
2276 <tr>
2277
2278 <td class="name"><code>args</code></td>
2279
2280
2281 <td class="type">
2282
2283
2284 <span class="param-type">*</span>
2285
2286
2287
2288 </td>
2289
2290
2291 <td class="default">
2292
2293 </td>
2294
2295
2296 <td class="description last">
2297
2298
2299 <span class="optional">optional</span>
2300
2301
2302
2303
2304 <span class="repeatable">repeatable</span>
2305
2306
2307 <p>Zero or more variable arguments to the supplied format string.</p></td>
2308 </tr>
2309
2310
2311 </tbody>
2312 </table>
2313
2314
2315
2316 <dl class="details">
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338 </dl>
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348 <h5>Throws:</h5>
2349
2350
2351
2352 <dl>
2353 <dt>
2354 <div class="param-desc">
2355 <p>Throws the created error object with the captured stack trace
2356 appended to the message and the type set to the given type
2357 argument or copied from the given error instance.</p>
2358 </div>
2359 </dt>
2360 <dt>
2361 <dl>
2362 <dt>
2363 Type
2364 </dt>
2365 <dd>
2366
2367 <span class="param-type">Error</span>
2368
2369
2370 </dd>
2371 </dl>
2372 </dt>
2373 </dl>
2374
2375
2376
2377
2378
2379
2380
2381 </dd>
2382
2383
2384
2385 <dt>
2386 <div class="nameContainer">
2387 <h4 class="name" id="get">
2388
2389 get<span class="signature">(url, <span class="optional">args</span>, cb)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.&lt;null>}</span>
2390 </h4>
2391
2392
2393 <div class="tag-source">
2394 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1989">line 1989</a>
2395 </div>
2396
2397 </div>
2398
2399
2400 </dt>
2401 <dd>
2402
2403
2404 <div class="description">
2405 <p>Issues a GET request to the given url and invokes the specified
2406 callback function. The function is a wrapper around
2407 <a href="LuCI.Request.html#request"><code>Request.request()</code></a>.</p>
2408 </div>
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418 <table class="params">
2419 <thead>
2420 <tr>
2421
2422 <th>Name</th>
2423
2424
2425 <th>Type</th>
2426
2427
2428
2429 <th class="last">Description</th>
2430 </tr>
2431 </thead>
2432
2433 <tbody>
2434
2435
2436 <tr>
2437
2438 <td class="name"><code>url</code></td>
2439
2440
2441 <td class="type">
2442
2443
2444 <span class="param-type">string</span>
2445
2446
2447
2448 </td>
2449
2450
2451
2452 <td class="description last">
2453
2454
2455
2456
2457
2458
2459 <p>The URL to request.</p></td>
2460 </tr>
2461
2462
2463
2464 <tr>
2465
2466 <td class="name"><code>args</code></td>
2467
2468
2469 <td class="type">
2470
2471
2472 <span class="param-type">Object.&lt;string, string></span>
2473
2474
2475
2476 </td>
2477
2478
2479
2480 <td class="description last">
2481
2482
2483 <span class="optional">optional</span>
2484
2485
2486
2487
2488
2489 <p>Additional query string arguments to append to the URL.</p></td>
2490 </tr>
2491
2492
2493
2494 <tr>
2495
2496 <td class="name"><code>cb</code></td>
2497
2498
2499 <td class="type">
2500
2501
2502 <span class="param-type"><a href="LuCI.html#.requestCallbackFn">LuCI.requestCallbackFn</a></span>
2503
2504
2505
2506 </td>
2507
2508
2509
2510 <td class="description last">
2511
2512
2513
2514
2515
2516
2517 <p>The callback function to invoke when the request finishes.</p></td>
2518 </tr>
2519
2520
2521 </tbody>
2522 </table>
2523
2524
2525
2526 <dl class="details">
2527
2528
2529
2530
2531
2532
2533
2534 <dt class="important tag-deprecated">Deprecated</dt><dd class="yes-def tag-deprecated"><ul class="dummy"><li>Yes</li></ul></dd>
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550 </dl>
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562 <h5>Returns:</h5>
2563
2564
2565
2566 <table class="params">
2567 <thead>
2568 <tr>
2569
2570 <th>Type</th>
2571 <th class="last">Description</th>
2572 </tr>
2573 </thead>
2574 <tbody>
2575
2576 <tr>
2577
2578 <td class="type">
2579
2580 Promise.&lt;null>
2581
2582
2583 </td>
2584 <td class="description last">Returns a promise resolving to <code>null</code> when concluded.</td>
2585 </tr>
2586
2587 </tbody>
2588 </table>
2589
2590
2591
2592
2593 </dd>
2594
2595
2596
2597 <dt>
2598 <div class="nameContainer">
2599 <h4 class="name" id="halt">
2600
2601 halt<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
2602 </h4>
2603
2604
2605 <div class="tag-source">
2606 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2111">line 2111</a>
2607 </div>
2608
2609 </div>
2610
2611
2612 </dt>
2613 <dd>
2614
2615
2616 <div class="description">
2617 <p>Deprecated wrapper around <code>Poll.stop()</code>.</p>
2618 </div>
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628 <dl class="details">
2629
2630
2631
2632
2633
2634
2635
2636 <dt class="important tag-deprecated">Deprecated</dt><dd class="yes-def tag-deprecated"><ul class="dummy"><li>Yes</li></ul></dd>
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652 </dl>
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664 <h5>Returns:</h5>
2665
2666
2667
2668 <table class="params">
2669 <thead>
2670 <tr>
2671
2672 <th>Type</th>
2673 <th class="last">Description</th>
2674 </tr>
2675 </thead>
2676 <tbody>
2677
2678 <tr>
2679
2680 <td class="type">
2681
2682 boolean
2683
2684
2685 </td>
2686 <td class="description last">Returns <code>true</code> when the polling loop has been stopped or <code>false</code>
2687 when it didn't run to begin with.</td>
2688 </tr>
2689
2690 </tbody>
2691 </table>
2692
2693
2694
2695
2696 </dd>
2697
2698
2699
2700 <dt>
2701 <div class="nameContainer">
2702 <h4 class="name" id="hasSystemFeature">
2703
2704 hasSystemFeature<span class="signature">(feature, <span class="optional">subfeature</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean|null}</span>
2705 </h4>
2706
2707
2708 <div class="tag-source">
2709 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1623">line 1623</a>
2710 </div>
2711
2712 </div>
2713
2714
2715 </dt>
2716 <dd>
2717
2718
2719 <div class="description">
2720 <p>Test whether a particular system feature is available, such as
2721 hostapd SAE support or an installed firewall. The features are
2722 queried once at the beginning of the LuCI session and cached in
2723 <code>SessionStorage</code> throughout the lifetime of the associated tab or
2724 browser window.</p>
2725 </div>
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735 <table class="params">
2736 <thead>
2737 <tr>
2738
2739 <th>Name</th>
2740
2741
2742 <th>Type</th>
2743
2744
2745
2746 <th class="last">Description</th>
2747 </tr>
2748 </thead>
2749
2750 <tbody>
2751
2752
2753 <tr>
2754
2755 <td class="name"><code>feature</code></td>
2756
2757
2758 <td class="type">
2759
2760
2761 <span class="param-type">string</span>
2762
2763
2764
2765 </td>
2766
2767
2768
2769 <td class="description last">
2770
2771
2772
2773
2774
2775
2776 <p>The feature to test. For detailed list of known feature flags,
2777 see <code>/modules/luci-base/root/usr/libexec/rpcd/luci</code>.</p></td>
2778 </tr>
2779
2780
2781
2782 <tr>
2783
2784 <td class="name"><code>subfeature</code></td>
2785
2786
2787 <td class="type">
2788
2789
2790 <span class="param-type">string</span>
2791
2792
2793
2794 </td>
2795
2796
2797
2798 <td class="description last">
2799
2800
2801 <span class="optional">optional</span>
2802
2803
2804
2805
2806
2807 <p>Some feature classes like <code>hostapd</code> provide sub-feature flags,
2808 such as <code>sae</code> or <code>11w</code> support. The <code>subfeature</code> argument can
2809 be used to query these.</p></td>
2810 </tr>
2811
2812
2813 </tbody>
2814 </table>
2815
2816
2817
2818 <dl class="details">
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840 </dl>
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852 <h5>Returns:</h5>
2853
2854
2855
2856 <table class="params">
2857 <thead>
2858 <tr>
2859
2860 <th>Type</th>
2861 <th class="last">Description</th>
2862 </tr>
2863 </thead>
2864 <tbody>
2865
2866 <tr>
2867
2868 <td class="type">
2869
2870 boolean
2871 |
2872
2873 null
2874
2875
2876 </td>
2877 <td class="description last">Return <code>true</code> if the queried feature (and sub-feature) is available
2878 or <code>false</code> if the requested feature isn't present or known.
2879 Return <code>null</code> when a sub-feature was queried for a feature which
2880 has no sub-features.</td>
2881 </tr>
2882
2883 </tbody>
2884 </table>
2885
2886
2887
2888
2889 </dd>
2890
2891
2892
2893 <dt>
2894 <div class="nameContainer">
2895 <h4 class="name" id="isObject">
2896
2897 isObject<span class="signature">(<span class="optional">val</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
2898 </h4>
2899
2900
2901 <div class="tag-source">
2902 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1836">line 1836</a>
2903 </div>
2904
2905 </div>
2906
2907
2908 </dt>
2909 <dd>
2910
2911
2912 <div class="description">
2913 <p>Tests whether the passed argument is a JavaScript object.
2914 This function is meant to be an object counterpart to the
2915 standard <code>Array.isArray()</code> function.</p>
2916 </div>
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926 <table class="params">
2927 <thead>
2928 <tr>
2929
2930 <th>Name</th>
2931
2932
2933 <th>Type</th>
2934
2935
2936
2937 <th class="last">Description</th>
2938 </tr>
2939 </thead>
2940
2941 <tbody>
2942
2943
2944 <tr>
2945
2946 <td class="name"><code>val</code></td>
2947
2948
2949 <td class="type">
2950
2951
2952 <span class="param-type">*</span>
2953
2954
2955
2956 </td>
2957
2958
2959
2960 <td class="description last">
2961
2962
2963 <span class="optional">optional</span>
2964
2965
2966
2967
2968
2969 <p>The value to test</p></td>
2970 </tr>
2971
2972
2973 </tbody>
2974 </table>
2975
2976
2977
2978 <dl class="details">
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000 </dl>
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012 <h5>Returns:</h5>
3013
3014
3015
3016 <table class="params">
3017 <thead>
3018 <tr>
3019
3020 <th>Type</th>
3021 <th class="last">Description</th>
3022 </tr>
3023 </thead>
3024 <tbody>
3025
3026 <tr>
3027
3028 <td class="type">
3029
3030 boolean
3031
3032
3033 </td>
3034 <td class="description last">Returns <code>true</code> if the given value is of type object and
3035 not <code>null</code>, else returns <code>false</code>.</td>
3036 </tr>
3037
3038 </tbody>
3039 </table>
3040
3041
3042
3043
3044 </dd>
3045
3046
3047
3048 <dt>
3049 <div class="nameContainer">
3050 <h4 class="name" id="location">
3051
3052 location<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
3053 </h4>
3054
3055
3056 <div class="tag-source">
3057 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1816">line 1816</a>
3058 </div>
3059
3060 </div>
3061
3062
3063 </dt>
3064 <dd>
3065
3066
3067 <div class="description">
3068 <p>Return the complete URL path to the current view.</p>
3069 </div>
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079 <dl class="details">
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101 </dl>
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113 <h5>Returns:</h5>
3114
3115
3116
3117 <table class="params">
3118 <thead>
3119 <tr>
3120
3121 <th>Type</th>
3122 <th class="last">Description</th>
3123 </tr>
3124 </thead>
3125 <tbody>
3126
3127 <tr>
3128
3129 <td class="type">
3130
3131 string
3132
3133
3134 </td>
3135 <td class="description last">Returns the URL path to the current view.</td>
3136 </tr>
3137
3138 </tbody>
3139 </table>
3140
3141
3142
3143
3144 </dd>
3145
3146
3147
3148 <dt>
3149 <div class="nameContainer">
3150 <h4 class="name" id="media">
3151
3152 media<span class="signature">(<span class="optional">parts</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
3153 </h4>
3154
3155
3156 <div class="tag-source">
3157 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1803">line 1803</a>
3158 </div>
3159
3160 </div>
3161
3162
3163 </dt>
3164 <dd>
3165
3166
3167 <div class="description">
3168 <p>Construct an URL path relative to the media resource path of the
3169 LuCI ui (usually <code>/luci-static/$theme_name</code>).</p>
3170 <p>The resulting URL is guaranteed to only contain the characters
3171 <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>_</code>, <code>.</code>, <code>%</code>, <code>,</code>, <code>;</code>, and <code>-</code> as well
3172 as <code>/</code> for the path separator.</p>
3173 </div>
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183 <table class="params">
3184 <thead>
3185 <tr>
3186
3187 <th>Name</th>
3188
3189
3190 <th>Type</th>
3191
3192
3193
3194 <th class="last">Description</th>
3195 </tr>
3196 </thead>
3197
3198 <tbody>
3199
3200
3201 <tr>
3202
3203 <td class="name"><code>parts</code></td>
3204
3205
3206 <td class="type">
3207
3208
3209 <span class="param-type">Array.&lt;string></span>
3210
3211
3212
3213 </td>
3214
3215
3216
3217 <td class="description last">
3218
3219
3220 <span class="optional">optional</span>
3221
3222
3223
3224
3225
3226 <p>An array of parts to join into an URL path. Parts may contain
3227 slashes and any of the other characters mentioned above.</p></td>
3228 </tr>
3229
3230
3231 </tbody>
3232 </table>
3233
3234
3235
3236 <dl class="details">
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258 </dl>
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270 <h5>Returns:</h5>
3271
3272
3273
3274 <table class="params">
3275 <thead>
3276 <tr>
3277
3278 <th>Type</th>
3279 <th class="last">Description</th>
3280 </tr>
3281 </thead>
3282 <tbody>
3283
3284 <tr>
3285
3286 <td class="type">
3287
3288 string
3289
3290
3291 </td>
3292 <td class="description last">Returns the resulting URL path.</td>
3293 </tr>
3294
3295 </tbody>
3296 </table>
3297
3298
3299
3300
3301 </dd>
3302
3303
3304
3305 <dt>
3306 <div class="nameContainer">
3307 <h4 class="name" id="path">
3308
3309 path<span class="signature">(<span class="optional">prefix</span>, <span class="optional">parts</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
3310 </h4>
3311
3312
3313 <div class="tag-source">
3314 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1728">line 1728</a>
3315 </div>
3316
3317 </div>
3318
3319
3320 </dt>
3321 <dd>
3322
3323
3324 <div class="description">
3325 <p>Construct a relative URL path from the given prefix and parts.
3326 The resulting URL is guaranteed to only contain the characters
3327 <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>_</code>, <code>.</code>, <code>%</code>, <code>,</code>, <code>;</code>, and <code>-</code> as well
3328 as <code>/</code> for the path separator.</p>
3329 </div>
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339 <table class="params">
3340 <thead>
3341 <tr>
3342
3343 <th>Name</th>
3344
3345
3346 <th>Type</th>
3347
3348
3349
3350 <th class="last">Description</th>
3351 </tr>
3352 </thead>
3353
3354 <tbody>
3355
3356
3357 <tr>
3358
3359 <td class="name"><code>prefix</code></td>
3360
3361
3362 <td class="type">
3363
3364
3365 <span class="param-type">string</span>
3366
3367
3368
3369 </td>
3370
3371
3372
3373 <td class="description last">
3374
3375
3376 <span class="optional">optional</span>
3377
3378
3379
3380
3381
3382 <p>The prefix to join the given parts with. If the <code>prefix</code> is
3383 omitted, it defaults to an empty string.</p></td>
3384 </tr>
3385
3386
3387
3388 <tr>
3389
3390 <td class="name"><code>parts</code></td>
3391
3392
3393 <td class="type">
3394
3395
3396 <span class="param-type">Array.&lt;string></span>
3397
3398
3399
3400 </td>
3401
3402
3403
3404 <td class="description last">
3405
3406
3407 <span class="optional">optional</span>
3408
3409
3410
3411
3412
3413 <p>An array of parts to join into an URL path. Parts may contain
3414 slashes and any of the other characters mentioned above.</p></td>
3415 </tr>
3416
3417
3418 </tbody>
3419 </table>
3420
3421
3422
3423 <dl class="details">
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445 </dl>
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457 <h5>Returns:</h5>
3458
3459
3460
3461 <table class="params">
3462 <thead>
3463 <tr>
3464
3465 <th>Type</th>
3466 <th class="last">Description</th>
3467 </tr>
3468 </thead>
3469 <tbody>
3470
3471 <tr>
3472
3473 <td class="type">
3474
3475 string
3476
3477
3478 </td>
3479 <td class="description last">Return the joined URL path.</td>
3480 </tr>
3481
3482 </tbody>
3483 </table>
3484
3485
3486
3487
3488 </dd>
3489
3490
3491
3492 <dt>
3493 <div class="nameContainer">
3494 <h4 class="name" id="poll">
3495
3496 poll<span class="signature">(interval, url, <span class="optional">args</span>, cb, <span class="optional">post</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{function}</span>
3497 </h4>
3498
3499
3500 <div class="tag-source">
3501 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2059">line 2059</a>
3502 </div>
3503
3504 </div>
3505
3506
3507 </dt>
3508 <dd>
3509
3510
3511 <div class="description">
3512 <p>Register a polling HTTP request that invokes the specified
3513 callback function. The function is a wrapper around
3514 <a href="LuCI.Request.poll.html#add"><code>Request.poll.add()</code></a>.</p>
3515 </div>
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525 <table class="params">
3526 <thead>
3527 <tr>
3528
3529 <th>Name</th>
3530
3531
3532 <th>Type</th>
3533
3534
3535 <th>Default</th>
3536
3537
3538 <th class="last">Description</th>
3539 </tr>
3540 </thead>
3541
3542 <tbody>
3543
3544
3545 <tr>
3546
3547 <td class="name"><code>interval</code></td>
3548
3549
3550 <td class="type">
3551
3552
3553 <span class="param-type">number</span>
3554
3555
3556
3557 </td>
3558
3559
3560 <td class="default">
3561
3562 </td>
3563
3564
3565 <td class="description last">
3566
3567
3568
3569
3570
3571
3572 <p>The poll interval to use. If set to a value less than or equal
3573 to <code>0</code>, it will default to the global poll interval configured
3574 in <code>LuCI.env.pollinterval</code>.</p></td>
3575 </tr>
3576
3577
3578
3579 <tr>
3580
3581 <td class="name"><code>url</code></td>
3582
3583
3584 <td class="type">
3585
3586
3587 <span class="param-type">string</span>
3588
3589
3590
3591 </td>
3592
3593
3594 <td class="default">
3595
3596 </td>
3597
3598
3599 <td class="description last">
3600
3601
3602
3603
3604
3605
3606 <p>The URL to request.</p></td>
3607 </tr>
3608
3609
3610
3611 <tr>
3612
3613 <td class="name"><code>args</code></td>
3614
3615
3616 <td class="type">
3617
3618
3619 <span class="param-type">Object.&lt;string, string></span>
3620
3621
3622
3623 </td>
3624
3625
3626 <td class="default">
3627
3628 </td>
3629
3630
3631 <td class="description last">
3632
3633
3634 <span class="optional">optional</span>
3635
3636
3637
3638
3639
3640 <p>Specifies additional arguments for the request. For GET requests,
3641 the arguments are appended to the URL as query string, for POST
3642 requests, they'll be added to the request body.</p></td>
3643 </tr>
3644
3645
3646
3647 <tr>
3648
3649 <td class="name"><code>cb</code></td>
3650
3651
3652 <td class="type">
3653
3654
3655 <span class="param-type"><a href="LuCI.html#.requestCallbackFn">LuCI.requestCallbackFn</a></span>
3656
3657
3658
3659 </td>
3660
3661
3662 <td class="default">
3663
3664 </td>
3665
3666
3667 <td class="description last">
3668
3669
3670
3671
3672
3673
3674 <p>The callback function to invoke whenever a request finishes.</p></td>
3675 </tr>
3676
3677
3678
3679 <tr>
3680
3681 <td class="name"><code>post</code></td>
3682
3683
3684 <td class="type">
3685
3686
3687 <span class="param-type">boolean</span>
3688
3689
3690
3691 </td>
3692
3693
3694 <td class="default">
3695
3696 false
3697
3698 </td>
3699
3700
3701 <td class="description last">
3702
3703
3704 <span class="optional">optional</span>
3705
3706
3707
3708
3709
3710 <p>When set to <code>false</code> or not specified, poll requests will be made
3711 using the GET method. When set to <code>true</code>, POST requests will be
3712 issued. In case of POST requests, the request body will contain
3713 an argument <code>token</code> with the current value of <code>LuCI.env.token</code> by
3714 default, regardless of the parameters specified with <code>args</code>.</p></td>
3715 </tr>
3716
3717
3718 </tbody>
3719 </table>
3720
3721
3722
3723 <dl class="details">
3724
3725
3726
3727
3728
3729
3730
3731 <dt class="important tag-deprecated">Deprecated</dt><dd class="yes-def tag-deprecated"><ul class="dummy"><li>Yes</li></ul></dd>
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747 </dl>
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759 <h5>Returns:</h5>
3760
3761
3762
3763 <table class="params">
3764 <thead>
3765 <tr>
3766
3767 <th>Type</th>
3768 <th class="last">Description</th>
3769 </tr>
3770 </thead>
3771 <tbody>
3772
3773 <tr>
3774
3775 <td class="type">
3776
3777 function
3778
3779
3780 </td>
3781 <td class="description last">Returns the internally created function that has been passed to
3782 <a href="LuCI.Request.poll.html#add"><code>Request.poll.add()</code></a>. This value can
3783 be passed to <code>Poll.remove()</code> to remove the
3784 polling request.</td>
3785 </tr>
3786
3787 </tbody>
3788 </table>
3789
3790
3791
3792
3793 </dd>
3794
3795
3796
3797 <dt>
3798 <div class="nameContainer">
3799 <h4 class="name" id="post">
3800
3801 post<span class="signature">(url, <span class="optional">args</span>, cb)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.&lt;null>}</span>
3802 </h4>
3803
3804
3805 <div class="tag-source">
3806 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2017">line 2017</a>
3807 </div>
3808
3809 </div>
3810
3811
3812 </dt>
3813 <dd>
3814
3815
3816 <div class="description">
3817 <p>Issues a POST request to the given url and invokes the specified
3818 callback function. The function is a wrapper around
3819 <a href="LuCI.Request.html#request"><code>Request.request()</code></a>. The request is
3820 sent using <code>application/x-www-form-urlencoded</code> encoding and will
3821 contain a field <code>token</code> with the current value of <code>LuCI.env.token</code>
3822 by default.</p>
3823 </div>
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833 <table class="params">
3834 <thead>
3835 <tr>
3836
3837 <th>Name</th>
3838
3839
3840 <th>Type</th>
3841
3842
3843
3844 <th class="last">Description</th>
3845 </tr>
3846 </thead>
3847
3848 <tbody>
3849
3850
3851 <tr>
3852
3853 <td class="name"><code>url</code></td>
3854
3855
3856 <td class="type">
3857
3858
3859 <span class="param-type">string</span>
3860
3861
3862
3863 </td>
3864
3865
3866
3867 <td class="description last">
3868
3869
3870
3871
3872
3873
3874 <p>The URL to request.</p></td>
3875 </tr>
3876
3877
3878
3879 <tr>
3880
3881 <td class="name"><code>args</code></td>
3882
3883
3884 <td class="type">
3885
3886
3887 <span class="param-type">Object.&lt;string, string></span>
3888
3889
3890
3891 </td>
3892
3893
3894
3895 <td class="description last">
3896
3897
3898 <span class="optional">optional</span>
3899
3900
3901
3902
3903
3904 <p>Additional post arguments to append to the request body.</p></td>
3905 </tr>
3906
3907
3908
3909 <tr>
3910
3911 <td class="name"><code>cb</code></td>
3912
3913
3914 <td class="type">
3915
3916
3917 <span class="param-type"><a href="LuCI.html#.requestCallbackFn">LuCI.requestCallbackFn</a></span>
3918
3919
3920
3921 </td>
3922
3923
3924
3925 <td class="description last">
3926
3927
3928
3929
3930
3931
3932 <p>The callback function to invoke when the request finishes.</p></td>
3933 </tr>
3934
3935
3936 </tbody>
3937 </table>
3938
3939
3940
3941 <dl class="details">
3942
3943
3944
3945
3946
3947
3948
3949 <dt class="important tag-deprecated">Deprecated</dt><dd class="yes-def tag-deprecated"><ul class="dummy"><li>Yes</li></ul></dd>
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965 </dl>
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977 <h5>Returns:</h5>
3978
3979
3980
3981 <table class="params">
3982 <thead>
3983 <tr>
3984
3985 <th>Type</th>
3986 <th class="last">Description</th>
3987 </tr>
3988 </thead>
3989 <tbody>
3990
3991 <tr>
3992
3993 <td class="type">
3994
3995 Promise.&lt;null>
3996
3997
3998 </td>
3999 <td class="description last">Returns a promise resolving to <code>null</code> when concluded.</td>
4000 </tr>
4001
4002 </tbody>
4003 </table>
4004
4005
4006
4007
4008 </dd>
4009
4010
4011
4012 <dt>
4013 <div class="nameContainer">
4014 <h4 class="name" id="raise">
4015
4016 raise<span class="signature">(<span class="optional">type</span>, <span class="optional">fmt</span>, <span class="optional">args</span>)</span>
4017 </h4>
4018
4019
4020 <div class="tag-source">
4021 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1283">line 1283</a>
4022 </div>
4023
4024 </div>
4025
4026
4027 </dt>
4028 <dd>
4029
4030
4031 <div class="description">
4032 <p>Captures the current stack trace and throws an error of the
4033 specified type as a new exception. Also logs the exception as
4034 error to the debug console if it is available.</p>
4035 </div>
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045 <table class="params">
4046 <thead>
4047 <tr>
4048
4049 <th>Name</th>
4050
4051
4052 <th>Type</th>
4053
4054
4055 <th>Default</th>
4056
4057
4058 <th class="last">Description</th>
4059 </tr>
4060 </thead>
4061
4062 <tbody>
4063
4064
4065 <tr>
4066
4067 <td class="name"><code>type</code></td>
4068
4069
4070 <td class="type">
4071
4072
4073 <span class="param-type">Error</span>
4074 |
4075
4076 <span class="param-type">string</span>
4077
4078
4079
4080 </td>
4081
4082
4083 <td class="default">
4084
4085 Error
4086
4087 </td>
4088
4089
4090 <td class="description last">
4091
4092
4093 <span class="optional">optional</span>
4094
4095
4096
4097
4098
4099 <p>Either a string specifying the type of the error to throw or an
4100 existing <code>Error</code> instance to copy.</p></td>
4101 </tr>
4102
4103
4104
4105 <tr>
4106
4107 <td class="name"><code>fmt</code></td>
4108
4109
4110 <td class="type">
4111
4112
4113 <span class="param-type">string</span>
4114
4115
4116
4117 </td>
4118
4119
4120 <td class="default">
4121
4122 Unspecified error
4123
4124 </td>
4125
4126
4127 <td class="description last">
4128
4129
4130 <span class="optional">optional</span>
4131
4132
4133
4134
4135
4136 <p>A format string which is used to form the error message, together
4137 with all subsequent optional arguments.</p></td>
4138 </tr>
4139
4140
4141
4142 <tr>
4143
4144 <td class="name"><code>args</code></td>
4145
4146
4147 <td class="type">
4148
4149
4150 <span class="param-type">*</span>
4151
4152
4153
4154 </td>
4155
4156
4157 <td class="default">
4158
4159 </td>
4160
4161
4162 <td class="description last">
4163
4164
4165 <span class="optional">optional</span>
4166
4167
4168
4169
4170 <span class="repeatable">repeatable</span>
4171
4172
4173 <p>Zero or more variable arguments to the supplied format string.</p></td>
4174 </tr>
4175
4176
4177 </tbody>
4178 </table>
4179
4180
4181
4182 <dl class="details">
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204 </dl>
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214 <h5>Throws:</h5>
4215
4216
4217
4218 <dl>
4219 <dt>
4220 <div class="param-desc">
4221 <p>Throws the created error object with the captured stack trace
4222 appended to the message and the type set to the given type
4223 argument or copied from the given error instance.</p>
4224 </div>
4225 </dt>
4226 <dt>
4227 <dl>
4228 <dt>
4229 Type
4230 </dt>
4231 <dd>
4232
4233 <span class="param-type">Error</span>
4234
4235
4236 </dd>
4237 </dl>
4238 </dt>
4239 </dl>
4240
4241
4242
4243
4244
4245
4246
4247 </dd>
4248
4249
4250
4251 <dt>
4252 <div class="nameContainer">
4253 <h4 class="name" id="require">
4254
4255 require<span class="signature">(name)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.&lt;LuCI#Class>}</span>
4256 </h4>
4257
4258
4259 <div class="tag-source">
4260 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1428">line 1428</a>
4261 </div>
4262
4263 </div>
4264
4265
4266 </dt>
4267 <dd>
4268
4269
4270 <div class="description">
4271 <p>Load an additional LuCI JavaScript class and its dependencies,
4272 instantiate it and return the resulting class instance. Each
4273 class is only loaded once. Subsequent attempts to load the same
4274 class will return the already instantiated class.</p>
4275 </div>
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285 <table class="params">
4286 <thead>
4287 <tr>
4288
4289 <th>Name</th>
4290
4291
4292 <th>Type</th>
4293
4294
4295
4296 <th class="last">Description</th>
4297 </tr>
4298 </thead>
4299
4300 <tbody>
4301
4302
4303 <tr>
4304
4305 <td class="name"><code>name</code></td>
4306
4307
4308 <td class="type">
4309
4310
4311 <span class="param-type">string</span>
4312
4313
4314
4315 </td>
4316
4317
4318
4319 <td class="description last">
4320
4321 <p>The name of the class to load in dotted notation. Dots will
4322 be replaced by spaces and joined with the runtime-determined
4323 base URL of LuCI.js to form an absolute URL to load the class
4324 file from.</p></td>
4325 </tr>
4326
4327
4328 </tbody>
4329 </table>
4330
4331
4332
4333 <dl class="details">
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355 </dl>
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365 <h5>Throws:</h5>
4366 <ul>
4367 <li>
4368
4369 <dl>
4370 <dt>
4371 <div class="param-desc">
4372 <p>Throws a <code>DependencyError</code> when the class to load includes
4373 circular dependencies.</p>
4374 </div>
4375 </dt>
4376 <dt>
4377 <dl>
4378 <dt>
4379 Type
4380 </dt>
4381 <dd>
4382
4383 <span class="param-type">DependencyError</span>
4384
4385
4386 </dd>
4387 </dl>
4388 </dt>
4389 </dl>
4390
4391 </li>
4392
4393 <li>
4394
4395 <dl>
4396 <dt>
4397 <div class="param-desc">
4398 <p>Throws <code>NetworkError</code> when the underlying <a href="LuCI.Request.html"><code>LuCI.Request</code></a>
4399 call failed.</p>
4400 </div>
4401 </dt>
4402 <dt>
4403 <dl>
4404 <dt>
4405 Type
4406 </dt>
4407 <dd>
4408
4409 <span class="param-type">NetworkError</span>
4410
4411
4412 </dd>
4413 </dl>
4414 </dt>
4415 </dl>
4416
4417 </li>
4418
4419 <li>
4420
4421 <dl>
4422 <dt>
4423 <div class="param-desc">
4424 <p>Throws <code>SyntaxError</code> when the loaded class file code cannot
4425 be interpreted by <code>eval</code>.</p>
4426 </div>
4427 </dt>
4428 <dt>
4429 <dl>
4430 <dt>
4431 Type
4432 </dt>
4433 <dd>
4434
4435 <span class="param-type">SyntaxError</span>
4436
4437
4438 </dd>
4439 </dl>
4440 </dt>
4441 </dl>
4442
4443 </li>
4444
4445 <li>
4446
4447 <dl>
4448 <dt>
4449 <div class="param-desc">
4450 <p>Throws <code>TypeError</code> when the class file could be loaded and
4451 interpreted, but when invoking its code did not yield a valid
4452 class instance.</p>
4453 </div>
4454 </dt>
4455 <dt>
4456 <dl>
4457 <dt>
4458 Type
4459 </dt>
4460 <dd>
4461
4462 <span class="param-type">TypeError</span>
4463
4464
4465 </dd>
4466 </dl>
4467 </dt>
4468 </dl>
4469
4470 </li>
4471 </ul>
4472
4473
4474 <h5>Returns:</h5>
4475
4476
4477
4478 <table class="params">
4479 <thead>
4480 <tr>
4481
4482 <th>Type</th>
4483 <th class="last">Description</th>
4484 </tr>
4485 </thead>
4486 <tbody>
4487
4488 <tr>
4489
4490 <td class="type">
4491
4492 Promise.&lt;LuCI#Class>
4493
4494
4495 </td>
4496 <td class="description last">Returns the instantiated class.</td>
4497 </tr>
4498
4499 </tbody>
4500 </table>
4501
4502
4503
4504
4505 </dd>
4506
4507
4508
4509 <dt>
4510 <div class="nameContainer">
4511 <h4 class="name" id="resolveDefault">
4512
4513 resolveDefault<span class="signature">(value, defvalue)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Promise.&lt;*>}</span>
4514 </h4>
4515
4516
4517 <div class="tag-source">
4518 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1944">line 1944</a>
4519 </div>
4520
4521 </div>
4522
4523
4524 </dt>
4525 <dd>
4526
4527
4528 <div class="description">
4529 <p>Returns a promise resolving with either the given value or or with
4530 the given default in case the input value is a rejecting promise.</p>
4531 </div>
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541 <table class="params">
4542 <thead>
4543 <tr>
4544
4545 <th>Name</th>
4546
4547
4548 <th>Type</th>
4549
4550
4551
4552 <th class="last">Description</th>
4553 </tr>
4554 </thead>
4555
4556 <tbody>
4557
4558
4559 <tr>
4560
4561 <td class="name"><code>value</code></td>
4562
4563
4564 <td class="type">
4565
4566
4567 <span class="param-type">*</span>
4568
4569
4570
4571 </td>
4572
4573
4574
4575 <td class="description last">
4576
4577 <p>The value to resolve the promise with.</p></td>
4578 </tr>
4579
4580
4581
4582 <tr>
4583
4584 <td class="name"><code>defvalue</code></td>
4585
4586
4587 <td class="type">
4588
4589
4590 <span class="param-type">*</span>
4591
4592
4593
4594 </td>
4595
4596
4597
4598 <td class="description last">
4599
4600 <p>The default value to resolve the promise with in case the given
4601 input value is a rejecting promise.</p></td>
4602 </tr>
4603
4604
4605 </tbody>
4606 </table>
4607
4608
4609
4610 <dl class="details">
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632 </dl>
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644 <h5>Returns:</h5>
4645
4646
4647
4648 <table class="params">
4649 <thead>
4650 <tr>
4651
4652 <th>Type</th>
4653 <th class="last">Description</th>
4654 </tr>
4655 </thead>
4656 <tbody>
4657
4658 <tr>
4659
4660 <td class="type">
4661
4662 Promise.&lt;*>
4663
4664
4665 </td>
4666 <td class="description last">Returns a new promise resolving either to the given input value or
4667 to the given default value on error.</td>
4668 </tr>
4669
4670 </tbody>
4671 </table>
4672
4673
4674
4675
4676 </dd>
4677
4678
4679
4680 <dt>
4681 <div class="nameContainer">
4682 <h4 class="name" id="resource">
4683
4684 resource<span class="signature">(<span class="optional">parts</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
4685 </h4>
4686
4687
4688 <div class="tag-source">
4689 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1781">line 1781</a>
4690 </div>
4691
4692 </div>
4693
4694
4695 </dt>
4696 <dd>
4697
4698
4699 <div class="description">
4700 <p>Construct an URL path relative to the global static resource path
4701 of the LuCI ui (usually <code>/luci-static/resources</code>).</p>
4702 <p>The resulting URL is guaranteed to only contain the characters
4703 <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>_</code>, <code>.</code>, <code>%</code>, <code>,</code>, <code>;</code>, and <code>-</code> as well
4704 as <code>/</code> for the path separator.</p>
4705 </div>
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715 <table class="params">
4716 <thead>
4717 <tr>
4718
4719 <th>Name</th>
4720
4721
4722 <th>Type</th>
4723
4724
4725
4726 <th class="last">Description</th>
4727 </tr>
4728 </thead>
4729
4730 <tbody>
4731
4732
4733 <tr>
4734
4735 <td class="name"><code>parts</code></td>
4736
4737
4738 <td class="type">
4739
4740
4741 <span class="param-type">Array.&lt;string></span>
4742
4743
4744
4745 </td>
4746
4747
4748
4749 <td class="description last">
4750
4751
4752 <span class="optional">optional</span>
4753
4754
4755
4756
4757
4758 <p>An array of parts to join into an URL path. Parts may contain
4759 slashes and any of the other characters mentioned above.</p></td>
4760 </tr>
4761
4762
4763 </tbody>
4764 </table>
4765
4766
4767
4768 <dl class="details">
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790 </dl>
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802 <h5>Returns:</h5>
4803
4804
4805
4806 <table class="params">
4807 <thead>
4808 <tr>
4809
4810 <th>Type</th>
4811 <th class="last">Description</th>
4812 </tr>
4813 </thead>
4814 <tbody>
4815
4816 <tr>
4817
4818 <td class="type">
4819
4820 string
4821
4822
4823 </td>
4824 <td class="description last">Returns the resulting URL path.</td>
4825 </tr>
4826
4827 </tbody>
4828 </table>
4829
4830
4831
4832
4833 </dd>
4834
4835
4836
4837 <dt>
4838 <div class="nameContainer">
4839 <h4 class="name" id="run">
4840
4841 run<span class="signature">()</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
4842 </h4>
4843
4844
4845 <div class="tag-source">
4846 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2124">line 2124</a>
4847 </div>
4848
4849 </div>
4850
4851
4852 </dt>
4853 <dd>
4854
4855
4856 <div class="description">
4857 <p>Deprecated wrapper around <code>Poll.start()</code>.</p>
4858 </div>
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868 <dl class="details">
4869
4870
4871
4872
4873
4874
4875
4876 <dt class="important tag-deprecated">Deprecated</dt><dd class="yes-def tag-deprecated"><ul class="dummy"><li>Yes</li></ul></dd>
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892 </dl>
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904 <h5>Returns:</h5>
4905
4906
4907
4908 <table class="params">
4909 <thead>
4910 <tr>
4911
4912 <th>Type</th>
4913 <th class="last">Description</th>
4914 </tr>
4915 </thead>
4916 <tbody>
4917
4918 <tr>
4919
4920 <td class="type">
4921
4922 boolean
4923
4924
4925 </td>
4926 <td class="description last">Returns <code>true</code> when the polling loop has been started or <code>false</code>
4927 when it was already running.</td>
4928 </tr>
4929
4930 </tbody>
4931 </table>
4932
4933
4934
4935
4936 </dd>
4937
4938
4939
4940 <dt>
4941 <div class="nameContainer">
4942 <h4 class="name" id="sortedKeys">
4943
4944 sortedKeys<span class="signature">(obj, <span class="optional">key</span>, <span class="optional">sortmode</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Array.&lt;string>}</span>
4945 </h4>
4946
4947
4948 <div class="tag-source">
4949 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1865">line 1865</a>
4950 </div>
4951
4952 </div>
4953
4954
4955 </dt>
4956 <dd>
4957
4958
4959 <div class="description">
4960 <p>Return an array of sorted object keys, optionally sorted by
4961 a different key or a different sorting mode.</p>
4962 </div>
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972 <table class="params">
4973 <thead>
4974 <tr>
4975
4976 <th>Name</th>
4977
4978
4979 <th>Type</th>
4980
4981
4982
4983 <th class="last">Description</th>
4984 </tr>
4985 </thead>
4986
4987 <tbody>
4988
4989
4990 <tr>
4991
4992 <td class="name"><code>obj</code></td>
4993
4994
4995 <td class="type">
4996
4997
4998 <span class="param-type">object</span>
4999
5000
5001
5002 </td>
5003
5004
5005
5006 <td class="description last">
5007
5008
5009
5010
5011
5012
5013 <p>The object to extract the keys from. If the given value is
5014 not an object, the function will return an empty array.</p></td>
5015 </tr>
5016
5017
5018
5019 <tr>
5020
5021 <td class="name"><code>key</code></td>
5022
5023
5024 <td class="type">
5025
5026
5027 <span class="param-type">string</span>
5028
5029
5030
5031 </td>
5032
5033
5034
5035 <td class="description last">
5036
5037
5038 <span class="optional">optional</span>
5039
5040
5041
5042
5043
5044 <p>Specifies the key to order by. This is mainly useful for
5045 nested objects of objects or objects of arrays when sorting
5046 shall not be performed by the primary object keys but by
5047 some other key pointing to a value within the nested values.</p></td>
5048 </tr>
5049
5050
5051
5052 <tr>
5053
5054 <td class="name"><code>sortmode</code></td>
5055
5056
5057 <td class="type">
5058
5059
5060 <span class="param-type">string</span>
5061
5062
5063
5064 </td>
5065
5066
5067
5068 <td class="description last">
5069
5070
5071 <span class="optional">optional</span>
5072
5073
5074
5075
5076
5077 <p>May be either <code>addr</code> or <code>num</code> to override the natural
5078 lexicographic sorting with a sorting suitable for IP/MAC style
5079 addresses or numeric values respectively.</p></td>
5080 </tr>
5081
5082
5083 </tbody>
5084 </table>
5085
5086
5087
5088 <dl class="details">
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110 </dl>
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122 <h5>Returns:</h5>
5123
5124
5125
5126 <table class="params">
5127 <thead>
5128 <tr>
5129
5130 <th>Type</th>
5131 <th class="last">Description</th>
5132 </tr>
5133 </thead>
5134 <tbody>
5135
5136 <tr>
5137
5138 <td class="type">
5139
5140 Array.&lt;string>
5141
5142
5143 </td>
5144 <td class="description last">Returns an array containing the sorted keys of the given object.</td>
5145 </tr>
5146
5147 </tbody>
5148 </table>
5149
5150
5151
5152
5153 </dd>
5154
5155
5156
5157 <dt>
5158 <div class="nameContainer">
5159 <h4 class="name" id="stop">
5160
5161 stop<span class="signature">(entry)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{boolean}</span>
5162 </h4>
5163
5164
5165 <div class="tag-source">
5166 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line2098">line 2098</a>
5167 </div>
5168
5169 </div>
5170
5171
5172 </dt>
5173 <dd>
5174
5175
5176 <div class="description">
5177 <p>Deprecated wrapper around <code>Poll.remove()</code>.</p>
5178 </div>
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188 <table class="params">
5189 <thead>
5190 <tr>
5191
5192 <th>Name</th>
5193
5194
5195 <th>Type</th>
5196
5197
5198
5199 <th class="last">Description</th>
5200 </tr>
5201 </thead>
5202
5203 <tbody>
5204
5205
5206 <tr>
5207
5208 <td class="name"><code>entry</code></td>
5209
5210
5211 <td class="type">
5212
5213
5214 <span class="param-type">function</span>
5215
5216
5217
5218 </td>
5219
5220
5221
5222 <td class="description last">
5223
5224 <p>The polling function to remove.</p></td>
5225 </tr>
5226
5227
5228 </tbody>
5229 </table>
5230
5231
5232
5233 <dl class="details">
5234
5235
5236
5237
5238
5239
5240
5241 <dt class="important tag-deprecated">Deprecated</dt><dd class="yes-def tag-deprecated"><ul class="dummy"><li>Yes</li></ul></dd>
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257 </dl>
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269 <h5>Returns:</h5>
5270
5271
5272
5273 <table class="params">
5274 <thead>
5275 <tr>
5276
5277 <th>Type</th>
5278 <th class="last">Description</th>
5279 </tr>
5280 </thead>
5281 <tbody>
5282
5283 <tr>
5284
5285 <td class="type">
5286
5287 boolean
5288
5289
5290 </td>
5291 <td class="description last">Returns <code>true</code> when the function has been removed or <code>false</code> if
5292 it could not be found.</td>
5293 </tr>
5294
5295 </tbody>
5296 </table>
5297
5298
5299
5300
5301 </dd>
5302
5303
5304
5305 <dt>
5306 <div class="nameContainer">
5307 <h4 class="name" id="toArray">
5308
5309 toArray<span class="signature">(val)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{Array.&lt;*>}</span>
5310 </h4>
5311
5312
5313 <div class="tag-source">
5314 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1910">line 1910</a>
5315 </div>
5316
5317 </div>
5318
5319
5320 </dt>
5321 <dd>
5322
5323
5324 <div class="description">
5325 <p>Converts the given value to an array. If the given value is of
5326 type array, it is returned as-is, values of type object are
5327 returned as one-element array containing the object, empty
5328 strings and <code>null</code> values are returned as empty array, all other
5329 values are converted using <code>String()</code>, trimmed, split on white
5330 space and returned as array.</p>
5331 </div>
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341 <table class="params">
5342 <thead>
5343 <tr>
5344
5345 <th>Name</th>
5346
5347
5348 <th>Type</th>
5349
5350
5351
5352 <th class="last">Description</th>
5353 </tr>
5354 </thead>
5355
5356 <tbody>
5357
5358
5359 <tr>
5360
5361 <td class="name"><code>val</code></td>
5362
5363
5364 <td class="type">
5365
5366
5367 <span class="param-type">*</span>
5368
5369
5370
5371 </td>
5372
5373
5374
5375 <td class="description last">
5376
5377 <p>The value to convert into an array.</p></td>
5378 </tr>
5379
5380
5381 </tbody>
5382 </table>
5383
5384
5385
5386 <dl class="details">
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408 </dl>
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420 <h5>Returns:</h5>
5421
5422
5423
5424 <table class="params">
5425 <thead>
5426 <tr>
5427
5428 <th>Type</th>
5429 <th class="last">Description</th>
5430 </tr>
5431 </thead>
5432 <tbody>
5433
5434 <tr>
5435
5436 <td class="type">
5437
5438 Array.&lt;*>
5439
5440
5441 </td>
5442 <td class="description last">Returns the resulting array.</td>
5443 </tr>
5444
5445 </tbody>
5446 </table>
5447
5448
5449
5450
5451 </dd>
5452
5453
5454
5455 <dt>
5456 <div class="nameContainer">
5457 <h4 class="name" id="url">
5458
5459 url<span class="signature">(<span class="optional">parts</span>)</span><span class="glyphicon glyphicon-circle-arrow-right"></span><span class="type-signature returnType">{string}</span>
5460 </h4>
5461
5462
5463 <div class="tag-source">
5464 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1759">line 1759</a>
5465 </div>
5466
5467 </div>
5468
5469
5470 </dt>
5471 <dd>
5472
5473
5474 <div class="description">
5475 <p>Construct an URL pathrelative to the script path of the server
5476 side LuCI application (usually <code>/cgi-bin/luci</code>).</p>
5477 <p>The resulting URL is guaranteed to only contain the characters
5478 <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, <code>_</code>, <code>.</code>, <code>%</code>, <code>,</code>, <code>;</code>, and <code>-</code> as well
5479 as <code>/</code> for the path separator.</p>
5480 </div>
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490 <table class="params">
5491 <thead>
5492 <tr>
5493
5494 <th>Name</th>
5495
5496
5497 <th>Type</th>
5498
5499
5500
5501 <th class="last">Description</th>
5502 </tr>
5503 </thead>
5504
5505 <tbody>
5506
5507
5508 <tr>
5509
5510 <td class="name"><code>parts</code></td>
5511
5512
5513 <td class="type">
5514
5515
5516 <span class="param-type">Array.&lt;string></span>
5517
5518
5519
5520 </td>
5521
5522
5523
5524 <td class="description last">
5525
5526
5527 <span class="optional">optional</span>
5528
5529
5530
5531
5532
5533 <p>An array of parts to join into an URL path. Parts may contain
5534 slashes and any of the other characters mentioned above.</p></td>
5535 </tr>
5536
5537
5538 </tbody>
5539 </table>
5540
5541
5542
5543 <dl class="details">
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565 </dl>
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577 <h5>Returns:</h5>
5578
5579
5580
5581 <table class="params">
5582 <thead>
5583 <tr>
5584
5585 <th>Type</th>
5586 <th class="last">Description</th>
5587 </tr>
5588 </thead>
5589 <tbody>
5590
5591 <tr>
5592
5593 <td class="type">
5594
5595 string
5596
5597
5598 </td>
5599 <td class="description last">Returns the resulting URL path.</td>
5600 </tr>
5601
5602 </tbody>
5603 </table>
5604
5605
5606
5607
5608 </dd>
5609
5610 </dl>
5611
5612
5613
5614 <h3 class="subsection-title">Type Definitions</h3>
5615
5616 <dl>
5617
5618 <dt>
5619 <div class="nameContainer">
5620 <h4 class="name" id=".requestCallbackFn">
5621
5622 LuCI.requestCallbackFn<span class="signature">(xhr, data, duration)</span>
5623 </h4>
5624
5625
5626 <div class="tag-source">
5627 <a href="luci.js.html">luci.js</a>, <a href="luci.js.html#line1948">line 1948</a>
5628 </div>
5629
5630 </div>
5631
5632
5633 </dt>
5634 <dd>
5635
5636
5637 <div class="description">
5638 <p>The request callback function is invoked whenever an HTTP
5639 reply to a request made using the <code>L.get()</code>, <code>L.post()</code> or
5640 <code>L.poll()</code> function is timed out or received successfully.</p>
5641 </div>
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651 <table class="params">
5652 <thead>
5653 <tr>
5654
5655 <th>Name</th>
5656
5657
5658 <th>Type</th>
5659
5660
5661
5662 <th class="last">Description</th>
5663 </tr>
5664 </thead>
5665
5666 <tbody>
5667
5668
5669 <tr>
5670
5671 <td class="name"><code>xhr</code></td>
5672
5673
5674 <td class="type">
5675
5676
5677 <span class="param-type">XMLHTTPRequest</span>
5678
5679
5680
5681 </td>
5682
5683
5684
5685 <td class="description last">
5686
5687 <p>The XMLHTTPRequest instance used to make the request.</p></td>
5688 </tr>
5689
5690
5691
5692 <tr>
5693
5694 <td class="name"><code>data</code></td>
5695
5696
5697 <td class="type">
5698
5699
5700 <span class="param-type">*</span>
5701
5702
5703
5704 </td>
5705
5706
5707
5708 <td class="description last">
5709
5710 <p>The response JSON if the response could be parsed as such,
5711 else <code>null</code>.</p></td>
5712 </tr>
5713
5714
5715
5716 <tr>
5717
5718 <td class="name"><code>duration</code></td>
5719
5720
5721 <td class="type">
5722
5723
5724 <span class="param-type">number</span>
5725
5726
5727
5728 </td>
5729
5730
5731
5732 <td class="description last">
5733
5734 <p>The total duration of the request in milliseconds.</p></td>
5735 </tr>
5736
5737
5738 </tbody>
5739 </table>
5740
5741
5742
5743 <dl class="details">
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765 </dl>
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779 </dd>
5780
5781 </dl>
5782
5783
5784
5785
5786
5787 </article>
5788
5789 </section>
5790
5791
5792
5793
5794
5795
5796
5797 <footer>
5798 Documentation generated by <a target="_blank" href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Tue Mar 31 2020 21:30:33 GMT+0200 (Central European Summer Time)
5799 </footer>
5800 </div>
5801 </div>
5802 <script>prettyPrint();</script>
5803 <script src="scripts/jaguar.js"></script>
5804 </body>
5805 </html>