Preparing search index...
The search index is not available
Tango LowCode Builder
Tango LowCode Builder
@music163/tango-setting-form
FormModel
Class FormModel
Implements
IFormModel
Index
Constructors
constructor
Properties
_field
Map
_sub
Model
Map
_values
on
Change
state
Accessors
values
Methods
get
Field
get
Sub
Model
get
Value
get
Values
set
Value
Constructors
constructor
new
Form
Model
(
initValues
,
options
?
)
:
FormModel
Parameters
initValues
:
any
options
:
FormModelOptionsType
= {}
Returns
FormModel
Properties
_field
Map
_field
Map
:
Map
<
string
,
Field
>
= ...
_sub
Model
Map
_sub
Model
Map
:
{
[
key
:
string
]
:
SubModel
;
}
= {}
_values
_values
:
any
on
Change
on
Change
:
(
(
name
:
string
,
value
:
any
,
field
?:
Field
)
=>
void
)
state
state
:
{}
= {}
Accessors
values
get
values
(
)
:
any
Returns
any
set
values
(
nextValues
)
:
void
Parameters
nextValues
:
any
Returns
void
Methods
get
Field
get
Field
(
name
)
:
Field
Parameters
name
:
string
Returns
Field
get
Sub
Model
get
Sub
Model
(
name
)
:
SubModel
Parameters
name
:
string
Returns
SubModel
get
Value
get
Value
(
name
,
defaultValue
?
)
:
any
Parameters
name
:
string
Optional
defaultValue
:
any
Returns
any
get
Values
get
Values
(
)
:
any
Returns
any
set
Value
set
Value
(
name
,
value
)
:
void
Parameters
name
:
string
value
:
any
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_field
Map
_sub
Model
Map
_values
on
Change
state
Accessors
values
Methods
get
Field
get
Sub
Model
get
Value
get
Values
set
Value
Tango LowCode Builder
Loading...