API Docs 0.11.3.33c7ec07

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

Show:

Methods

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

Properties

active unknown

protected

True if this item is expanded

collapsed boolean

public

Collapsed/expanded state

Default: true

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.

Default: 'height'

collapsedSize number

public

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

Default: 0

collapseSize number

protected

expandedSize number

public

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

Default: null

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.

Default: true

transitioning boolean

protected

true if the component is currently transitioning