kvision / pl.treksoft.kvision.html / Link / <init>

<init>

(js) Link(label: String, url: String? = null, icon: String? = null, image: ResString? = null, separator: String? = null, labelFirst: Boolean = true, classes: Set<String> = setOf())

Parameters

label - link label

url - link URL address

icon - link icon

image - link image

separator - a separator between label and icon/image (defaults to space)

labelFirst - determines if the label is put before children elements (defaults to true)

classes - a set of CSS class names

Constructor