From 4792e81070aa2bed027720875e3c2ea7462f282b Mon Sep 17 00:00:00 2001 From: Robert Jaros Date: Tue, 27 Feb 2018 10:07:02 +0100 Subject: Updated API documentantion. --- .../-window/after-destroy.html | 16 ++++++++++++ .../pl.treksoft.kvision.window/-window/focus.html | 15 +++++++++++ .../pl.treksoft.kvision.window/-window/index.html | 29 +++++++++++++++++++++- .../-window/to-front.html | 15 +++++++++++ .../pl.treksoft.kvision.window/-window/window.html | 2 +- 5 files changed, 75 insertions(+), 2 deletions(-) create mode 100644 docs/api/pl.treksoft.kvision.window/-window/after-destroy.html create mode 100644 docs/api/pl.treksoft.kvision.window/-window/focus.html create mode 100644 docs/api/pl.treksoft.kvision.window/-window/to-front.html (limited to 'docs/api/pl.treksoft.kvision.window/-window') diff --git a/docs/api/pl.treksoft.kvision.window/-window/after-destroy.html b/docs/api/pl.treksoft.kvision.window/-window/after-destroy.html new file mode 100644 index 00000000..21da8481 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.window/-window/after-destroy.html @@ -0,0 +1,16 @@ + + + +Window.afterDestroy - kvision + + + +kvision / pl.treksoft.kvision.window / Window / afterDestroy
+
+

afterDestroy

+ +protected open fun afterDestroy(): Unit +

Overrides Widget.afterDestroy

+

Method called after destroying Snabbdom vnode.

+ + diff --git a/docs/api/pl.treksoft.kvision.window/-window/focus.html b/docs/api/pl.treksoft.kvision.window/-window/focus.html new file mode 100644 index 00000000..e765ceda --- /dev/null +++ b/docs/api/pl.treksoft.kvision.window/-window/focus.html @@ -0,0 +1,15 @@ + + + +Window.focus - kvision + + + +kvision / pl.treksoft.kvision.window / Window / focus
+
+

focus

+ +open fun focus(): Unit +

Makes the current window focused.

+ + diff --git a/docs/api/pl.treksoft.kvision.window/-window/index.html b/docs/api/pl.treksoft.kvision.window/-window/index.html index 9e238bee..8a45ef9e 100644 --- a/docs/api/pl.treksoft.kvision.window/-window/index.html +++ b/docs/api/pl.treksoft.kvision.window/-window/index.html @@ -113,6 +113,24 @@ +

afterDestroy

+ + +open fun afterDestroy(): Unit +

Method called after destroying Snabbdom vnode.

+ + + + +

focus

+ + +open fun focus(): Unit +

Makes the current window focused.

+ + + +

getChildren

@@ -138,6 +156,15 @@

Removes all children from the current container.

+ + +

toFront

+ + +open fun toFront(): Unit +

Moves the current window to the front.

+ +

Inherited Functions

@@ -180,7 +207,7 @@

window

-fun Container.window(caption: String? = null, width: CssSize? = CssSize(0, UNIT.auto), height: CssSize? = CssSize(0, UNIT.auto), resizable: Boolean = true, draggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window +fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window

DSL builder extension function.

diff --git a/docs/api/pl.treksoft.kvision.window/-window/to-front.html b/docs/api/pl.treksoft.kvision.window/-window/to-front.html new file mode 100644 index 00000000..73b48625 --- /dev/null +++ b/docs/api/pl.treksoft.kvision.window/-window/to-front.html @@ -0,0 +1,15 @@ + + + +Window.toFront - kvision + + + +kvision / pl.treksoft.kvision.window / Window / toFront
+
+

toFront

+ +open fun toFront(): Unit +

Moves the current window to the front.

+ + diff --git a/docs/api/pl.treksoft.kvision.window/-window/window.html b/docs/api/pl.treksoft.kvision.window/-window/window.html index 49b62856..452d2636 100644 --- a/docs/api/pl.treksoft.kvision.window/-window/window.html +++ b/docs/api/pl.treksoft.kvision.window/-window/window.html @@ -9,7 +9,7 @@

window

-fun Container.window(caption: String? = null, width: CssSize? = CssSize(0, UNIT.auto), height: CssSize? = CssSize(0, UNIT.auto), resizable: Boolean = true, draggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window +fun Container.window(caption: String? = null, contentWidth: CssSize? = CssSize(0, UNIT.auto), contentHeight: CssSize? = CssSize(0, UNIT.auto), isResizable: Boolean = true, isDraggable: Boolean = true, closeButton: Boolean = false, classes: Set<String> = setOf(), init: Window.() -> Unit = null): Window

DSL builder extension function.

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

-- cgit