contextMenu([menu])

Class: ComboBox. Method inherited from UIComponent.

Description:

Sets or gets context menu component for this UI component.

Parameters:

Name Type Description

[menu]

ContextMenu

ContextMenu component to be assigned to this component. Set to null to remove ContextMenu.

Returns:

Returns the current context menu if no argument is provided; otherwise, returns this component.

Type: ContextMenu | null | this