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.TextValue.html | 209 +++++++++++++++++++++++++++++++++---
1 file changed, 192 insertions(+), 17 deletions(-)
(limited to 'docs/jsapi/LuCI.form.TextValue.html')
diff --git a/docs/jsapi/LuCI.form.TextValue.html b/docs/jsapi/LuCI.form.TextValue.html
index 9ce6d0642..3e4c4f123 100644
--- a/docs/jsapi/LuCI.form.TextValue.html
+++ b/docs/jsapi/LuCI.form.TextValue.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 @@
@@ -3986,6 +4104,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:
@@ -4648,7 +4819,7 @@ table section elements.
@@ -4826,7 +4997,7 @@ within the given specific section.
@@ -4999,12 +5170,12 @@ different way.
inherited
- depends(optionname_or_depends, optionvalue)
+ depends(optionname_or_depends, optionvalue|RegExp)
@@ -5062,6 +5233,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
@@ -5122,7 +5297,7 @@ is ignored. The recognized tags are:
string
|
-Object.<string, (string|boolean)>
+Object.<string, (string|RegExp)>
@@ -5140,7 +5315,7 @@ dependencies which must be satified (a logical "and" expression).<
- optionvalue
+ optionvalue|RegExp
@@ -5218,7 +5393,7 @@ argument, this parameter is ignored.
@@ -5395,7 +5570,7 @@ It may be overwritten by user code to handle input values differently.
@@ -5573,7 +5748,7 @@ option implementation does not use LuCI.ui
widgets.
@@ -5723,7 +5898,7 @@ returns false
.
@@ -5871,7 +6046,7 @@ returns false
.
@@ -6054,7 +6229,7 @@ so it may return promises if overridden by user code.
@@ -6205,7 +6380,7 @@ validation constraints.
@@ -6477,7 +6652,7 @@ implement alternative removal logic, e.g. to retain the original value.
@@ -6852,7 +7027,7 @@ was neither a string nor a function.
@@ -7011,7 +7186,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