Module: wcDrawer

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 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 drawer area.

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

function minSize() -> module:wcDocker~Size

The minimum size constraint for the drawer area.

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