[ type ] ComponentEvent

Description:

Component event received by the onComponentEvents() handler callback.

Type: Object

Properties:

Name Type Description

target

object

The component that triggered the event.

type

string

One of resize, move, show, hide.

[interactive]

boolean

Indicates if the event was triggered by user interaction (not programmatically). Present for move and resize for component like Window, InternalWindow.

[x]

number

New X position of the component.

[y]

number

New Y position of the component.

[width]

number

New width of the component. Present when type is resize.

[height]

number

New height of the component. Present when type is resize.

[innerWidth]

number

New width of the content area. Present for resize when component is Window or InternalWindow.

[innerHeight]

number

New height of the content area. Present for resize when component is Window or InternalWindow.

Also See: