From 806edfceeefe7fda47924f97237974e99fe28a02 Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Mon, 2 Apr 2018 01:35:47 +0200 Subject: API documentantion update --- api/pl.treksoft.kvision.html/-button/button.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'api/pl.treksoft.kvision.html/-button/button.html') diff --git a/api/pl.treksoft.kvision.html/-button/button.html b/api/pl.treksoft.kvision.html/-button/button.html index 95028d1d..9d26cdc1 100644 --- a/api/pl.treksoft.kvision.html/-button/button.html +++ b/api/pl.treksoft.kvision.html/-button/button.html @@ -8,8 +8,8 @@ kvision / pl.treksoft.kvision.html / Button / button

button

- -fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, disabled: Boolean = false, classes: Set<String> = setOf(), init: Button.() -> Unit = null): Button + +fun Container.button(text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.DEFAULT, type: ButtonType = ButtonType.BUTTON, disabled: Boolean = false, classes: Set<String> = setOf(), init: Button.() -> Unit = null): Button

DSL builder extension function.

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

-- cgit