Navbar

open class Navbar(    label: String? = null,     link: String? = null,     type: NavbarType? = null,     expand: NavbarExpand? = NavbarExpand.LG,     nColor: NavbarColor = NavbarColor.LIGHT,     bgColor: BsBgColor = BsBgColor.LIGHT,     collapseOnClick: Boolean = false,     dataNavigo: Boolean? = null,     className: String? = null,     init: Navbar.() -> Unit? = null)

The Bootstrap Navbar container.

Parameters

label

the navbar header label

link

the navbar header link

type

the navbar type

expand

the navbar responsive behavior

nColor

the navbar color

bgColor

the navbar background color

collapseOnClick

the navbar is auto collapsed when the link is clicked

dataNavigo

the 'data-navigo' attribute for history API based JS routing

className

CSS class names

init

an initializer extension function

Constructors

Link copied to clipboard
fun Navbar(    label: String? = null,     link: String? = null,     type: NavbarType? = null,     expand: NavbarExpand? = NavbarExpand.LG,     nColor: NavbarColor = NavbarColor.LIGHT,     bgColor: BsBgColor = BsBgColor.LIGHT,     collapseOnClick: Boolean = false,     dataNavigo: Boolean? = null,     className: String? = null,     init: Navbar.() -> Unit? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun add(child: <ERROR CLASS>): Navbar
open fun add(position: Int, child: <ERROR CLASS>): Navbar
Link copied to clipboard
open fun addAll(children: List<<ERROR CLASS>>): Navbar
Link copied to clipboard
open fun buildClassSet(classSetBuilder: <ERROR CLASS>)
Link copied to clipboard
open fun disposeAll(): Navbar
Link copied to clipboard
open fun getChildren(): List<<ERROR CLASS>>
Link copied to clipboard
open fun remove(child: <ERROR CLASS>): Navbar
Link copied to clipboard
open fun removeAll(): Navbar
Link copied to clipboard
open fun removeAt(position: Int): Navbar
Link copied to clipboard
open fun render(): <ERROR CLASS>

Properties

Link copied to clipboard
var bgColor: <ERROR CLASS>

The navbar background color.

Link copied to clipboard
var dataNavigo: <ERROR CLASS>

The 'data-navigo' attribute for history API based JS routing.

Link copied to clipboard
var expand: <ERROR CLASS>

The navbar responsive behavior.

Link copied to clipboard
var label: Nothing?

The navbar header label.

Link copied to clipboard
var link: <ERROR CLASS>

The navbar header link.

Link copied to clipboard
var nColor: <ERROR CLASS>

The navbar color.

Link copied to clipboard
var type: <ERROR CLASS>

The navbar type.

Extensions

Link copied to clipboard
fun Navbar.nav(    rightAlign: Boolean = false,     className: String? = null,     init: Nav.() -> Unit? = null): Nav

DSL builder extension function.

Link copied to clipboard
fun Navbar.navForm(    rightAlign: Boolean = false,     className: String? = null,     init: NavForm.() -> Unit? = null): NavForm

DSL builder extension function.

Link copied to clipboard
fun Navbar.navText(label: String, className: String? = null): <ERROR CLASS>