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/-application/index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'api/pl.treksoft.kvision') diff --git a/api/pl.treksoft.kvision/-application/index.html b/api/pl.treksoft.kvision/-application/index.html index 8cfb8cfc..2cfa220b 100644 --- a/api/pl.treksoft.kvision/-application/index.html +++ b/api/pl.treksoft.kvision/-application/index.html @@ -59,9 +59,11 @@

Create new Root container based on ID

-fun Application.root(id: String, fixed: Boolean = false, init: Root.() -> Unit): Root +fun Application.root(id: String, containerType: ContainerType = ContainerType.FLUID, addRow: Boolean = containerType != ContainerType.FIXED, init: Root.() -> Unit): Root
+fun Application.root(id: String, fixed: Boolean = false, containerType: ContainerType = if (fixed) ContainerType.FIXED else ContainerType.FLUID, addRow: Boolean = !fixed, init: Root.() -> Unit): Root

Create new Root container based on HTML element

-fun Application.root(element: HTMLElement, fixed: Boolean = false, init: Root.() -> Unit): Root +fun Application.root(element: HTMLElement, containerType: ContainerType = ContainerType.FLUID, addRow: Boolean = containerType != ContainerType.FIXED, init: Root.() -> Unit): Root
+fun Application.root(element: HTMLElement, fixed: Boolean = false, containerType: ContainerType = if (fixed) ContainerType.FIXED else ContainerType.FLUID, addRow: Boolean = !fixed, init: Root.() -> Unit): Root -- cgit