new DrawerPanel(config)
DrawerPanel is a class used to create a single tab and content divs
and add it to a parent div.
Parameters:
Name | Type | Description |
---|---|---|
config |
Object | An object containing the following options.
|
Methods
-
getID()
-
Returns the ID generated for the tab
Returns:
- Type
- Integer
-
getPanelContent()
-
Returns the content panel
Returns:
- Type
- Object
-
getPanelTab()
-
Returns the tab object
Returns:
- Type
- Object
-
getSingleTabContainer()
-
Returns the div container for the tab
Returns:
- Type
- Object
-
getTabHeaderTitle()
-
Returns the span object that contains the title text
Returns:
- Type
- Object
-
getTitle()
-
Returns the tab title
Returns:
- Type
- String