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.panel/-root/-init-.html | 44 ++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 4 deletions(-) (limited to 'api/pl.treksoft.kvision.panel/-root/-init-.html') diff --git a/api/pl.treksoft.kvision.panel/-root/-init-.html b/api/pl.treksoft.kvision.panel/-root/-init-.html index a5b9d61f..db80955c 100644 --- a/api/pl.treksoft.kvision.panel/-root/-init-.html +++ b/api/pl.treksoft.kvision.panel/-root/-init-.html @@ -8,26 +8,62 @@ kvision / pl.treksoft.kvision.panel / Root / <init>

<init>

-(js) -Root(id: String, fixed: Boolean = false, init: (Root.() -> Unit)? = null) +(js) +Root(id: String, containerType: ContainerType = ContainerType.FLUID, addRow: Boolean = containerType != ContainerType.FIXED, init: (Root.() -> Unit)? = null) +

Parameters

+

+id - ID attribute of element in the main HTML file

+

+containerType - Bootstrap container type

+

+addRow - if true, a element is rendered inside the root + container (default is based on container type)

+

+init - an initializer extension function

+

Constructor
+

+(js) +Root(element: HTMLElement, containerType: ContainerType = ContainerType.FLUID, addRow: Boolean = containerType != ContainerType.FIXED, init: (Root.() -> Unit)? = null) +

Parameters

+

+element - HTML element in the DOM tree

+

+containerType - Bootstrap container type

+

+addRow - if true, a element is rendered inside the root + container (default is based on container type)

+

+init - an initializer extension function

+

Constructor
+

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

Parameters

id - ID attribute of element in the main HTML file

fixed - if false, the container is rendered with Bootstrap "container-fluid" class, otherwise it's rendered with "container" class (default is false)

+

+containerType - Bootstrap container type

+

+addRow - if true, a element is rendered inside the root container

init - an initializer extension function

Constructor

-(js) -Root(element: HTMLElement, fixed: Boolean = false, init: (Root.() -> Unit)? = null) +(js) +Root(element: HTMLElement, fixed: Boolean = false, containerType: ContainerType = if (fixed) ContainerType.FIXED else ContainerType.FLUID, addRow: Boolean = !fixed, init: (Root.() -> Unit)? = null)

Parameters

element - HTML element in the DOM tree

fixed - if false, the container is rendered with Bootstrap "container-fluid" class, otherwise it's rendered with "container" class (default is false)

+

+containerType - Bootstrap container type

+

+addRow - if true, a element is rendered inside the root container

init - an initializer extension function

Constructor
-- cgit