Components.NavbarContent public

Component to wrap the collapsible content of a Components.Navbar component. Have a look there for examples.

getExpandedSize Number

private
Get the size of the element when expanded

Parameters:

  • action Object

Returns:

Number:

hide

protected
Triggers the hide transition

show

protected
Triggers the show transition

_element null | HTMLElement private

active unknown private

True if this item is expanded

collapsed boolean public

Collapsed/expanded state

collapseDimension string public

The 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.

collapsedSize number public

The size of the element when collapsed. Defaults to 0.

expandedSize number public

The size of the element when expanded. When null the value is calculated automatically to fit the containing elements.

resetSizeWhenNotCollapsing boolean private

Usually the size (height) of the element is only set while transitioning, and reseted afterwards. Set to true to always set a size.

transitionDuration number public

The duration of the fade transition

transitioning boolean private

true if the component is currently transitioning

onHidden

public
The action to be sent after the element has been completely hidden (including the CSS transition).

onHide

public
The action to be sent when the element is about to be hidden.

onShow

public
The action to be sent when the element is about to be shown.

onShown

public
The action to be sent after the element has been completely shown (including the CSS transition).