kvision / pl.treksoft.kvision.dropdown / contextMenu

contextMenu

(js) fun Widget.contextMenu(fixedPosition: Boolean = false, classes: Set<String> = setOf(), init: (ContextMenu.() -> Unit)? = null): ContextMenu

DSL builder extension function.

It takes the same parameters as the constructor of the built component.