Root

constructor(id: String, containerType: ContainerType = ContainerType.NONE, addRow: Boolean = containerType != ContainerType.FIXED && containerType != ContainerType.NONE, 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(element: <Error class: unknown class>, containerType: ContainerType = ContainerType.NONE, addRow: Boolean = containerType != ContainerType.FIXED && containerType != ContainerType.NONE, 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