Module: wcCollapser


new (require("wcCollapser"))()

A docker container for carrying its own arrangement of docked panels as a slide out drawer.
PRIVATE - Handled internally by docker and should never be constructed by the user.

Version:
  • 3.0.0
Source:

Methods


<static> function constructor(container, parent, position)

Parameters:
Name Type Description
container external:jQuery~selector | external:jQuery~Object | external:domNode A container element for this drawer.
parent module:wcSplitter | wcDocker The drawer's parent object.
position module:wcDocker.DOCK A docking position to place this drawer.
Source:

function collapse()

Collapses the drawer to its respective side wall.

Source:

function expand()

Expands the drawer.

Source:

function isExpanded() -> Boolean

Gets whether the drawer is expanded.

Source:
Returns:
- The current expanded state.
Type
Boolean

function maxSize() -> module:wcDocker~Size

The maximum size constraint for the side bar area.

Source:
Returns:
- The maximum size.
Type
module:wcDocker~Size

function minSize() -> module:wcDocker~Size

The minimum size constraint for the side bar area.

Source:
Returns:
- The minimum size.
Type
module:wcDocker~Size