[ type ] PopupEvent

Description:

Popup list event received by the onPopupEvents() handler callback in ComboBox, Menu and ContextMenu components.

Type: Object

Properties:

Name Type Description

target

object

The component that triggered the event.

type

string

One of show, hide, cancel.

[x]

number

Component's X position relative to invoker. For Menu component it's only present when invoker is not null.

[y]

number

Component's Y position relative to invoker. For Menu component it's only present when invoker is not null.

interactive

boolean

Indicates if the popup was triggered by user's interaction (not programmatically).

[screenX]

number

X position of a Menu component relative to default screen.

[screenY]

number

Y position of a Menu component relative to default screen.

[invoker]

object

UI Component that invoked the popup, or null if it was invoked programmatically.

Also See: