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
n Color
the navbar color
bg Color
the navbar background color
collapse On Click
the navbar is auto collapsed when the link is clicked
data Navigo
the 'data-navigo' attribute for history API based JS routing
class Name
CSS class names
init
an initializer extension function
Constructors
Link copied to clipboard
constructor(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)