kvision / pl.treksoft.kvision.dropdown / ContextMenu / contextMenu

contextMenu

fun Widget.contextMenu(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.