InputForm
A form with multiple inputs inside
Extends
Constructors
new InputForm()
new InputForm(
dart):InputForm
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
Overrides
Source
Properties
| Property | Type | Inherited from |
|---|---|---|
dart | any | DartWrapper.dart |
Accessors
inputs
getinputs():InputBase<any>[]
All inputs added to the form
Returns
InputBase<any>[]
Source
isValid
getisValid():boolean
Returns true if all inputs are valid.
Returns
boolean
Source
onInputChanged
Occurs when user changes any input value in a form.
Returns
Observable <EventData <InputArgs>>
Source
onValidationCompleted
getonValidationCompleted():Observable<any>
Occurs after the form is validated, no matter whether it is valid or not.
Returns
Observable<any>
Source
root
getroot():HTMLElement
Returns
HTMLElement
Source
source
getsource():any
setsource(source):void
Parameters
| Parameter | Type |
|---|---|
source | any |
Returns
any
Source
Methods
getInput()
getInput(
propertyName):InputBase<any>
Parameters
| Parameter | Type |
|---|---|
propertyName | string |
Returns
InputBase<any>
Source
forFuncCall()
staticforFuncCall(funcCall,options?):Promise<InputForm>
Creates an InputForm for the specified function call.
Parameters
| Parameter | Type |
|---|---|
funcCall | FuncCall |
options? | object |
options.skipDefaultInit? | boolean |
options.twoWayBinding? | boolean |
Returns
Promise <InputForm>
Source
forInputs()
staticforInputs(inputs):InputForm
Parameters
| Parameter | Type |
|---|---|
inputs | InputBase<any>[] |