kvision / pl.treksoft.kvision.dropdown / setContextMenu

setContextMenu

(js) fun Widget.setContextMenu(contextMenu: ContextMenu): Widget

Sets context menu for the current widget.

Parameters

contextMenu - a context menu

Return
current widget