From bfd5aa358e141d6c86d476d8bb66b104a80a3b96 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Thu, 21 May 2020 00:13:50 +0200 Subject: API documentation for KVision 3.10.0 --- api/pl.treksoft.kvision.html/-button/-init-.html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'api/pl.treksoft.kvision.html/-button/-init-.html') diff --git a/api/pl.treksoft.kvision.html/-button/-init-.html b/api/pl.treksoft.kvision.html/-button/-init-.html index 2ccbb29a..337ef488 100644 --- a/api/pl.treksoft.kvision.html/-button/-init-.html +++ b/api/pl.treksoft.kvision.html/-button/-init-.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.html / Button / <init>

<init>

-(js) -Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf()) +(js) +Button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, separator: String? = null, labelFirst: Boolean = true, classes: Set<String> = setOf())

Parameters

text - button label

@@ -19,6 +19,10 @@ style - button style

disabled - button state

+

+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
-- cgit