Class Index | File Index

Classes


Class Exanpe.HideablePanel

Represents an Hideable Panel. Can be accessed through JavaScript by its id.
Defined in: exanpe-t5-lib.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Exanpe.HideablePanel(id, hideWidth, duration)
Constructor
Field Summary
Field Attributes Field Name and Description
 
duration of the animation
 
state of the panel
 
id
id of the instance
Method Summary
Method Attributes Method Name and Description
 
Called after hide.
 
Called after show.
 
Returns the visibility of the panel
 
Reverse the visibility of the panel
Class Detail
Exanpe.HideablePanel(id, hideWidth, duration)
Constructor
Parameters:
{String} id
the id of the main accordion element
{int} hideWidth
the width of the hideable panel
{float} duration
the speed of hidding animation
Field Detail
duration
duration of the animation

hidden
state of the panel

id
id of the instance
Method Detail
afterHide()
Called after hide. Does nothing by default, override to define your own action.

afterShow()
Called after show. Does nothing by default, override to define your own action.

{boolean} isVisible()
Returns the visibility of the panel
Returns:
{boolean} true if the panel is visible, false otherwise

{boolean} reverse()
Reverse the visibility of the panel
Returns:
{boolean} true if the panel gets visible, false if it gets hidden

Documentation generated by JsDoc Toolkit 2.0.0 on Mon Jan 09 2012 21:35:39 GMT+0100 (CET)