contextMenu

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

DSL builder extension function.

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

fun <S> Widget.contextMenu(state: ObservableState<S>, fixedPosition: Boolean = false, classes: Set<String>? = null, className: String? = null, init: ContextMenu.(S) -> Unit): ContextMenu

DSL builder extension function for observable state.

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