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
container Type
Bootstrap container type
add Row
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
container Type
Bootstrap container type
add Row
if true, a
element is rendered inside the root container (default is based on container type)
init
an initializer extension function