From fb7ff5b8bf2073a8d7b78011b9edffc830dc63cb Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Sat, 26 Oct 2019 00:17:24 +0200 Subject: API documentation for KVision 2.0.0 --- api/pl.treksoft.kvision.core/index.html | 127 ++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) (limited to 'api/pl.treksoft.kvision.core/index.html') diff --git a/api/pl.treksoft.kvision.core/index.html b/api/pl.treksoft.kvision.core/index.html index 7e64ef45..ff1a7c91 100644 --- a/api/pl.treksoft.kvision.core/index.html +++ b/api/pl.treksoft.kvision.core/index.html @@ -87,6 +87,34 @@ backgrounds, fonts, text and position) and the main Widget class.

+

BsBgColor

+ + +enum class BsBgColor + + + +

BsBorder

+ + +enum class BsBorder + + + +

BsColor

+ + +enum class BsColor + + + +

BsRounded

+ + +enum class BsRounded + + +

Clear

@@ -457,6 +485,87 @@ backgrounds, fonts, text and position) and the main Widget class.

+

addBsBgColor

+ + +fun Component.addBsBgColor(bsBgColor: BsBgColor): Unit + + + +

addBsBorder

+ + +fun Component.addBsBorder(vararg bsBorder: BsBorder): Unit + + + +

addBsClearfix

+ + +fun Component.addBsClearfix(): Unit + + + +

addBsColor

+ + +fun Component.addBsColor(bsColor: BsColor): Unit + + + +

addBsRounded

+ + +fun Component.addBsRounded(vararg bsRounded: BsRounded): Unit + + + +

removeBsBgColor

+ + +fun Component.removeBsBgColor(bsBgColor: BsBgColor): Unit + + + +

removeBsBorder

+ + +fun Component.removeBsBorder(vararg bsBorder: BsBorder): Unit + + + +

removeBsClearfix

+ + +fun Component.removeBsClearfix(): Unit + + + +

removeBsColor

+ + +fun Component.removeBsColor(bsColor: BsColor): Unit + + + +

removeBsRounded

+ + +fun Component.removeBsRounded(vararg bsRounded: BsRounded): Unit + + + +

style

+ + +fun Widget.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function.

+fun Style.style(className: String? = null, init: (Style.() -> Unit)? = null): Style +

DSL builder extension function for cascading styles.

+ + + +

toJs

@@ -466,6 +575,24 @@ backgrounds, fonts, text and position) and the main Widget class.

Convert PopoverOptions to JavaScript JSON object.

+ + +

widget

+ + +fun Container.widget(classes: Set<String> = setOf(), init: (Widget.() -> Unit)? = null): Widget +

DSL builder extension function.

+ + + + +

widgetWrapper

+ + +fun Container.widgetWrapper(wrapped: Component?, classes: Set<String> = setOf(), init: (WidgetWrapper.() -> Unit)? = null): WidgetWrapper +

DSL builder extension function.

+ + -- cgit