open class Nav : Tag
The Bootstrap Nav container.
Nav(: Boolean = false, : Set<String> = setOf(), : Nav.() -> Unit = null) |
var rightAlign: Boolean
Determines if the nav is aligned to the right. |
var align: Align?
Text align. |
|
open var content: String?
Text content of the tag. |
|
open var rich: Boolean
Determines if content can contain HTML code. |
|
open var template: (Any?) -> String
Handlebars template. |
|
open var templates: Map<String, (Any?) -> String>
Handlebars templates for i18n. |
|
var type: TAG
Tag type. |
open fun getSnClass(): List<StringBoolPair>
Returns list of CSS class names for current widget in the form of a List. |
open fun render(): VNode
Renders current component as a Snabbdom vnode. |
fun Navbar.nav(: Boolean = false, : Set<String> = setOf(), : Nav.() -> Unit = null): Nav
DSL builder extension function. |
fun <K> Template.setData(obj: K, serializer: SerializationStrategy<K>): Unit fun <K : Any> Template.setData(obj: K): Unit
Extension function to set serializable object as a template data. |