aem-forms-af-runtime

Class: FieldChanged

Implementation of fieldChanged event. The field changed event is triggered on the field which it has changed.

Hierarchy

Table of contents

Constructors

Accessors

Methods

Constructors

constructor

new FieldChanged(changes, field, eventSource?)

Parameters

Name Type Default value
changes ChangePayload undefined
field BaseJson undefined
eventSource EventSource EventSource.CODE

Overrides

ActionImpl.constructor

Accessors

currentTarget

get currentTarget(): FormModel | FieldModel | FieldsetModel

Returns

FormModel | FieldModel | FieldsetModel

Inherited from

ActionImpl.currentTarget


isCustomEvent

get isCustomEvent(): boolean

Returns

boolean

Inherited from

ActionImpl.isCustomEvent


metadata

get metadata(): any

Returns

any

Inherited from

ActionImpl.metadata


payload

get payload(): any

Returns

any

Inherited from

ActionImpl.payload


target

get target(): FormModel | FieldModel | FieldsetModel

Returns

FormModel | FieldModel | FieldsetModel

Inherited from

ActionImpl.target


type

get type(): string

Returns

string

Inherited from

ActionImpl.type

Methods

toJson

toJson(): Object

Returns

Object

Name Type
isCustomEvent boolean
payload any
type string

Inherited from

ActionImpl.toJson


toString

toString(): string

Returns

string

Inherited from

ActionImpl.toString