From 9d35bb1e3d8186228cc409faa6d681624f20e9cd Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 26 Nov 2019 19:53:45 +0100 Subject: API documentation for KVision 2.4.0 --- api/pl.treksoft.kvision.html/-button/blur.html | 15 ++++++ api/pl.treksoft.kvision.html/-button/focus.html | 15 ++++++ api/pl.treksoft.kvision.html/-button/index.html | 63 +++++++++++++++++++++++-- 3 files changed, 88 insertions(+), 5 deletions(-) create mode 100644 api/pl.treksoft.kvision.html/-button/blur.html create mode 100644 api/pl.treksoft.kvision.html/-button/focus.html (limited to 'api/pl.treksoft.kvision.html/-button') diff --git a/api/pl.treksoft.kvision.html/-button/blur.html b/api/pl.treksoft.kvision.html/-button/blur.html new file mode 100644 index 00000000..95055a18 --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button/blur.html @@ -0,0 +1,15 @@ + + + +Button.blur - kvision + + + +kvision / pl.treksoft.kvision.html / Button / blur
+
+

blur

+ +open fun blur(): Unit +

Makes the button blur.

+ + diff --git a/api/pl.treksoft.kvision.html/-button/focus.html b/api/pl.treksoft.kvision.html/-button/focus.html new file mode 100644 index 00000000..80ae465d --- /dev/null +++ b/api/pl.treksoft.kvision.html/-button/focus.html @@ -0,0 +1,15 @@ + + + +Button.focus - kvision + + + +kvision / pl.treksoft.kvision.html / Button / focus
+
+

focus

+ +open fun focus(): Unit +

Makes the button focused.

+ + diff --git a/api/pl.treksoft.kvision.html/-button/index.html b/api/pl.treksoft.kvision.html/-button/index.html index 04b4a113..336fd12a 100644 --- a/api/pl.treksoft.kvision.html/-button/index.html +++ b/api/pl.treksoft.kvision.html/-button/index.html @@ -214,6 +214,24 @@ +

blur

+ + +open fun blur(): Unit +

Makes the button blur.

+ + + + +

focus

+ + +open fun focus(): Unit +

Makes the button focused.

+ + + +

getSnAttrs

@@ -260,7 +278,14 @@ open fun addCssClass(css: String): Widget

Adds given value to the set of CSS classes generated in html code of current component.

-open fun addCssClass(css: Style): Widget + + + + +

addCssStyle

+ + +open fun addCssStyle(css: Style): Widget

Adds given style object to the set of CSS classes generated in html code of current component.

@@ -271,7 +296,14 @@ open fun addSurroundingCssClass(css: String): Widget

Adds given value to the set of CSS classes generated in html code of parent component.

-open fun addSurroundingCssClass(css: Style): Widget + + + + +

addSurroundingCssStyle

+ + +open fun addSurroundingCssStyle(css: Style): Widget

Adds given style object to the set of CSS classes generated in html code of parent component.

@@ -459,7 +491,14 @@ open fun removeCssClass(css: String): Widget

Removes given value from the set of CSS classes generated in html code of current component.

-open fun removeCssClass(css: Style): Widget + + + + +

removeCssStyle

+ + +open fun removeCssStyle(css: Style): Widget

Removes given style object from the set of CSS classes generated in html code of current component.

@@ -479,7 +518,14 @@ open fun removeSurroundingCssClass(css: String): Widget

Removes given value from the set of CSS classes generated in html code of parent component.

-open fun removeSurroundingCssClass(css: Style): Widget + + + + +

removeSurroundingCssStyle

+ + +open fun removeSurroundingCssStyle(css: Style): Widget

Removes given style object from the set of CSS classes generated in html code of parent component.

@@ -537,7 +583,7 @@ open fun <T : Widget> setEventListener(block: SnOn<T>.() -> Unit): Widget

Sets an event listener for current widget, keeping the actual type of component.

-open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget +open fun setEventListener(block: SnOn<Widget>.() -> Unit): Widget

Sets an event listener for current widget.

@@ -651,6 +697,13 @@ +

onEvent

+ + +fun <T : Widget> T.onEvent(block: SnOn<T>.() -> Unit): Widget + + +

removeBsBgColor

-- cgit