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
isValid
get
isValid():boolean
Returns
boolean
Source
onInputChanged
Occurs when user changes any input value in a form.
Returns
Observable
<EventData
<InputArgs
>>
Source
onValidationCompleted
get
onValidationCompleted():Observable
<any
>
Occurs after the form is validated, no matter whether it is valid or not.
Returns
Observable
<any
>
Source
root
get
root():HTMLElement
Returns
HTMLElement
Source
source
get
source():any
set
source(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()
static
forFuncCall(funcCall
,options
?):Promise
<InputForm
>
Creates an InputForm for the specified function call.
Parameters
Parameter | Type |
---|---|
funcCall | FuncCall |
options ? | object |
options.twoWayBinding ? | boolean |
Returns
Promise
<InputForm
>
Source
forInputs()
static
forInputs(inputs
):InputForm
Parameters
Parameter | Type |
---|---|
inputs | InputBase <any >[] |