kvision / pl.treksoft.kvision.navbar / navLink

navLink

fun Nav.navLink(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 nav list.

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