kvision / pl.treksoft.kvision.dropdown / ddLink

ddLink

(js) fun DropDown.ddLink(label: String, url: String? = null, icon: String? = null, image: ResString? = null, classes: Set<String>? = null, className: String? = null, init: (Link.() -> Unit)? = null): Link

DSL builder extension function for a link in a dropdown list.

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