5 <title>Class: dom
</title>
8 <script src=
"scripts/prettify/prettify.js"></script>
9 <script src=
"scripts/prettify/lang-css.js"></script>
10 <script src=
"scripts/jquery.min.js"></script>
12 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
14 <link type=
"text/css" rel=
"stylesheet" href=
"styles/prettify-tomorrow.css">
15 <link type=
"text/css" rel=
"stylesheet" href=
"styles/bootstrap.min.css">
16 <link type=
"text/css" rel=
"stylesheet" href=
"styles/jaguar.css">
20 var config = {
"monospaceLinks":true,
"cleverLinks":true,
"default":{
"outputSourceFiles":true}};
27 <div id=
"wrap" class=
"clearfix">
29 <div class=
"navigation">
30 <h3 class=
"applicationName"><a href=
"index.html"></a></h3>
33 <input id=
"search" type=
"text" class=
"form-control input-sm" placeholder=
"Search Documentations">
37 <li class=
"item" data-name=
"LuCI">
39 <a href=
"LuCI.html">LuCI
</a>
42 <ul class=
"members itemMembers">
44 <span class=
"subtitle">Members
</span>
46 <li data-name=
"LuCI#env"><a href=
"LuCI.html#env">env
</a></li>
49 <ul class=
"typedefs itemMembers">
51 <span class=
"subtitle">Typedefs
</span>
53 <li data-name=
"LuCI.requestCallbackFn"><a href=
"LuCI.html#.requestCallbackFn">requestCallbackFn
</a></li>
56 <ul class=
"typedefs itemMembers">
59 <ul class=
"methods itemMembers">
61 <span class=
"subtitle">Methods
</span>
63 <li data-name=
"LuCI#bind"><a href=
"LuCI.html#bind">bind
</a></li>
65 <li data-name=
"LuCI#error"><a href=
"LuCI.html#error">error
</a></li>
67 <li data-name=
"LuCI#get"><a href=
"LuCI.html#get">get
</a></li>
69 <li data-name=
"LuCI#halt"><a href=
"LuCI.html#halt">halt
</a></li>
71 <li data-name=
"LuCI#hasSystemFeature"><a href=
"LuCI.html#hasSystemFeature">hasSystemFeature
</a></li>
73 <li data-name=
"LuCI#isObject"><a href=
"LuCI.html#isObject">isObject
</a></li>
75 <li data-name=
"LuCI#location"><a href=
"LuCI.html#location">location
</a></li>
77 <li data-name=
"LuCI#media"><a href=
"LuCI.html#media">media
</a></li>
79 <li data-name=
"LuCI#path"><a href=
"LuCI.html#path">path
</a></li>
81 <li data-name=
"LuCI#poll"><a href=
"LuCI.html#poll">poll
</a></li>
83 <li data-name=
"LuCI#post"><a href=
"LuCI.html#post">post
</a></li>
85 <li data-name=
"LuCI#raise"><a href=
"LuCI.html#raise">raise
</a></li>
87 <li data-name=
"LuCI#require"><a href=
"LuCI.html#require">require
</a></li>
89 <li data-name=
"LuCI#resolveDefault"><a href=
"LuCI.html#resolveDefault">resolveDefault
</a></li>
91 <li data-name=
"LuCI#resource"><a href=
"LuCI.html#resource">resource
</a></li>
93 <li data-name=
"LuCI#run"><a href=
"LuCI.html#run">run
</a></li>
95 <li data-name=
"LuCI#sortedKeys"><a href=
"LuCI.html#sortedKeys">sortedKeys
</a></li>
97 <li data-name=
"LuCI#stop"><a href=
"LuCI.html#stop">stop
</a></li>
99 <li data-name=
"LuCI#toArray"><a href=
"LuCI.html#toArray">toArray
</a></li>
101 <li data-name=
"LuCI#url"><a href=
"LuCI.html#url">url
</a></li>
104 <ul class=
"events itemMembers">
109 <li class=
"item" data-name=
"LuCI.Class">
111 <a href=
"LuCI.Class.html">LuCI.Class
</a>
114 <ul class=
"members itemMembers">
117 <ul class=
"typedefs itemMembers">
120 <ul class=
"typedefs itemMembers">
123 <ul class=
"methods itemMembers">
125 <span class=
"subtitle">Methods
</span>
127 <li data-name=
"LuCI.Class.extend"><a href=
"LuCI.Class.html#.extend">extend
</a></li>
129 <li data-name=
"LuCI.Class.instantiate"><a href=
"LuCI.Class.html#.instantiate">instantiate
</a></li>
131 <li data-name=
"LuCI.Class.isSubclass"><a href=
"LuCI.Class.html#.isSubclass">isSubclass
</a></li>
133 <li data-name=
"LuCI.Class.singleton"><a href=
"LuCI.Class.html#.singleton">singleton
</a></li>
135 <li data-name=
"LuCI.Class#super"><a href=
"LuCI.Class.html#super">super
</a></li>
137 <li data-name=
"LuCI.Class#varargs"><a href=
"LuCI.Class.html#varargs">varargs
</a></li>
140 <ul class=
"events itemMembers">
145 <li class=
"item" data-name=
"LuCI.dom">
147 <a href=
"LuCI.dom.html">LuCI.dom
</a>
150 <ul class=
"members itemMembers">
153 <ul class=
"typedefs itemMembers">
155 <span class=
"subtitle">Typedefs
</span>
157 <li data-name=
"LuCI.dom~ignoreCallbackFn"><a href=
"LuCI.dom.html#~ignoreCallbackFn">ignoreCallbackFn
</a></li>
160 <ul class=
"typedefs itemMembers">
163 <ul class=
"methods itemMembers">
165 <span class=
"subtitle">Methods
</span>
167 <li data-name=
"LuCI.dom#append"><a href=
"LuCI.dom.html#append">append
</a></li>
169 <li data-name=
"LuCI.dom#attr"><a href=
"LuCI.dom.html#attr">attr
</a></li>
171 <li data-name=
"LuCI.dom#bindClassInstance"><a href=
"LuCI.dom.html#bindClassInstance">bindClassInstance
</a></li>
173 <li data-name=
"LuCI.dom#callClassMethod"><a href=
"LuCI.dom.html#callClassMethod">callClassMethod
</a></li>
175 <li data-name=
"LuCI.dom#content"><a href=
"LuCI.dom.html#content">content
</a></li>
177 <li data-name=
"LuCI.dom#create"><a href=
"LuCI.dom.html#create">create
</a></li>
179 <li data-name=
"LuCI.dom#data"><a href=
"LuCI.dom.html#data">data
</a></li>
181 <li data-name=
"LuCI.dom#elem"><a href=
"LuCI.dom.html#elem">elem
</a></li>
183 <li data-name=
"LuCI.dom#findClassInstance"><a href=
"LuCI.dom.html#findClassInstance">findClassInstance
</a></li>
185 <li data-name=
"LuCI.dom#isEmpty"><a href=
"LuCI.dom.html#isEmpty">isEmpty
</a></li>
187 <li data-name=
"LuCI.dom#matches"><a href=
"LuCI.dom.html#matches">matches
</a></li>
189 <li data-name=
"LuCI.dom#parent"><a href=
"LuCI.dom.html#parent">parent
</a></li>
191 <li data-name=
"LuCI.dom#parse"><a href=
"LuCI.dom.html#parse">parse
</a></li>
194 <ul class=
"events itemMembers">
199 <li class=
"item" data-name=
"LuCI.fs">
201 <a href=
"LuCI.fs.html">LuCI.fs
</a>
204 <ul class=
"members itemMembers">
207 <ul class=
"typedefs itemMembers">
209 <span class=
"subtitle">Typedefs
</span>
211 <li data-name=
"LuCI.fs.FileExecResult"><a href=
"LuCI.fs.html#.FileExecResult">FileExecResult
</a></li>
213 <li data-name=
"LuCI.fs.FileStatEntry"><a href=
"LuCI.fs.html#.FileStatEntry">FileStatEntry
</a></li>
216 <ul class=
"typedefs itemMembers">
219 <ul class=
"methods itemMembers">
221 <span class=
"subtitle">Methods
</span>
223 <li data-name=
"LuCI.fs#exec"><a href=
"LuCI.fs.html#exec">exec
</a></li>
225 <li data-name=
"LuCI.fs#exec_direct"><a href=
"LuCI.fs.html#exec_direct">exec_direct
</a></li>
227 <li data-name=
"LuCI.fs#lines"><a href=
"LuCI.fs.html#lines">lines
</a></li>
229 <li data-name=
"LuCI.fs#list"><a href=
"LuCI.fs.html#list">list
</a></li>
231 <li data-name=
"LuCI.fs#read"><a href=
"LuCI.fs.html#read">read
</a></li>
233 <li data-name=
"LuCI.fs#read_direct"><a href=
"LuCI.fs.html#read_direct">read_direct
</a></li>
235 <li data-name=
"LuCI.fs#remove"><a href=
"LuCI.fs.html#remove">remove
</a></li>
237 <li data-name=
"LuCI.fs#stat"><a href=
"LuCI.fs.html#stat">stat
</a></li>
239 <li data-name=
"LuCI.fs#trimmed"><a href=
"LuCI.fs.html#trimmed">trimmed
</a></li>
241 <li data-name=
"LuCI.fs#write"><a href=
"LuCI.fs.html#write">write
</a></li>
244 <ul class=
"events itemMembers">
249 <li class=
"item" data-name=
"LuCI.Headers">
251 <a href=
"LuCI.Headers.html">LuCI.Headers
</a>
254 <ul class=
"members itemMembers">
257 <ul class=
"typedefs itemMembers">
260 <ul class=
"typedefs itemMembers">
263 <ul class=
"methods itemMembers">
265 <span class=
"subtitle">Methods
</span>
267 <li data-name=
"LuCI.Headers#get"><a href=
"LuCI.Headers.html#get">get
</a></li>
269 <li data-name=
"LuCI.Headers#has"><a href=
"LuCI.Headers.html#has">has
</a></li>
272 <ul class=
"events itemMembers">
277 <li class=
"item" data-name=
"LuCI.Network">
279 <a href=
"LuCI.Network.html">LuCI.Network
</a>
282 <ul class=
"members itemMembers">
285 <ul class=
"typedefs itemMembers">
287 <span class=
"subtitle">Typedefs
</span>
289 <li data-name=
"LuCI.Network.SwitchTopology"><a href=
"LuCI.Network.html#.SwitchTopology">SwitchTopology
</a></li>
291 <li data-name=
"LuCI.Network.WifiEncryption"><a href=
"LuCI.Network.html#.WifiEncryption">WifiEncryption
</a></li>
293 <li data-name=
"LuCI.Network.WifiPeerEntry"><a href=
"LuCI.Network.html#.WifiPeerEntry">WifiPeerEntry
</a></li>
295 <li data-name=
"LuCI.Network.WifiRateEntry"><a href=
"LuCI.Network.html#.WifiRateEntry">WifiRateEntry
</a></li>
297 <li data-name=
"LuCI.Network.WifiScanResult"><a href=
"LuCI.Network.html#.WifiScanResult">WifiScanResult
</a></li>
300 <ul class=
"typedefs itemMembers">
303 <ul class=
"methods itemMembers">
305 <span class=
"subtitle">Methods
</span>
307 <li data-name=
"LuCI.Network#addNetwork"><a href=
"LuCI.Network.html#addNetwork">addNetwork
</a></li>
309 <li data-name=
"LuCI.Network#addWifiNetwork"><a href=
"LuCI.Network.html#addWifiNetwork">addWifiNetwork
</a></li>
311 <li data-name=
"LuCI.Network#deleteNetwork"><a href=
"LuCI.Network.html#deleteNetwork">deleteNetwork
</a></li>
313 <li data-name=
"LuCI.Network#deleteWifiNetwork"><a href=
"LuCI.Network.html#deleteWifiNetwork">deleteWifiNetwork
</a></li>
315 <li data-name=
"LuCI.Network#flushCache"><a href=
"LuCI.Network.html#flushCache">flushCache
</a></li>
317 <li data-name=
"LuCI.Network#formatWifiEncryption"><a href=
"LuCI.Network.html#formatWifiEncryption">formatWifiEncryption
</a></li>
319 <li data-name=
"LuCI.Network#getDevice"><a href=
"LuCI.Network.html#getDevice">getDevice
</a></li>
321 <li data-name=
"LuCI.Network#getDevices"><a href=
"LuCI.Network.html#getDevices">getDevices
</a></li>
323 <li data-name=
"LuCI.Network#getDSLModemType"><a href=
"LuCI.Network.html#getDSLModemType">getDSLModemType
</a></li>
325 <li data-name=
"LuCI.Network#getHostHints"><a href=
"LuCI.Network.html#getHostHints">getHostHints
</a></li>
327 <li data-name=
"LuCI.Network#getIfnameOf"><a href=
"LuCI.Network.html#getIfnameOf">getIfnameOf
</a></li>
329 <li data-name=
"LuCI.Network#getNetwork"><a href=
"LuCI.Network.html#getNetwork">getNetwork
</a></li>
331 <li data-name=
"LuCI.Network#getNetworks"><a href=
"LuCI.Network.html#getNetworks">getNetworks
</a></li>
333 <li data-name=
"LuCI.Network#getProtocol"><a href=
"LuCI.Network.html#getProtocol">getProtocol
</a></li>
335 <li data-name=
"LuCI.Network#getProtocols"><a href=
"LuCI.Network.html#getProtocols">getProtocols
</a></li>
337 <li data-name=
"LuCI.Network#getSwitchTopologies"><a href=
"LuCI.Network.html#getSwitchTopologies">getSwitchTopologies
</a></li>
339 <li data-name=
"LuCI.Network#getWAN6Networks"><a href=
"LuCI.Network.html#getWAN6Networks">getWAN6Networks
</a></li>
341 <li data-name=
"LuCI.Network#getWANNetworks"><a href=
"LuCI.Network.html#getWANNetworks">getWANNetworks
</a></li>
343 <li data-name=
"LuCI.Network#getWifiDevice"><a href=
"LuCI.Network.html#getWifiDevice">getWifiDevice
</a></li>
345 <li data-name=
"LuCI.Network#getWifiDevices"><a href=
"LuCI.Network.html#getWifiDevices">getWifiDevices
</a></li>
347 <li data-name=
"LuCI.Network#getWifiNetwork"><a href=
"LuCI.Network.html#getWifiNetwork">getWifiNetwork
</a></li>
349 <li data-name=
"LuCI.Network#getWifiNetworks"><a href=
"LuCI.Network.html#getWifiNetworks">getWifiNetworks
</a></li>
351 <li data-name=
"LuCI.Network#isIgnoredDevice"><a href=
"LuCI.Network.html#isIgnoredDevice">isIgnoredDevice
</a></li>
353 <li data-name=
"LuCI.Network#maskToPrefix"><a href=
"LuCI.Network.html#maskToPrefix">maskToPrefix
</a></li>
355 <li data-name=
"LuCI.Network#prefixToMask"><a href=
"LuCI.Network.html#prefixToMask">prefixToMask
</a></li>
357 <li data-name=
"LuCI.Network#registerErrorCode"><a href=
"LuCI.Network.html#registerErrorCode">registerErrorCode
</a></li>
359 <li data-name=
"LuCI.Network#registerPatternVirtual"><a href=
"LuCI.Network.html#registerPatternVirtual">registerPatternVirtual
</a></li>
361 <li data-name=
"LuCI.Network#registerProtocol"><a href=
"LuCI.Network.html#registerProtocol">registerProtocol
</a></li>
363 <li data-name=
"LuCI.Network#renameNetwork"><a href=
"LuCI.Network.html#renameNetwork">renameNetwork
</a></li>
366 <ul class=
"events itemMembers">
371 <li class=
"item" data-name=
"LuCI.Network.Device">
373 <a href=
"LuCI.Network.Device.html">LuCI.Network.Device
</a>
376 <ul class=
"members itemMembers">
379 <ul class=
"typedefs itemMembers">
382 <ul class=
"typedefs itemMembers">
385 <ul class=
"methods itemMembers">
387 <span class=
"subtitle">Methods
</span>
389 <li data-name=
"LuCI.Network.Device#getBridgeID"><a href=
"LuCI.Network.Device.html#getBridgeID">getBridgeID
</a></li>
391 <li data-name=
"LuCI.Network.Device#getBridgeSTP"><a href=
"LuCI.Network.Device.html#getBridgeSTP">getBridgeSTP
</a></li>
393 <li data-name=
"LuCI.Network.Device#getI18n"><a href=
"LuCI.Network.Device.html#getI18n">getI18n
</a></li>
395 <li data-name=
"LuCI.Network.Device#getIP6Addrs"><a href=
"LuCI.Network.Device.html#getIP6Addrs">getIP6Addrs
</a></li>
397 <li data-name=
"LuCI.Network.Device#getIPAddrs"><a href=
"LuCI.Network.Device.html#getIPAddrs">getIPAddrs
</a></li>
399 <li data-name=
"LuCI.Network.Device#getMAC"><a href=
"LuCI.Network.Device.html#getMAC">getMAC
</a></li>
401 <li data-name=
"LuCI.Network.Device#getMTU"><a href=
"LuCI.Network.Device.html#getMTU">getMTU
</a></li>
403 <li data-name=
"LuCI.Network.Device#getName"><a href=
"LuCI.Network.Device.html#getName">getName
</a></li>
405 <li data-name=
"LuCI.Network.Device#getNetwork"><a href=
"LuCI.Network.Device.html#getNetwork">getNetwork
</a></li>
407 <li data-name=
"LuCI.Network.Device#getNetworks"><a href=
"LuCI.Network.Device.html#getNetworks">getNetworks
</a></li>
409 <li data-name=
"LuCI.Network.Device#getPorts"><a href=
"LuCI.Network.Device.html#getPorts">getPorts
</a></li>
411 <li data-name=
"LuCI.Network.Device#getRXBytes"><a href=
"LuCI.Network.Device.html#getRXBytes">getRXBytes
</a></li>
413 <li data-name=
"LuCI.Network.Device#getRXPackets"><a href=
"LuCI.Network.Device.html#getRXPackets">getRXPackets
</a></li>
415 <li data-name=
"LuCI.Network.Device#getShortName"><a href=
"LuCI.Network.Device.html#getShortName">getShortName
</a></li>
417 <li data-name=
"LuCI.Network.Device#getTXBytes"><a href=
"LuCI.Network.Device.html#getTXBytes">getTXBytes
</a></li>
419 <li data-name=
"LuCI.Network.Device#getTXPackets"><a href=
"LuCI.Network.Device.html#getTXPackets">getTXPackets
</a></li>
421 <li data-name=
"LuCI.Network.Device#getType"><a href=
"LuCI.Network.Device.html#getType">getType
</a></li>
423 <li data-name=
"LuCI.Network.Device#getTypeI18n"><a href=
"LuCI.Network.Device.html#getTypeI18n">getTypeI18n
</a></li>
425 <li data-name=
"LuCI.Network.Device#getWifiNetwork"><a href=
"LuCI.Network.Device.html#getWifiNetwork">getWifiNetwork
</a></li>
427 <li data-name=
"LuCI.Network.Device#isBridge"><a href=
"LuCI.Network.Device.html#isBridge">isBridge
</a></li>
429 <li data-name=
"LuCI.Network.Device#isBridgePort"><a href=
"LuCI.Network.Device.html#isBridgePort">isBridgePort
</a></li>
431 <li data-name=
"LuCI.Network.Device#isUp"><a href=
"LuCI.Network.Device.html#isUp">isUp
</a></li>
434 <ul class=
"events itemMembers">
439 <li class=
"item" data-name=
"LuCI.Network.Hosts">
441 <a href=
"LuCI.Network.Hosts.html">LuCI.Network.Hosts
</a>
444 <ul class=
"members itemMembers">
447 <ul class=
"typedefs itemMembers">
450 <ul class=
"typedefs itemMembers">
453 <ul class=
"methods itemMembers">
455 <span class=
"subtitle">Methods
</span>
457 <li data-name=
"LuCI.Network.Hosts#getHostnameByIP6Addr"><a href=
"LuCI.Network.Hosts.html#getHostnameByIP6Addr">getHostnameByIP6Addr
</a></li>
459 <li data-name=
"LuCI.Network.Hosts#getHostnameByIPAddr"><a href=
"LuCI.Network.Hosts.html#getHostnameByIPAddr">getHostnameByIPAddr
</a></li>
461 <li data-name=
"LuCI.Network.Hosts#getHostnameByMACAddr"><a href=
"LuCI.Network.Hosts.html#getHostnameByMACAddr">getHostnameByMACAddr
</a></li>
463 <li data-name=
"LuCI.Network.Hosts#getIP6AddrByMACAddr"><a href=
"LuCI.Network.Hosts.html#getIP6AddrByMACAddr">getIP6AddrByMACAddr
</a></li>
465 <li data-name=
"LuCI.Network.Hosts#getIPAddrByMACAddr"><a href=
"LuCI.Network.Hosts.html#getIPAddrByMACAddr">getIPAddrByMACAddr
</a></li>
467 <li data-name=
"LuCI.Network.Hosts#getMACAddrByIP6Addr"><a href=
"LuCI.Network.Hosts.html#getMACAddrByIP6Addr">getMACAddrByIP6Addr
</a></li>
469 <li data-name=
"LuCI.Network.Hosts#getMACAddrByIPAddr"><a href=
"LuCI.Network.Hosts.html#getMACAddrByIPAddr">getMACAddrByIPAddr
</a></li>
471 <li data-name=
"LuCI.Network.Hosts#getMACHints"><a href=
"LuCI.Network.Hosts.html#getMACHints">getMACHints
</a></li>
474 <ul class=
"events itemMembers">
479 <li class=
"item" data-name=
"LuCI.Network.Protocol">
481 <a href=
"LuCI.Network.Protocol.html">LuCI.Network.Protocol
</a>
484 <ul class=
"members itemMembers">
487 <ul class=
"typedefs itemMembers">
490 <ul class=
"typedefs itemMembers">
493 <ul class=
"methods itemMembers">
495 <span class=
"subtitle">Methods
</span>
497 <li data-name=
"LuCI.Network.Protocol#addDevice"><a href=
"LuCI.Network.Protocol.html#addDevice">addDevice
</a></li>
499 <li data-name=
"LuCI.Network.Protocol#containsDevice"><a href=
"LuCI.Network.Protocol.html#containsDevice">containsDevice
</a></li>
501 <li data-name=
"LuCI.Network.Protocol#deleteDevice"><a href=
"LuCI.Network.Protocol.html#deleteDevice">deleteDevice
</a></li>
503 <li data-name=
"LuCI.Network.Protocol#get"><a href=
"LuCI.Network.Protocol.html#get">get
</a></li>
505 <li data-name=
"LuCI.Network.Protocol#getDevice"><a href=
"LuCI.Network.Protocol.html#getDevice">getDevice
</a></li>
507 <li data-name=
"LuCI.Network.Protocol#getDevices"><a href=
"LuCI.Network.Protocol.html#getDevices">getDevices
</a></li>
509 <li data-name=
"LuCI.Network.Protocol#getDNS6Addrs"><a href=
"LuCI.Network.Protocol.html#getDNS6Addrs">getDNS6Addrs
</a></li>
511 <li data-name=
"LuCI.Network.Protocol#getDNSAddrs"><a href=
"LuCI.Network.Protocol.html#getDNSAddrs">getDNSAddrs
</a></li>
513 <li data-name=
"LuCI.Network.Protocol#getErrors"><a href=
"LuCI.Network.Protocol.html#getErrors">getErrors
</a></li>
515 <li data-name=
"LuCI.Network.Protocol#getExpiry"><a href=
"LuCI.Network.Protocol.html#getExpiry">getExpiry
</a></li>
517 <li data-name=
"LuCI.Network.Protocol#getGateway6Addr"><a href=
"LuCI.Network.Protocol.html#getGateway6Addr">getGateway6Addr
</a></li>
519 <li data-name=
"LuCI.Network.Protocol#getGatewayAddr"><a href=
"LuCI.Network.Protocol.html#getGatewayAddr">getGatewayAddr
</a></li>
521 <li data-name=
"LuCI.Network.Protocol#getI18n"><a href=
"LuCI.Network.Protocol.html#getI18n">getI18n
</a></li>
523 <li data-name=
"LuCI.Network.Protocol#getIfname"><a href=
"LuCI.Network.Protocol.html#getIfname">getIfname
</a></li>
525 <li data-name=
"LuCI.Network.Protocol#getIP6Addr"><a href=
"LuCI.Network.Protocol.html#getIP6Addr">getIP6Addr
</a></li>
527 <li data-name=
"LuCI.Network.Protocol#getIP6Addrs"><a href=
"LuCI.Network.Protocol.html#getIP6Addrs">getIP6Addrs
</a></li>
529 <li data-name=
"LuCI.Network.Protocol#getIP6Prefix"><a href=
"LuCI.Network.Protocol.html#getIP6Prefix">getIP6Prefix
</a></li>
531 <li data-name=
"LuCI.Network.Protocol#getIPAddr"><a href=
"LuCI.Network.Protocol.html#getIPAddr">getIPAddr
</a></li>
533 <li data-name=
"LuCI.Network.Protocol#getIPAddrs"><a href=
"LuCI.Network.Protocol.html#getIPAddrs">getIPAddrs
</a></li>
535 <li data-name=
"LuCI.Network.Protocol#getL2Device"><a href=
"LuCI.Network.Protocol.html#getL2Device">getL2Device
</a></li>
537 <li data-name=
"LuCI.Network.Protocol#getL3Device"><a href=
"LuCI.Network.Protocol.html#getL3Device">getL3Device
</a></li>
539 <li data-name=
"LuCI.Network.Protocol#getMetric"><a href=
"LuCI.Network.Protocol.html#getMetric">getMetric
</a></li>
541 <li data-name=
"LuCI.Network.Protocol#getName"><a href=
"LuCI.Network.Protocol.html#getName">getName
</a></li>
543 <li data-name=
"LuCI.Network.Protocol#getNetmask"><a href=
"LuCI.Network.Protocol.html#getNetmask">getNetmask
</a></li>
545 <li data-name=
"LuCI.Network.Protocol#getOpkgPackage"><a href=
"LuCI.Network.Protocol.html#getOpkgPackage">getOpkgPackage
</a></li>
547 <li data-name=
"LuCI.Network.Protocol#getProtocol"><a href=
"LuCI.Network.Protocol.html#getProtocol">getProtocol
</a></li>
549 <li data-name=
"LuCI.Network.Protocol#getType"><a href=
"LuCI.Network.Protocol.html#getType">getType
</a></li>
551 <li data-name=
"LuCI.Network.Protocol#getUptime"><a href=
"LuCI.Network.Protocol.html#getUptime">getUptime
</a></li>
553 <li data-name=
"LuCI.Network.Protocol#getZoneName"><a href=
"LuCI.Network.Protocol.html#getZoneName">getZoneName
</a></li>
555 <li data-name=
"LuCI.Network.Protocol#isAlias"><a href=
"LuCI.Network.Protocol.html#isAlias">isAlias
</a></li>
557 <li data-name=
"LuCI.Network.Protocol#isBridge"><a href=
"LuCI.Network.Protocol.html#isBridge">isBridge
</a></li>
559 <li data-name=
"LuCI.Network.Protocol#isDynamic"><a href=
"LuCI.Network.Protocol.html#isDynamic">isDynamic
</a></li>
561 <li data-name=
"LuCI.Network.Protocol#isEmpty"><a href=
"LuCI.Network.Protocol.html#isEmpty">isEmpty
</a></li>
563 <li data-name=
"LuCI.Network.Protocol#isFloating"><a href=
"LuCI.Network.Protocol.html#isFloating">isFloating
</a></li>
565 <li data-name=
"LuCI.Network.Protocol#isInstalled"><a href=
"LuCI.Network.Protocol.html#isInstalled">isInstalled
</a></li>
567 <li data-name=
"LuCI.Network.Protocol#isUp"><a href=
"LuCI.Network.Protocol.html#isUp">isUp
</a></li>
569 <li data-name=
"LuCI.Network.Protocol#isVirtual"><a href=
"LuCI.Network.Protocol.html#isVirtual">isVirtual
</a></li>
571 <li data-name=
"LuCI.Network.Protocol#set"><a href=
"LuCI.Network.Protocol.html#set">set
</a></li>
574 <ul class=
"events itemMembers">
579 <li class=
"item" data-name=
"LuCI.Network.WifiDevice">
581 <a href=
"LuCI.Network.WifiDevice.html">LuCI.Network.WifiDevice
</a>
584 <ul class=
"members itemMembers">
587 <ul class=
"typedefs itemMembers">
590 <ul class=
"typedefs itemMembers">
593 <ul class=
"methods itemMembers">
595 <span class=
"subtitle">Methods
</span>
597 <li data-name=
"LuCI.Network.WifiDevice#addWifiNetwork"><a href=
"LuCI.Network.WifiDevice.html#addWifiNetwork">addWifiNetwork
</a></li>
599 <li data-name=
"LuCI.Network.WifiDevice#deleteWifiNetwork"><a href=
"LuCI.Network.WifiDevice.html#deleteWifiNetwork">deleteWifiNetwork
</a></li>
601 <li data-name=
"LuCI.Network.WifiDevice#get"><a href=
"LuCI.Network.WifiDevice.html#get">get
</a></li>
603 <li data-name=
"LuCI.Network.WifiDevice#getHTModes"><a href=
"LuCI.Network.WifiDevice.html#getHTModes">getHTModes
</a></li>
605 <li data-name=
"LuCI.Network.WifiDevice#getHWModes"><a href=
"LuCI.Network.WifiDevice.html#getHWModes">getHWModes
</a></li>
607 <li data-name=
"LuCI.Network.WifiDevice#getI18n"><a href=
"LuCI.Network.WifiDevice.html#getI18n">getI18n
</a></li>
609 <li data-name=
"LuCI.Network.WifiDevice#getName"><a href=
"LuCI.Network.WifiDevice.html#getName">getName
</a></li>
611 <li data-name=
"LuCI.Network.WifiDevice#getScanList"><a href=
"LuCI.Network.WifiDevice.html#getScanList">getScanList
</a></li>
613 <li data-name=
"LuCI.Network.WifiDevice#getWifiNetwork"><a href=
"LuCI.Network.WifiDevice.html#getWifiNetwork">getWifiNetwork
</a></li>
615 <li data-name=
"LuCI.Network.WifiDevice#getWifiNetworks"><a href=
"LuCI.Network.WifiDevice.html#getWifiNetworks">getWifiNetworks
</a></li>
617 <li data-name=
"LuCI.Network.WifiDevice#isDisabled"><a href=
"LuCI.Network.WifiDevice.html#isDisabled">isDisabled
</a></li>
619 <li data-name=
"LuCI.Network.WifiDevice#isUp"><a href=
"LuCI.Network.WifiDevice.html#isUp">isUp
</a></li>
621 <li data-name=
"LuCI.Network.WifiDevice#set"><a href=
"LuCI.Network.WifiDevice.html#set">set
</a></li>
624 <ul class=
"events itemMembers">
629 <li class=
"item" data-name=
"LuCI.Network.WifiNetwork">
631 <a href=
"LuCI.Network.WifiNetwork.html">LuCI.Network.WifiNetwork
</a>
634 <ul class=
"members itemMembers">
637 <ul class=
"typedefs itemMembers">
640 <ul class=
"typedefs itemMembers">
643 <ul class=
"methods itemMembers">
645 <span class=
"subtitle">Methods
</span>
647 <li data-name=
"LuCI.Network.WifiNetwork#disconnectClient"><a href=
"LuCI.Network.WifiNetwork.html#disconnectClient">disconnectClient
</a></li>
649 <li data-name=
"LuCI.Network.WifiNetwork#get"><a href=
"LuCI.Network.WifiNetwork.html#get">get
</a></li>
651 <li data-name=
"LuCI.Network.WifiNetwork#getActiveBSSID"><a href=
"LuCI.Network.WifiNetwork.html#getActiveBSSID">getActiveBSSID
</a></li>
653 <li data-name=
"LuCI.Network.WifiNetwork#getActiveEncryption"><a href=
"LuCI.Network.WifiNetwork.html#getActiveEncryption">getActiveEncryption
</a></li>
655 <li data-name=
"LuCI.Network.WifiNetwork#getActiveMode"><a href=
"LuCI.Network.WifiNetwork.html#getActiveMode">getActiveMode
</a></li>
657 <li data-name=
"LuCI.Network.WifiNetwork#getActiveModeI18n"><a href=
"LuCI.Network.WifiNetwork.html#getActiveModeI18n">getActiveModeI18n
</a></li>
659 <li data-name=
"LuCI.Network.WifiNetwork#getActiveSSID"><a href=
"LuCI.Network.WifiNetwork.html#getActiveSSID">getActiveSSID
</a></li>
661 <li data-name=
"LuCI.Network.WifiNetwork#getAssocList"><a href=
"LuCI.Network.WifiNetwork.html#getAssocList">getAssocList
</a></li>
663 <li data-name=
"LuCI.Network.WifiNetwork#getBitRate"><a href=
"LuCI.Network.WifiNetwork.html#getBitRate">getBitRate
</a></li>
665 <li data-name=
"LuCI.Network.WifiNetwork#getBSSID"><a href=
"LuCI.Network.WifiNetwork.html#getBSSID">getBSSID
</a></li>
667 <li data-name=
"LuCI.Network.WifiNetwork#getChannel"><a href=
"LuCI.Network.WifiNetwork.html#getChannel">getChannel
</a></li>
669 <li data-name=
"LuCI.Network.WifiNetwork#getCountryCode"><a href=
"LuCI.Network.WifiNetwork.html#getCountryCode">getCountryCode
</a></li>
671 <li data-name=
"LuCI.Network.WifiNetwork#getDevice"><a href=
"LuCI.Network.WifiNetwork.html#getDevice">getDevice
</a></li>
673 <li data-name=
"LuCI.Network.WifiNetwork#getFrequency"><a href=
"LuCI.Network.WifiNetwork.html#getFrequency">getFrequency
</a></li>
675 <li data-name=
"LuCI.Network.WifiNetwork#getI18n"><a href=
"LuCI.Network.WifiNetwork.html#getI18n">getI18n
</a></li>
677 <li data-name=
"LuCI.Network.WifiNetwork#getID"><a href=
"LuCI.Network.WifiNetwork.html#getID">getID
</a></li>
679 <li data-name=
"LuCI.Network.WifiNetwork#getIfname"><a href=
"LuCI.Network.WifiNetwork.html#getIfname">getIfname
</a></li>
681 <li data-name=
"LuCI.Network.WifiNetwork#getMeshID"><a href=
"LuCI.Network.WifiNetwork.html#getMeshID">getMeshID
</a></li>
683 <li data-name=
"LuCI.Network.WifiNetwork#getMode"><a href=
"LuCI.Network.WifiNetwork.html#getMode">getMode
</a></li>
685 <li data-name=
"LuCI.Network.WifiNetwork#getName"><a href=
"LuCI.Network.WifiNetwork.html#getName">getName
</a></li>
687 <li data-name=
"LuCI.Network.WifiNetwork#getNetwork"><a href=
"LuCI.Network.WifiNetwork.html#getNetwork">getNetwork
</a></li>
689 <li data-name=
"LuCI.Network.WifiNetwork#getNetworkNames"><a href=
"LuCI.Network.WifiNetwork.html#getNetworkNames">getNetworkNames
</a></li>
691 <li data-name=
"LuCI.Network.WifiNetwork#getNetworks"><a href=
"LuCI.Network.WifiNetwork.html#getNetworks">getNetworks
</a></li>
693 <li data-name=
"LuCI.Network.WifiNetwork#getNoise"><a href=
"LuCI.Network.WifiNetwork.html#getNoise">getNoise
</a></li>
695 <li data-name=
"LuCI.Network.WifiNetwork#getShortName"><a href=
"LuCI.Network.WifiNetwork.html#getShortName">getShortName
</a></li>
697 <li data-name=
"LuCI.Network.WifiNetwork#getSignal"><a href=
"LuCI.Network.WifiNetwork.html#getSignal">getSignal
</a></li>
699 <li data-name=
"LuCI.Network.WifiNetwork#getSignalLevel"><a href=
"LuCI.Network.WifiNetwork.html#getSignalLevel">getSignalLevel
</a></li>
701 <li data-name=
"LuCI.Network.WifiNetwork#getSignalPercent"><a href=
"LuCI.Network.WifiNetwork.html#getSignalPercent">getSignalPercent
</a></li>
703 <li data-name=
"LuCI.Network.WifiNetwork#getSSID"><a href=
"LuCI.Network.WifiNetwork.html#getSSID">getSSID
</a></li>
705 <li data-name=
"LuCI.Network.WifiNetwork#getTXPower"><a href=
"LuCI.Network.WifiNetwork.html#getTXPower">getTXPower
</a></li>
707 <li data-name=
"LuCI.Network.WifiNetwork#getTXPowerOffset"><a href=
"LuCI.Network.WifiNetwork.html#getTXPowerOffset">getTXPowerOffset
</a></li>
709 <li data-name=
"LuCI.Network.WifiNetwork#getWifiDevice"><a href=
"LuCI.Network.WifiNetwork.html#getWifiDevice">getWifiDevice
</a></li>
711 <li data-name=
"LuCI.Network.WifiNetwork#getWifiDeviceName"><a href=
"LuCI.Network.WifiNetwork.html#getWifiDeviceName">getWifiDeviceName
</a></li>
713 <li data-name=
"LuCI.Network.WifiNetwork#isClientDisconnectSupported"><a href=
"LuCI.Network.WifiNetwork.html#isClientDisconnectSupported">isClientDisconnectSupported
</a></li>
715 <li data-name=
"LuCI.Network.WifiNetwork#isDisabled"><a href=
"LuCI.Network.WifiNetwork.html#isDisabled">isDisabled
</a></li>
717 <li data-name=
"LuCI.Network.WifiNetwork#isUp"><a href=
"LuCI.Network.WifiNetwork.html#isUp">isUp
</a></li>
719 <li data-name=
"LuCI.Network.WifiNetwork#set"><a href=
"LuCI.Network.WifiNetwork.html#set">set
</a></li>
722 <ul class=
"events itemMembers">
727 <li class=
"item" data-name=
"LuCI.Poll">
729 <a href=
"LuCI.Poll.html">LuCI.Poll
</a>
732 <ul class=
"members itemMembers">
735 <ul class=
"typedefs itemMembers">
738 <ul class=
"typedefs itemMembers">
741 <ul class=
"methods itemMembers">
743 <span class=
"subtitle">Methods
</span>
745 <li data-name=
"LuCI.Poll#active"><a href=
"LuCI.Poll.html#active">active
</a></li>
747 <li data-name=
"LuCI.Poll#add"><a href=
"LuCI.Poll.html#add">add
</a></li>
749 <li data-name=
"LuCI.Poll#remove"><a href=
"LuCI.Poll.html#remove">remove
</a></li>
751 <li data-name=
"LuCI.Poll#start"><a href=
"LuCI.Poll.html#start">start
</a></li>
753 <li data-name=
"LuCI.Poll#stop"><a href=
"LuCI.Poll.html#stop">stop
</a></li>
756 <ul class=
"events itemMembers">
761 <li class=
"item" data-name=
"LuCI.Request">
763 <a href=
"LuCI.Request.html">LuCI.Request
</a>
766 <ul class=
"members itemMembers">
769 <ul class=
"typedefs itemMembers">
771 <span class=
"subtitle">Typedefs
</span>
773 <li data-name=
"LuCI.Request.interceptorFn"><a href=
"LuCI.Request.html#.interceptorFn">interceptorFn
</a></li>
775 <li data-name=
"LuCI.Request.RequestOptions"><a href=
"LuCI.Request.html#.RequestOptions">RequestOptions
</a></li>
778 <ul class=
"typedefs itemMembers">
781 <ul class=
"methods itemMembers">
783 <span class=
"subtitle">Methods
</span>
785 <li data-name=
"LuCI.Request#addInterceptor"><a href=
"LuCI.Request.html#addInterceptor">addInterceptor
</a></li>
787 <li data-name=
"LuCI.Request#expandURL"><a href=
"LuCI.Request.html#expandURL">expandURL
</a></li>
789 <li data-name=
"LuCI.Request#get"><a href=
"LuCI.Request.html#get">get
</a></li>
791 <li data-name=
"LuCI.Request#post"><a href=
"LuCI.Request.html#post">post
</a></li>
793 <li data-name=
"LuCI.Request#removeInterceptor"><a href=
"LuCI.Request.html#removeInterceptor">removeInterceptor
</a></li>
795 <li data-name=
"LuCI.Request#request"><a href=
"LuCI.Request.html#request">request
</a></li>
798 <ul class=
"events itemMembers">
803 <li class=
"item" data-name=
"LuCI.Request.poll">
805 <a href=
"LuCI.Request.poll.html">LuCI.Request.poll
</a>
808 <ul class=
"members itemMembers">
811 <ul class=
"typedefs itemMembers">
813 <span class=
"subtitle">Typedefs
</span>
815 <li data-name=
"LuCI.Request.poll~callbackFn"><a href=
"LuCI.Request.poll.html#~callbackFn">callbackFn
</a></li>
818 <ul class=
"typedefs itemMembers">
821 <ul class=
"methods itemMembers">
823 <span class=
"subtitle">Methods
</span>
825 <li data-name=
"LuCI.Request.poll#active"><a href=
"LuCI.Request.poll.html#active">active
</a></li>
827 <li data-name=
"LuCI.Request.poll#add"><a href=
"LuCI.Request.poll.html#add">add
</a></li>
829 <li data-name=
"LuCI.Request.poll#remove"><a href=
"LuCI.Request.poll.html#remove">remove
</a></li>
831 <li data-name=
"LuCI.Request.poll#start"><a href=
"LuCI.Request.poll.html#start">start
</a></li>
833 <li data-name=
"LuCI.Request.poll#stop"><a href=
"LuCI.Request.poll.html#stop">stop
</a></li>
836 <ul class=
"events itemMembers">
841 <li class=
"item" data-name=
"LuCI.Response">
843 <a href=
"LuCI.Response.html">LuCI.Response
</a>
846 <ul class=
"members itemMembers">
848 <span class=
"subtitle">Members
</span>
850 <li data-name=
"LuCI.Response#duration"><a href=
"LuCI.Response.html#duration">duration
</a></li>
852 <li data-name=
"LuCI.Response#headers"><a href=
"LuCI.Response.html#headers">headers
</a></li>
854 <li data-name=
"LuCI.Response#ok"><a href=
"LuCI.Response.html#ok">ok
</a></li>
856 <li data-name=
"LuCI.Response#status"><a href=
"LuCI.Response.html#status">status
</a></li>
858 <li data-name=
"LuCI.Response#statusText"><a href=
"LuCI.Response.html#statusText">statusText
</a></li>
860 <li data-name=
"LuCI.Response#url"><a href=
"LuCI.Response.html#url">url
</a></li>
863 <ul class=
"typedefs itemMembers">
866 <ul class=
"typedefs itemMembers">
869 <ul class=
"methods itemMembers">
871 <span class=
"subtitle">Methods
</span>
873 <li data-name=
"LuCI.Response#blob"><a href=
"LuCI.Response.html#blob">blob
</a></li>
875 <li data-name=
"LuCI.Response#clone"><a href=
"LuCI.Response.html#clone">clone
</a></li>
877 <li data-name=
"LuCI.Response#json"><a href=
"LuCI.Response.html#json">json
</a></li>
879 <li data-name=
"LuCI.Response#text"><a href=
"LuCI.Response.html#text">text
</a></li>
882 <ul class=
"events itemMembers">
887 <li class=
"item" data-name=
"LuCI.rpc">
889 <a href=
"LuCI.rpc.html">LuCI.rpc
</a>
892 <ul class=
"members itemMembers">
895 <ul class=
"typedefs itemMembers">
897 <span class=
"subtitle">Typedefs
</span>
899 <li data-name=
"LuCI.rpc.DeclareOptions"><a href=
"LuCI.rpc.html#.DeclareOptions">DeclareOptions
</a></li>
901 <li data-name=
"LuCI.rpc~filterFn"><a href=
"LuCI.rpc.html#~filterFn">filterFn
</a></li>
903 <li data-name=
"LuCI.rpc~interceptorFn"><a href=
"LuCI.rpc.html#~interceptorFn">interceptorFn
</a></li>
905 <li data-name=
"LuCI.rpc~invokeFn"><a href=
"LuCI.rpc.html#~invokeFn">invokeFn
</a></li>
908 <ul class=
"typedefs itemMembers">
911 <ul class=
"methods itemMembers">
913 <span class=
"subtitle">Methods
</span>
915 <li data-name=
"LuCI.rpc#addInterceptor"><a href=
"LuCI.rpc.html#addInterceptor">addInterceptor
</a></li>
917 <li data-name=
"LuCI.rpc#declare"><a href=
"LuCI.rpc.html#declare">declare
</a></li>
919 <li data-name=
"LuCI.rpc#getBaseURL"><a href=
"LuCI.rpc.html#getBaseURL">getBaseURL
</a></li>
921 <li data-name=
"LuCI.rpc#getSessionID"><a href=
"LuCI.rpc.html#getSessionID">getSessionID
</a></li>
923 <li data-name=
"LuCI.rpc#getStatusText"><a href=
"LuCI.rpc.html#getStatusText">getStatusText
</a></li>
925 <li data-name=
"LuCI.rpc#list"><a href=
"LuCI.rpc.html#list">list
</a></li>
927 <li data-name=
"LuCI.rpc#removeInterceptor"><a href=
"LuCI.rpc.html#removeInterceptor">removeInterceptor
</a></li>
929 <li data-name=
"LuCI.rpc#setBaseURL"><a href=
"LuCI.rpc.html#setBaseURL">setBaseURL
</a></li>
931 <li data-name=
"LuCI.rpc#setSessionID"><a href=
"LuCI.rpc.html#setSessionID">setSessionID
</a></li>
934 <ul class=
"events itemMembers">
939 <li class=
"item" data-name=
"LuCI.uci">
941 <a href=
"LuCI.uci.html">LuCI.uci
</a>
944 <ul class=
"members itemMembers">
947 <ul class=
"typedefs itemMembers">
949 <span class=
"subtitle">Typedefs
</span>
951 <li data-name=
"LuCI.uci.ChangeRecord"><a href=
"LuCI.uci.html#.ChangeRecord">ChangeRecord
</a></li>
953 <li data-name=
"LuCI.uci.SectionObject"><a href=
"LuCI.uci.html#.SectionObject">SectionObject
</a></li>
955 <li data-name=
"LuCI.uci~sectionsFn"><a href=
"LuCI.uci.html#~sectionsFn">sectionsFn
</a></li>
958 <ul class=
"typedefs itemMembers">
961 <ul class=
"methods itemMembers">
963 <span class=
"subtitle">Methods
</span>
965 <li data-name=
"LuCI.uci#add"><a href=
"LuCI.uci.html#add">add
</a></li>
967 <li data-name=
"LuCI.uci#apply"><a href=
"LuCI.uci.html#apply">apply
</a></li>
969 <li data-name=
"LuCI.uci#changes"><a href=
"LuCI.uci.html#changes">changes
</a></li>
971 <li data-name=
"LuCI.uci#createSID"><a href=
"LuCI.uci.html#createSID">createSID
</a></li>
973 <li data-name=
"LuCI.uci#get"><a href=
"LuCI.uci.html#get">get
</a></li>
975 <li data-name=
"LuCI.uci#get_first"><a href=
"LuCI.uci.html#get_first">get_first
</a></li>
977 <li data-name=
"LuCI.uci#load"><a href=
"LuCI.uci.html#load">load
</a></li>
979 <li data-name=
"LuCI.uci#move"><a href=
"LuCI.uci.html#move">move
</a></li>
981 <li data-name=
"LuCI.uci#remove"><a href=
"LuCI.uci.html#remove">remove
</a></li>
983 <li data-name=
"LuCI.uci#resolveSID"><a href=
"LuCI.uci.html#resolveSID">resolveSID
</a></li>
985 <li data-name=
"LuCI.uci#save"><a href=
"LuCI.uci.html#save">save
</a></li>
987 <li data-name=
"LuCI.uci#sections"><a href=
"LuCI.uci.html#sections">sections
</a></li>
989 <li data-name=
"LuCI.uci#set"><a href=
"LuCI.uci.html#set">set
</a></li>
991 <li data-name=
"LuCI.uci#set_first"><a href=
"LuCI.uci.html#set_first">set_first
</a></li>
993 <li data-name=
"LuCI.uci#unload"><a href=
"LuCI.uci.html#unload">unload
</a></li>
995 <li data-name=
"LuCI.uci#unset"><a href=
"LuCI.uci.html#unset">unset
</a></li>
997 <li data-name=
"LuCI.uci#unset_first"><a href=
"LuCI.uci.html#unset_first">unset_first
</a></li>
1000 <ul class=
"events itemMembers">
1005 <li class=
"item" data-name=
"LuCI.view">
1006 <span class=
"title">
1007 <a href=
"LuCI.view.html">LuCI.view
</a>
1010 <ul class=
"members itemMembers">
1013 <ul class=
"typedefs itemMembers">
1016 <ul class=
"typedefs itemMembers">
1019 <ul class=
"methods itemMembers">
1021 <span class=
"subtitle">Methods
</span>
1023 <li data-name=
"LuCI.view#addFooter"><a href=
"LuCI.view.html#addFooter">addFooter
</a></li>
1025 <li data-name=
"LuCI.view#handleReset"><a href=
"LuCI.view.html#handleReset">handleReset
</a></li>
1027 <li data-name=
"LuCI.view#handleSave"><a href=
"LuCI.view.html#handleSave">handleSave
</a></li>
1029 <li data-name=
"LuCI.view#handleSaveApply"><a href=
"LuCI.view.html#handleSaveApply">handleSaveApply
</a></li>
1031 <li data-name=
"LuCI.view#load"><a href=
"LuCI.view.html#load">load
</a></li>
1033 <li data-name=
"LuCI.view#render"><a href=
"LuCI.view.html#render">render
</a></li>
1036 <ul class=
"events itemMembers">
1041 <li class=
"item" data-name=
"LuCI.XHR">
1042 <span class=
"title">
1043 <a href=
"LuCI.XHR.html">LuCI.XHR
</a>
1046 <ul class=
"members itemMembers">
1049 <ul class=
"typedefs itemMembers">
1052 <ul class=
"typedefs itemMembers">
1055 <ul class=
"methods itemMembers">
1057 <span class=
"subtitle">Methods
</span>
1059 <li data-name=
"LuCI.XHR#abort"><a href=
"LuCI.XHR.html#abort">abort
</a></li>
1061 <li data-name=
"LuCI.XHR#busy"><a href=
"LuCI.XHR.html#busy">busy
</a></li>
1063 <li data-name=
"LuCI.XHR#cancel"><a href=
"LuCI.XHR.html#cancel">cancel
</a></li>
1065 <li data-name=
"LuCI.XHR#get"><a href=
"LuCI.XHR.html#get">get
</a></li>
1067 <li data-name=
"LuCI.XHR#post"><a href=
"LuCI.XHR.html#post">post
</a></li>
1069 <li data-name=
"LuCI.XHR#send_form"><a href=
"LuCI.XHR.html#send_form">send_form
</a></li>
1072 <ul class=
"events itemMembers">
1080 <h1 class=
"page-title" data-filename=
"LuCI.dom.html">Class: dom
</h1>
1089 <span class=
"ancestors"><a href=
"LuCI.html">LuCI
</a>.
</span>
1094 <div class=
"class-description"><p>The
<code>dom
</code> class provides convenience method for creating and
1095 manipulating DOM elements.
</p></div>
1100 <div class=
"container-overview">
1106 <div class=
"nameContainer">
1107 <h4 class=
"name" id=
"dom">
1109 new LuCI.dom
<span class=
"signature">()
</span>
1113 <div class=
"tag-source">
1114 <a href=
"luci.js.html">luci.js
</a>,
<a href=
"luci.js.html#line2136">line
2136</a>
1132 <dl class=
"details">
1186 <h3 class=
"subsection-title">Methods
</h3>
1191 <div class=
"nameContainer">
1192 <h4 class=
"name" id=
"append">
1194 append
<span class=
"signature">(node,
<span class=
"optional">children
</span>)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Node|null}
</span>
1198 <div class=
"tag-source">
1199 <a href=
"luci.js.html">luci.js
</a>,
<a href=
"luci.js.html#line2287">line
2287</a>
1209 <div class=
"description">
1210 <p>Appends the given children data to the given node.
</p>
1221 <table class=
"params">
1232 <th class=
"last">Description
</th>
1241 <td class=
"name"><code>node
</code></td>
1247 <span class=
"param-type">*
</span>
1255 <td class=
"description last">
1262 <p>The
<code>Node
</code> argument to append the children to.
</p></td>
1269 <td class=
"name"><code>children
</code></td>
1275 <span class=
"param-type">*
</span>
1283 <td class=
"description last">
1286 <span class=
"optional">optional
</span>
1292 <p>The childrens to append to the given node.
</p>
1293 <p>When
<code>children
</code> is an array, then each item of the array
1294 will be either appended as child element or text node,
1295 depending on whether the item is a DOM
<code>Node
</code> instance or
1296 some other non-
<code>null
</code> value. Non-
<code>Node
</code>, non-
<code>null
</code> values
1297 will be converted to strings first before being passed as
1298 argument to
<code>createTextNode()
</code>.
</p>
1299 <p>When
<code>children
</code> is a function, it will be invoked with
1300 the passed
<code>node
</code> argument as sole parameter and the
<code>append
</code>
1301 function will be invoked again, with the given
<code>node
</code> argument
1302 as first and the return value of the
<code>children
</code> function as
1303 second parameter.
</p>
1304 <p>When
<code>children
</code> is is a DOM
<code>Node
</code> instance, it will be
1305 appended to the given
<code>node
</code>.
</p>
1306 <p>When
<code>children
</code> is any other non-
<code>null
</code> value, it will be
1307 converted to a string and appened to the
<code>innerHTML
</code> property
1308 of the given
<code>node
</code>.
</p></td>
1317 <dl class=
"details">
1355 <table class=
"params">
1360 <th class=
"last">Description
</th>
1376 <td class=
"description last">Returns the last children
<code>Node
</code> appended to the node or
<code>null
</code>
1377 if either the
<code>node
</code> argument was no valid DOM
<code>node
</code> or if the
1378 <code>children
</code> was
<code>null
</code> or didn't result in further DOM nodes.
</td>
1392 <div class=
"nameContainer">
1393 <h4 class=
"name" id=
"attr">
1395 attr
<span class=
"signature">(node, key,
<span class=
"optional">val
</span>)
</span>
1399 <div class=
"tag-source">
1400 <a href=
"luci.js.html">luci.js
</a>,
<a href=
"luci.js.html#line2402">line
2402</a>
1410 <div class=
"description">
1411 <p>Sets attributes or registers event listeners on element nodes.
</p>
1422 <table class=
"params">
1433 <th class=
"last">Description
</th>
1442 <td class=
"name"><code>node
</code></td>
1448 <span class=
"param-type">*
</span>
1456 <td class=
"description last">
1463 <p>The
<code>Node
</code> argument to set the attributes or add the event
1464 listeners for. When the given
<code>node
</code> value is not a valid
1465 DOM
<code>Node
</code>, the function returns and does nothing.
</p></td>
1472 <td class=
"name"><code>key
</code></td>
1478 <span class=
"param-type">string
</span>
1481 <span class=
"param-type">Object.
<string, *
></span>
1489 <td class=
"description last">
1496 <p>Specifies either the attribute or event handler name to use,
1497 or an object containing multiple key, value pairs which are
1498 each added to the node as either attribute or event handler,
1499 depending on the respective value.
</p></td>
1506 <td class=
"name"><code>val
</code></td>
1512 <span class=
"param-type">*
</span>
1520 <td class=
"description last">
1523 <span class=
"optional">optional
</span>
1529 <p>Specifies the attribute value or event handler function to add.
1530 If the
<code>key
</code> parameter is an
<code>Object
</code>, this parameter will be
1532 <p>When
<code>val
</code> is of type function, it will be registered as event
1533 handler on the given
<code>node
</code> with the
<code>key
</code> parameter being the
1535 <p>When
<code>val
</code> is of type object, it will be serialized as JSON and
1536 added as attribute to the given
<code>node
</code>, using the given
<code>key
</code>
1537 as attribute name.
</p>
1538 <p>When
<code>val
</code> is of any other type, it will be added as attribute
1539 to the given
<code>node
</code> as-is, with the underlying
<code>setAttribute()
</code>
1540 call implicitely turning it into a string.
</p></td>
1549 <dl class=
"details">
1590 <div class=
"nameContainer">
1591 <h4 class=
"name" id=
"bindClassInstance">
1593 bindClassInstance
<span class=
"signature">(node, inst)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Class}
</span>
1597 <div class=
"tag-source">
1598 <a href=
"luci.js.html">luci.js
</a>,
<a href=
"luci.js.html#line2636">line
2636</a>
1608 <div class=
"description">
1609 <p>Binds the given class instance ot the specified DOM
<code>Node
</code>.
</p>
1610 <p>This function uses the
<code>dom.data()
</code> facility to attach the
1611 passed instance of a Class to a node. This is needed for
1612 complex widget elements or similar where the corresponding
1613 class instance responsible for the element must be retrieved
1614 from DOM nodes obtained by
<code>querySelector()
</code> or similar means.
</p>
1625 <table class=
"params">
1636 <th class=
"last">Description
</th>
1645 <td class=
"name"><code>node
</code></td>
1651 <span class=
"param-type">Node
</span>
1659 <td class=
"description last">
1661 <p>The DOM
<code>Node
</code> instance to bind the class to.
</p></td>
1668 <td class=
"name"><code>inst
</code></td>
1674 <span class=
"param-type">Class
</span>
1682 <td class=
"description last">
1684 <p>The Class instance to bind to the node.
</p></td>
1693 <dl class=
"details">
1731 <div class=
"param-desc">
1732 <p>Throws a
<code>TypeError
</code> when the given instance argument isn't
1733 a valid Class instance.
</p>
1743 <span class=
"param-type">TypeError
</span>
1759 <table class=
"params">
1764 <th class=
"last">Description
</th>
1777 <td class=
"description last">Returns the bound class instance.
</td>
1791 <div class=
"nameContainer">
1792 <h4 class=
"name" id=
"callClassMethod">
1794 callClassMethod
<span class=
"signature">(node, method, params)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{*|null}
</span>
1798 <div class=
"tag-source">
1799 <a href=
"luci.js.html">luci.js
</a>,
<a href=
"luci.js.html#line2690">line
2690</a>
1809 <div class=
"description">
1810 <p>Finds a bound class instance on the given node itself or the
1811 first bound instance on its closest parent node and invokes
1812 the specified method name on the found class instance.
</p>
1823 <table class=
"params">
1834 <th class=
"last">Description
</th>
1843 <td class=
"name"><code>node
</code></td>
1849 <span class=
"param-type">Node
</span>
1857 <td class=
"description last">
1864 <p>The DOM
<code>Node
</code> instance to start from.
</p></td>
1871 <td class=
"name"><code>method
</code></td>
1877 <span class=
"param-type">string
</span>
1885 <td class=
"description last">
1892 <p>The name of the method to invoke on the found class instance.
</p></td>
1899 <td class=
"name"><code>params
</code></td>
1905 <span class=
"param-type">*
</span>
1913 <td class=
"description last">
1919 <span class=
"repeatable">repeatable
</span>
1922 <p>Additional arguments to pass to the invoked method as-is.
</p></td>
1931 <dl class=
"details">
1969 <table class=
"params">
1974 <th class=
"last">Description
</th>
1990 <td class=
"description last">Returns the return value of the invoked method if a class
1991 instance and method has been found. Returns
<code>null
</code> if either
1992 no bound class instance could be found, or if the found
1993 instance didn't have the requested
<code>method
</code>.
</td>
2007 <div class=
"nameContainer">
2008 <h4 class=
"name" id=
"content">
2010 content
<span class=
"signature">(node,
<span class=
"optional">children
</span>)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Node|null}
</span>
2014 <div class=
"tag-source">
2015 <a href=
"luci.js.html">luci.js
</a>,
<a href=
"luci.js.html#line2354">line
2354</a>
2025 <div class=
"description">
2026 <p>Replaces the content of the given node with the given children.
</p>
2027 <p>This function first removes any children of the given DOM
2028 <code>Node
</code> and then adds the given given children following the
2029 rules outlined below.
</p>
2040 <table class=
"params">
2051 <th class=
"last">Description
</th>
2060 <td class=
"name"><code>node
</code></td>
2066 <span class=
"param-type">*
</span>
2074 <td class=
"description last">
2081 <p>The
<code>Node
</code> argument to replace the children of.
</p></td>
2088 <td class=
"name"><code>children
</code></td>
2094 <span class=
"param-type">*
</span>
2102 <td class=
"description last">
2105 <span class=
"optional">optional
</span>
2111 <p>The childrens to replace into the given node.
</p>
2112 <p>When
<code>children
</code> is an array, then each item of the array
2113 will be either appended as child element or text node,
2114 depending on whether the item is a DOM
<code>Node
</code> instance or
2115 some other non-
<code>null
</code> value. Non-
<code>Node
</code>, non-
<code>null
</code> values
2116 will be converted to strings first before being passed as
2117 argument to
<code>createTextNode()
</code>.
</p>
2118 <p>When
<code>children
</code> is a function, it will be invoked with
2119 the passed
<code>node
</code> argument as sole parameter and the
<code>append
</code>
2120 function will be invoked again, with the given
<code>node
</code> argument
2121 as first and the return value of the
<code>children
</code> function as
2122 second parameter.
</p>
2123 <p>When
<code>children
</code> is is a DOM
<code>Node
</code> instance, it will be
2124 appended to the given
<code>node
</code>.
</p>
2125 <p>When
<code>children
</code> is any other non-
<code>null
</code> value, it will be
2126 converted to a string and appened to the
<code>innerHTML
</code> property
2127 of the given
<code>node
</code>.
</p></td>
2136 <dl class=
"details">
2174 <table class=
"params">
2179 <th class=
"last">Description
</th>
2195 <td class=
"description last">Returns the last children
<code>Node
</code> appended to the node or
<code>null
</code>
2196 if either the
<code>node
</code> argument was no valid DOM
<code>node
</code> or if the
2197 <code>children
</code> was
<code>null
</code> or didn't result in further DOM nodes.
</td>
2211 <div class=
"nameContainer">
2212 <h4 class=
"name" id=
"create">
2214 create
<span class=
"signature">(html,
<span class=
"optional">attr
</span>,
<span class=
"optional">data
</span>)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Node}
</span>
2218 <div class=
"tag-source">
2219 <a href=
"luci.js.html">luci.js
</a>,
<a href=
"luci.js.html#line2480">line
2480</a>
2229 <div class=
"description">
2230 <p>Creates a new DOM
<code>Node
</code> from the given
<code>html
</code>,
<code>attr
</code> and
2231 <code>data
</code> parameters.
</p>
2232 <p>This function has multiple signatures, it can be either invoked
2233 in the form
<code>create(html[, attr[, data]])
</code> or in the form
2234 <code>create(html[, data])
</code>. The used variant is determined from the
2235 type of the second argument.
</p>
2246 <table class=
"params">
2257 <th class=
"last">Description
</th>
2266 <td class=
"name"><code>html
</code></td>
2272 <span class=
"param-type">*
</span>
2280 <td class=
"description last">
2287 <p>Describes the node to create.
</p>
2288 <p>When the value of
<code>html
</code> is of type array, a
<code>DocumentFragment
</code>
2289 node is created and each item of the array is first converted
2290 to a DOM
<code>Node
</code> by passing it through
<code>create()
</code> and then added
2291 as child to the fragment.
</p>
2292 <p>When the value of
<code>html
</code> is a DOM
<code>Node
</code> instance, no new
2293 element will be created but the node will be used as-is.
</p>
2294 <p>When the value of
<code>html
</code> is a string starting with
<code><</code>, it will
2295 be passed to
<code>dom.parse()
</code> and the resulting value is used.
</p>
2296 <p>When the value of
<code>html
</code> is any other string, it will be passed
2297 to
<code>document.createElement()
</code> for creating a new DOM
<code>Node
</code> of
2298 the given name.
</p></td>
2305 <td class=
"name"><code>attr
</code></td>
2311 <span class=
"param-type">Object.
<string, *
></span>
2319 <td class=
"description last">
2322 <span class=
"optional">optional
</span>
2328 <p>Specifies an Object of key, value pairs to set as attributes
2329 or event handlers on the created node. Refer to
2330 <a href=
"LuCI.dom.html#attr"><code>dom.attr()
</code></a> for details.
</p></td>
2337 <td class=
"name"><code>data
</code></td>
2343 <span class=
"param-type">*
</span>
2351 <td class=
"description last">
2354 <span class=
"optional">optional
</span>
2360 <p>Specifies children to append to the newly created element.
2361 Refer to
<a href=
"LuCI.dom.html#append"><code>dom.append()
</code></a> for details.
</p></td>
2370 <dl class=
"details">
2408 <div class=
"param-desc">
2409 <p>Throws an
<code>InvalidCharacterError
</code> when the given
<code>html
</code>
2410 argument contained malformed markup (such as not escaped
2411 <code>&</code> characters in XHTML mode) or when the given node name
2412 in
<code>html
</code> contains characters which are not legal in DOM
2413 element names, such as spaces.
</p>
2423 <span class=
"param-type">InvalidCharacterError
</span>
2439 <table class=
"params">
2444 <th class=
"last">Description
</th>
2457 <td class=
"description last">Returns the newly created
<code>Node
</code>.
</td>
2471 <div class=
"nameContainer">
2472 <h4 class=
"name" id=
"data">
2474 data
<span class=
"signature">(node,
<span class=
"optional">key
</span>,
<span class=
"optional">val
</span>)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{*}
</span>
2478 <div class=
"tag-source">
2479 <a href=
"luci.js.html">luci.js
</a>,
<a href=
"luci.js.html#line2556">line
2556</a>
2489 <div class=
"description">
2490 <p>Attaches or detaches arbitrary data to and from a DOM
<code>Node
</code>.
</p>
2491 <p>This function is useful to attach non-string values or runtime
2492 data that is not serializable to DOM nodes. To decouple data
2493 from the DOM, values are not added directly to nodes, but
2494 inserted into a registry instead which is then referenced by a
2495 string key stored as
<code>data-idref
</code> attribute in the node.
</p>
2496 <p>This function has multiple signatures and is sensitive to the
2497 number of arguments passed to it.
</p>
2499 <li><code>dom.data(node)
</code> -
2500 Fetches all data associated with the given node.
</li>
2501 <li><code>dom.data(node, key)
</code> -
2502 Fetches a specific key associated with the given node.
</li>
2503 <li><code>dom.data(node, key, val)
</code> -
2504 Sets a specific key to the given value associated with the
2506 <li><code>dom.data(node, null)
</code> -
2507 Clears any data associated with the node.
</li>
2508 <li><code>dom.data(node, key, null)
</code> -
2509 Clears the given key associated with the node.
</li>
2521 <table class=
"params">
2532 <th class=
"last">Description
</th>
2541 <td class=
"name"><code>node
</code></td>
2547 <span class=
"param-type">Node
</span>
2555 <td class=
"description last">
2562 <p>The DOM
<code>Node
</code> instance to set or retrieve the data for.
</p></td>
2569 <td class=
"name"><code>key
</code></td>
2575 <span class=
"param-type">string
</span>
2578 <span class=
"param-type">null
</span>
2586 <td class=
"description last">
2589 <span class=
"optional">optional
</span>
2595 <p>This is either a string specifying the key to retrieve, or
2596 <code>null
</code> to unset the entire node data.
</p></td>
2603 <td class=
"name"><code>val
</code></td>
2609 <span class=
"param-type">*
</span>
2612 <span class=
"param-type">null
</span>
2620 <td class=
"description last">
2623 <span class=
"optional">optional
</span>
2629 <p>This is either a non-
<code>null
</code> value to set for a given key or
2630 <code>null
</code> to remove the given
<code>key
</code> from the specified node.
</p></td>
2639 <dl class=
"details">
2677 <table class=
"params">
2682 <th class=
"last">Description
</th>
2695 <td class=
"description last">Returns the get or set value, or
<code>null
</code> when no value could
2710 <div class=
"nameContainer">
2711 <h4 class=
"name" id=
"elem">
2713 elem
<span class=
"signature">(e)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
2717 <div class=
"tag-source">
2718 <a href=
"luci.js.html">luci.js
</a>,
<a href=
"luci.js.html#line2150">line
2150</a>
2728 <div class=
"description">
2729 <p>Tests whether the given argument is a valid DOM
<code>Node
</code>.
</p>
2740 <table class=
"params">
2751 <th class=
"last">Description
</th>
2760 <td class=
"name"><code>e
</code></td>
2766 <span class=
"param-type">*
</span>
2774 <td class=
"description last">
2776 <p>The value to test.
</p></td>
2785 <dl class=
"details">
2823 <table class=
"params">
2828 <th class=
"last">Description
</th>
2841 <td class=
"description last">Returns
<code>true
</code> if the value is a DOM
<code>Node
</code>, else
<code>false
</code>.
</td>
2855 <div class=
"nameContainer">
2856 <h4 class=
"name" id=
"findClassInstance">
2858 findClassInstance
<span class=
"signature">(node)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Class|null}
</span>
2862 <div class=
"tag-source">
2863 <a href=
"luci.js.html">luci.js
</a>,
<a href=
"luci.js.html#line2656">line
2656</a>
2873 <div class=
"description">
2874 <p>Finds a bound class instance on the given node itself or the
2875 first bound instance on its closest parent node.
</p>
2886 <table class=
"params">
2897 <th class=
"last">Description
</th>
2906 <td class=
"name"><code>node
</code></td>
2912 <span class=
"param-type">Node
</span>
2920 <td class=
"description last">
2922 <p>The DOM
<code>Node
</code> instance to start from.
</p></td>
2931 <dl class=
"details">
2969 <table class=
"params">
2974 <th class=
"last">Description
</th>
2990 <td class=
"description last">Returns the founds class instance if any or
<code>null
</code> if no bound
2991 class could be found on the node itself or any of its parents.
</td>
3005 <div class=
"nameContainer">
3006 <h4 class=
"name" id=
"isEmpty">
3008 isEmpty
<span class=
"signature">(node,
<span class=
"optional">ignoreFn
</span>)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
3012 <div class=
"tag-source">
3013 <a href=
"luci.js.html">luci.js
</a>,
<a href=
"luci.js.html#line2736">line
2736</a>
3023 <div class=
"description">
3024 <p>Tests whether a given DOM
<code>Node
</code> instance is empty or appears
3026 <p>Any element child nodes which have the CSS class
<code>hidden
</code> set
3027 or for which the optionally passed
<code>ignoreFn
</code> callback function
3028 returns
<code>false
</code> are ignored.
</p>
3039 <table class=
"params">
3050 <th class=
"last">Description
</th>
3059 <td class=
"name"><code>node
</code></td>
3065 <span class=
"param-type">Node
</span>
3073 <td class=
"description last">
3080 <p>The DOM
<code>Node
</code> instance to test.
</p></td>
3087 <td class=
"name"><code>ignoreFn
</code></td>
3093 <span class=
"param-type"><a href=
"LuCI.dom.html#~ignoreCallbackFn">LuCI.dom~ignoreCallbackFn
</a></span>
3101 <td class=
"description last">
3104 <span class=
"optional">optional
</span>
3110 <p>Specifies an optional function which is invoked for each child
3111 node to decide whether the child node should be ignored or not.
</p></td>
3120 <dl class=
"details">
3158 <table class=
"params">
3163 <th class=
"last">Description
</th>
3176 <td class=
"description last">Returns
<code>true
</code> if the node does not have any children or if
3177 any children node either has a
<code>hidden
</code> CSS class or a
<code>false
</code>
3178 result when testing it using the given
<code>ignoreFn
</code>.
</td>
3192 <div class=
"nameContainer">
3193 <h4 class=
"name" id=
"matches">
3195 matches
<span class=
"signature">(node,
<span class=
"optional">selector
</span>)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
3199 <div class=
"tag-source">
3200 <a href=
"luci.js.html">luci.js
</a>,
<a href=
"luci.js.html#line2211">line
2211</a>
3210 <div class=
"description">
3211 <p>Tests whether a given
<code>Node
</code> matches the given query selector.
</p>
3212 <p>This function is a convenience wrapper around the standard
3213 <code>Node.matches(
"selector
")
</code> function with the added benefit that
3214 the
<code>node
</code> argument may be a non-
<code>Node
</code> value, in which case
3215 this function simply returns
<code>false
</code>.
</p>
3226 <table class=
"params">
3237 <th class=
"last">Description
</th>
3246 <td class=
"name"><code>node
</code></td>
3252 <span class=
"param-type">*
</span>
3260 <td class=
"description last">
3267 <p>The
<code>Node
</code> argument to test the selector against.
</p></td>
3274 <td class=
"name"><code>selector
</code></td>
3280 <span class=
"param-type">string
</span>
3288 <td class=
"description last">
3291 <span class=
"optional">optional
</span>
3297 <p>The query selector expression to test against the given node.
</p></td>
3306 <dl class=
"details">
3344 <table class=
"params">
3349 <th class=
"last">Description
</th>
3362 <td class=
"description last">Returns
<code>true
</code> if the given node matches the specified selector
3363 or
<code>false
</code> when the node argument is no valid DOM
<code>Node
</code> or the
3364 selector didn't match.
</td>
3378 <div class=
"nameContainer">
3379 <h4 class=
"name" id=
"parent">
3381 parent
<span class=
"signature">(node,
<span class=
"optional">selector
</span>)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Node|null}
</span>
3385 <div class=
"tag-source">
3386 <a href=
"luci.js.html">luci.js
</a>,
<a href=
"luci.js.html#line2238">line
2238</a>
3396 <div class=
"description">
3397 <p>Returns the closest parent node that matches the given query
3398 selector expression.
</p>
3399 <p>This function is a convenience wrapper around the standard
3400 <code>Node.closest(
"selector
")
</code> function with the added benefit that
3401 the
<code>node
</code> argument may be a non-
<code>Node
</code> value, in which case
3402 this function simply returns
<code>null
</code>.
</p>
3413 <table class=
"params">
3424 <th class=
"last">Description
</th>
3433 <td class=
"name"><code>node
</code></td>
3439 <span class=
"param-type">*
</span>
3447 <td class=
"description last">
3454 <p>The
<code>Node
</code> argument to find the closest parent for.
</p></td>
3461 <td class=
"name"><code>selector
</code></td>
3467 <span class=
"param-type">string
</span>
3475 <td class=
"description last">
3478 <span class=
"optional">optional
</span>
3484 <p>The query selector expression to test against each parent.
</p></td>
3493 <dl class=
"details">
3531 <table class=
"params">
3536 <th class=
"last">Description
</th>
3552 <td class=
"description last">Returns the closest parent node matching the selector or
3553 <code>null
</code> when the node argument is no valid DOM
<code>Node
</code> or the
3554 selector didn't match any parent.
</td>
3568 <div class=
"nameContainer">
3569 <h4 class=
"name" id=
"parse">
3571 parse
<span class=
"signature">(s)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{Node}
</span>
3575 <div class=
"tag-source">
3576 <a href=
"luci.js.html">luci.js
</a>,
<a href=
"luci.js.html#line2169">line
2169</a>
3586 <div class=
"description">
3587 <p>Parses a given string as HTML and returns the first child node.
</p>
3598 <table class=
"params">
3609 <th class=
"last">Description
</th>
3618 <td class=
"name"><code>s
</code></td>
3624 <span class=
"param-type">string
</span>
3632 <td class=
"description last">
3634 <p>A string containing an HTML fragment to parse. Note that only
3635 the first result of the resulting structure is returned, so an
3636 input value of
<code><div
>foo
</div
> <div
>bar
</div
></code> will only return
3637 the first
<code>div
</code> element node.
</p></td>
3646 <dl class=
"details">
3684 <table class=
"params">
3689 <th class=
"last">Description
</th>
3702 <td class=
"description last">Returns the first DOM
<code>Node
</code> extracted from the HTML fragment or
3703 <code>null
</code> on parsing failures or if no element could be found.
</td>
3718 <h3 class=
"subsection-title">Type Definitions
</h3>
3723 <div class=
"nameContainer">
3724 <h4 class=
"name" id=
"~ignoreCallbackFn">
3726 ignoreCallbackFn
<span class=
"signature">(node)
</span><span class=
"glyphicon glyphicon-circle-arrow-right"></span><span class=
"type-signature returnType">{boolean}
</span>
3730 <div class=
"tag-source">
3731 <a href=
"luci.js.html">luci.js
</a>,
<a href=
"luci.js.html#line2699">line
2699</a>
3741 <div class=
"description">
3742 <p>The ignore callback function is invoked by
<code>isEmpty()
</code> for each
3743 child node to decide whether to ignore a child node or not.
</p>
3744 <p>When this function returns
<code>false
</code>, the node passed to it is
3745 ignored, else not.
</p>
3756 <table class=
"params">
3767 <th class=
"last">Description
</th>
3776 <td class=
"name"><code>node
</code></td>
3782 <span class=
"param-type">Node
</span>
3790 <td class=
"description last">
3792 <p>The child node to test.
</p></td>
3801 <dl class=
"details">
3839 <table class=
"params">
3844 <th class=
"last">Description
</th>
3857 <td class=
"description last">Boolean indicating whether to ignore the node or not.
</td>
3885 Documentation generated by
<a target=
"_blank" href=
"https://github.com/jsdoc3/jsdoc">JSDoc
3.6.3</a> on Wed Feb
12 2020 11:
56:
59 GMT+
0100 (Central European Standard Time)
3889 <script>prettyPrint();
</script>
3890 <script src=
"scripts/jaguar.js"></script>