Components.NavbarContent Class
Component to wrap the collapsible content of a Components.Navbar component. Have a look there for examples.
Item Index
Methods
Methods
getExpandedSize Number
privateGet the size of the element when expanded
Parameters:
-
$action
Object
Returns:
hide
protectedTriggers the hide transition
show
protectedTriggers the show transition
Properties
active unknown
protectedTrue if this item is expanded
collapsed boolean
publicCollapsed/expanded state
Default: true
collapseDimension string
publicThe direction (height/width) of the collapse animation. When setting this to 'width' you should also define custom CSS transitions for the width property, as the Bootstrap CSS does only support collapsible elements for the height direction.
Default: 'height'
collapsedSize number
publicThe size of the element when collapsed. Defaults to 0.
Default: 0
collapseSize number
protectedexpandedSize number
publicThe size of the element when expanded. When null the value is calculated automatically to fit the containing elements.
Default: null
resetSizeWhenNotCollapsing boolean
privateUsually the size (height) of the element is only set while transitioning, and reseted afterwards. Set to true to always set a size.
Default: true
transitioning boolean
protectedtrue if the component is currently transitioning