Implementation of reset event. The reset event is triggered on the Form.
To trigger the reset event, reset function needs to be invoked or one can invoke dispatchEvent API.
ActionImpl
↳ Reset
• new Reset(payload?, dispatch?)
| Name | Type | Default value |
|---|---|---|
payload? |
any |
undefined |
dispatch |
boolean |
false |
ActionImpl.constructor
• get currentTarget(): FormModel | FieldModel | FieldsetModel
FormModel | FieldModel | FieldsetModel
ActionImpl.currentTarget
• get isCustomEvent(): boolean
boolean
ActionImpl.isCustomEvent
• get metadata(): any
any
ActionImpl.metadata
• get payload(): any
any
ActionImpl.payload
• get target(): FormModel | FieldModel | FieldsetModel
FormModel | FieldModel | FieldsetModel
ActionImpl.target
• get type(): string
string
ActionImpl.type
▸ toJson(): Object
Object
| Name | Type |
|---|---|
isCustomEvent |
boolean |
payload |
any |
type |
string |
ActionImpl.toJson
▸ toString(): string
string
ActionImpl.toString