link
fun Container.link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, separator: String? = null, labelFirst: Boolean = true, target: String? = null, classes: Set<String>? = null, className: String? = null, init: Link.() -> Unit? = null): Link
Content copied to clipboard
DSL builder extension function.
It takes the same parameters as the constructor of the built component.
fun <S> Container.link(state: ObservableState<S>, label: String, url: String? = null, icon: String? = null, image: ResString? = null, separator: String? = null, labelFirst: Boolean = true, target: String? = null, classes: Set<String>? = null, className: String? = null, init: Link.(S) -> Unit): Link
Content copied to clipboard
DSL builder extension function for observable state.
It takes the same parameters as the constructor of the built component.