API Docs for: 0.0.8-0
Show:

SidePanel Class

Module: UI
Parent Module: RAMP

SidePanel Class

Constructor

SidePanel

()

Methods

closePanel

(
  • d
)
private

Slide the SidePanel close

Parameters:

  • d Deferred

    A deferred to be resolved upon completion of the animation

getContainer

() JObject

Retunrs the outter most div of this SidePanel.

Returns:

JObject:

The outter most div of this SidePanel

getPanelWidthDefault

() Number private

Return the default width of the SidePanel.

Returns:

Number:

The default width of the SidePanel

init

()

Initialize a newly create SidePanel.

openPanel

(
  • d
)
private

Slides the SidePanel open.

Parameters:

  • d Deferred

    A deferred to be resolved upon completion of the animation

panelChange

(
  • visible
)
private

Publishes PANEL_CHANGE event when the visibility of the SidePanel changes.

Parameters:

  • visible Boolean

    Indicates whether the SidePanel is visible or not

width

() Number

Gets the width of this SidePanel.

Returns:

Number:

The width of this SidePanel