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.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api/pl.treksoft.kvision.html/button.html') diff --git a/api/pl.treksoft.kvision.html/button.html b/api/pl.treksoft.kvision.html/button.html index e10aae2f..c9b6ca86 100644 --- a/api/pl.treksoft.kvision.html/button.html +++ b/api/pl.treksoft.kvision.html/button.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.html / button

button

-(js) -fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: (Button.() -> Unit)? = null): Button +(js) +fun Container.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>? = null, className: String? = null, init: (Button.() -> Unit)? = null): Button

DSL builder extension function.

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

-- cgit