Class: InputForm
dg.InputForm
A form with multiple inputs inside
Hierarchy
↳
InputForm
Constructors
constructor
• new InputForm(dart
)
Parameters
Name | Type |
---|---|
dart | any |
Overrides
Defined in
Properties
dart
• dart: any
Inherited from
Defined in
Accessors
isValid
• get
isValid(): boolean
Returns
boolean
Defined in
onInputChanged
• get
onInputChanged(): Observable
<any
>
Occurs when user changes any input value in a form.
Returns
Observable
<any
>
Defined in
onValidationCompleted
• get
onValidationCompleted(): Observable
<any
>
Occurs after the form is validated, no matter whether it is valid or not.
Returns
Observable
<any
>
Defined in
root
• get
root(): HTMLElement
Returns
HTMLElement
Defined in
source
• get
source(): any
Returns
any
Defined in
• set
source(source
): void
Parameters
Name | Type |
---|---|
source | any |
Returns
void
Defined in
Methods
getInput
▸ getInput(propertyName
): InputBase
<any
>
Parameters
Name | Type |
---|---|
propertyName | string |
Returns
InputBase
<any
>
Defined in
forFuncCall
▸ Static
forFuncCall(funcCall
, options?
): Promise
<InputForm
>
Creates an InputForm for the specified function call.
Parameters
Name | Type |
---|---|
funcCall | FuncCall |
options? | Object |
options.twoWayBinding? | boolean |
Returns
Promise
<InputForm
>
Defined in
forInputs
▸ Static
forInputs(inputs
): InputForm
Parameters
Name | Type |
---|---|
inputs | InputBase <any >[] |