From 683bc54fd9bfc22c900dc0cdfcd660d61da253ef Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich
Date: Thu, 6 Aug 2020 17:58:47 +0200
Subject: docs: update js api docs
Signed-off-by: Jo-Philipp Wich
---
docs/jsapi/LuCI.form.FileUpload.html | 211 ++++++++++++++++++++++++++++++++---
1 file changed, 193 insertions(+), 18 deletions(-)
(limited to 'docs/jsapi/LuCI.form.FileUpload.html')
diff --git a/docs/jsapi/LuCI.form.FileUpload.html b/docs/jsapi/LuCI.form.FileUpload.html
index 24d736248..182ded7df 100644
--- a/docs/jsapi/LuCI.form.FileUpload.html
+++ b/docs/jsapi/LuCI.form.FileUpload.html
@@ -292,8 +292,16 @@
cfgsections
+ cfgvalue
+
filter
+ formvalue
+
+ getOption
+
+ getUIElement
+
load
option
@@ -333,6 +341,8 @@
modalonly
+ onchange
+
optional
readonly
@@ -423,6 +433,8 @@
modalonly
+ onchange
+
optional
password
@@ -513,6 +525,8 @@
modalonly
+ onchange
+
optional
password
@@ -599,6 +613,8 @@
modalonly
+ onchange
+
optional
password
@@ -693,6 +709,8 @@
modalonly
+ onchange
+
optional
password
@@ -783,6 +801,8 @@
modalonly
+ onchange
+
optional
password
@@ -873,6 +893,8 @@
modaltitle
+ nodescriptions
+
parentoption
rowcolors
@@ -900,8 +922,16 @@
append
+ cfgvalue
+
filter
+ formvalue
+
+ getOption
+
+ getUIElement
+
load
option
@@ -939,6 +969,8 @@
modalonly
+ onchange
+
optional
password
@@ -1071,8 +1103,12 @@
Members
+ orientation
+
size
+ widget
+
datatype
default
@@ -1081,6 +1117,8 @@
modalonly
+ onchange
+
optional
password
@@ -1225,6 +1263,8 @@
modalonly
+ onchange
+
optional
password
@@ -1324,8 +1364,16 @@
cfgsections
+ cfgvalue
+
filter
+ formvalue
+
+ getOption
+
+ getUIElement
+
load
option
@@ -1367,6 +1415,8 @@
modalonly
+ onchange
+
optional
password
@@ -1457,6 +1507,8 @@
modaltitle
+ nodescriptions
+
rowcolors
sectiontitle
@@ -1492,8 +1544,16 @@
append
+ cfgvalue
+
filter
+ formvalue
+
+ getOption
+
+ getUIElement
+
load
option
@@ -1539,6 +1599,8 @@
modalonly
+ onchange
+
optional
password
@@ -1642,8 +1704,16 @@
cfgsections
+ cfgvalue
+
filter
+ formvalue
+
+ getOption
+
+ getUIElement
+
load
option
@@ -1687,6 +1757,8 @@
modalonly
+ onchange
+
optional
readonly
@@ -2520,6 +2592,8 @@
getLocalData
+ getToken
+
setLocalData
@@ -2670,6 +2744,8 @@
getValue
+ isChanged
+
isValid
registerEvents
@@ -2678,6 +2754,8 @@
setChangeEvents
+ setPlaceholder
+
setUpdateEvents
setValue
@@ -2748,6 +2826,8 @@
getValue
+ isChanged
+
isChecked
isValid
@@ -2758,6 +2838,8 @@
setChangeEvents
+ setPlaceholder
+
setUpdateEvents
setValue
@@ -2798,12 +2880,16 @@
closeAllDropdowns
+ isChanged
+
isValid
registerEvents
setChangeEvents
+ setPlaceholder
+
setUpdateEvents
triggerValidation
@@ -2842,12 +2928,16 @@
closeAllDropdowns
+ isChanged
+
isValid
registerEvents
setChangeEvents
+ setPlaceholder
+
setUpdateEvents
triggerValidation
@@ -2888,6 +2978,8 @@
getValue
+ isChanged
+
isValid
registerEvents
@@ -2896,6 +2988,8 @@
setChangeEvents
+ setPlaceholder
+
setUpdateEvents
setValue
@@ -2936,6 +3030,8 @@
getValue
+ isChanged
+
isValid
registerEvents
@@ -2944,6 +3040,8 @@
setChangeEvents
+ setPlaceholder
+
setUpdateEvents
setValue
@@ -2980,6 +3078,8 @@
getValue
+ isChanged
+
isValid
registerEvents
@@ -2988,6 +3088,8 @@
setChangeEvents
+ setPlaceholder
+
setUpdateEvents
setValue
@@ -3020,6 +3122,8 @@
getValue
+ isChanged
+
isValid
registerEvents
@@ -3028,6 +3132,8 @@
setChangeEvents
+ setPlaceholder
+
setUpdateEvents
setValue
@@ -3098,6 +3204,8 @@
getValue
+ isChanged
+
isValid
registerEvents
@@ -3106,6 +3214,8 @@
setChangeEvents
+ setPlaceholder
+
setUpdateEvents
setValue
@@ -3170,6 +3280,8 @@
getValue
+ isChanged
+
isValid
registerEvents
@@ -3178,6 +3290,8 @@
setChangeEvents
+ setPlaceholder
+
setUpdateEvents
setValue
@@ -3214,6 +3328,8 @@
getValue
+ isChanged
+
isValid
registerEvents
@@ -3222,6 +3338,8 @@
setChangeEvents
+ setPlaceholder
+
setUpdateEvents
setValue
@@ -3343,7 +3461,7 @@ offers the ability to browse, upload and select remote files.
@@ -4002,6 +4120,59 @@ section elements.
+ Default Value:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
onchangefunction
+
+
+
+
+
+
+
+
Register a custom value change handler.
+
If this property is set to a function value, the function is invoked
+whenever the value of the underlying UI input element is changing.
+
The invoked handler function will receive the DOM click element as
+first and the underlying configuration section ID as well as the input
+value as second and third argument respectively.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Default Value:
@@ -4664,7 +4835,7 @@ table section elements.
@@ -4842,7 +5013,7 @@ within the given specific section.
@@ -5015,12 +5186,12 @@ different way.
inherited
- depends(optionname_or_depends, optionvalue)
+ depends(optionname_or_depends, optionvalue|RegExp)
@@ -5078,6 +5249,10 @@ is ignored. The recognized tags are:
opt.depends({ foo: "test" })
Equivalent to the previous example.
+
+ opt.depends({ foo: /test/ })
+ Require the value of `foo` to match the regular expression `/test/`.
+
opt.depends({ foo: "test", bar: "qrx" })
Require the value of `foo` to be `test` and the value of `bar` to be
@@ -5138,7 +5313,7 @@ is ignored. The recognized tags are:
string
|
-Object.<string, (string|boolean)>
+Object.<string, (string|RegExp)>
@@ -5156,7 +5331,7 @@ dependencies which must be satified (a logical "and" expression).<
- optionvalue
+ optionvalue|RegExp
@@ -5234,7 +5409,7 @@ argument, this parameter is ignored.
@@ -5411,7 +5586,7 @@ It may be overwritten by user code to handle input values differently.
@@ -5589,7 +5764,7 @@ option implementation does not use LuCI.ui
widgets.
@@ -5739,7 +5914,7 @@ returns false
.
@@ -5887,7 +6062,7 @@ returns false
.
@@ -6070,7 +6245,7 @@ so it may return promises if overridden by user code.
@@ -6221,7 +6396,7 @@ validation constraints.
@@ -6493,7 +6668,7 @@ implement alternative removal logic, e.g. to retain the original value.
@@ -6868,7 +7043,7 @@ was neither a string nor a function.
@@ -7016,7 +7191,7 @@ or a plain text string. If omitted, the key
value is used as captio
@@ -7175,7 +7350,7 @@ before it is written.
- Documentation generated by JSDoc 3.6.3 on Thu Apr 16 2020 15:41:08 GMT+0200 (Central European Summer Time)
+ Documentation generated by JSDoc 3.6.3 on Thu Aug 06 2020 17:58:02 GMT+0200 (Central European Summer Time)
--
cgit v1.2.3