aem-forms-af-runtime

Interface: Action

Generic Action/Event interface. Defines common properties that each action/event should have

Table of contents

Properties

Properties

currentTarget

• Readonly currentTarget: FormModel | FieldModel | FieldsetModel


isCustomEvent

• Readonly isCustomEvent: boolean

Is the event custom


metadata

• metadata: any

Event metadata.


originalAction

• Optional Readonly originalAction: Action

Original event. If the event is dispatched, this refers the original event


payload

• payload: any

Event payload as defined by the event.


target

• Readonly target: FormModel | FieldModel | FieldsetModel

The field element on which the event is triggered.


type

• type: string

Name of the event.