contextMenu

fun Widget.contextMenu(fixedPosition: Boolean = false, className: String? = null, init: ContextMenu.() -> Unit? = null): ContextMenu

DSL builder extension function.

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