Skip to content

Multiselect.onOptionContextmenu method

Multiselect › onOptionContextmenu

Unofficial

Handle the context menu event of the multiselect.

Signature:

onOptionContextmenu(this: Multiselect, menu: Menu, value: string, ctx: MultiselectOptionContextMenuContext): void

Parameters:

ParameterTypeDescription
thisMultiselect
menuMenuthe menu to handle the context menu event.
valuestringthe value of the element.
ctxMultiselectOptionContextMenuContext

Returns: void