kvision / pl.treksoft.kvision.dropdown / cmLink

cmLink

fun ContextMenu.cmLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String> = setOf(), init: (Link.() -> Unit)? = null): Link

DSL builder extension function for a link in a context menu list.

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