[ type ] ActionEvent

Description:

Action event received by the onAction() handler callback.

Type: Object

Properties:

Name Type Description

target

object

The component that triggered the event.

command

string

The command string, usually the button text or a custom value set with .command("").

[modifiers]

number

Keyboard modifiers (bitmask or flags).

[alt]

boolean

Indicates if ALT key was pressed.

[shift]

boolean

Indicates if SHIFT key was pressed.

[ctrl]

boolean

Indicates if CTRL key was pressed.

type

string

One of action or index_change. Present when applicable.

[x]

number

Mouse X position relative to the component.

[y]

number

Mouse Y position relative to the component.

[screenX]

number

Mouse X position relative to the screen.

[screenY]

number

Mouse Y position relative to the screen.

[interactive]

boolean

Indicates if the action was triggered by user interaction (not programmatically).

[selected]

boolean

Indicates selection state when applicable.

Also See: