Zimlet JavaScript API Reference - DwtAccordionItem

Class DwtAccordionItem


This class represents a single expandable accordion item.

Defined in: DwtAccordion.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
DwtAccordionItem(id, title, data, accordion)
Creates an accordion item.
Method Summary
Method Attributes Method Name and Description
 
Gets the icon cell.
 
setIcon(icon)
Sets the icon.
 
setTitle(title)
Sets the title.
 
Returns a string representation of the object.
Class Detail
DwtAccordionItem(id, title, data, accordion)
Creates an accordion item.
Parameters:
{string} id
the unique ID for this item
{string} title
the text for the item header
{hash} data
a hash of arbitrary data for this item
{DwtAccordion} accordion
the owning accordion
Method Detail
{Element} getIconCell()
Gets the icon cell.
Returns:
{Element} the cell

setIcon(icon)
Sets the icon.
Parameters:
{string} icon
the icon

setTitle(title)
Sets the title.
Parameters:
{string} title
the title

{string} toString()
Returns a string representation of the object.
Returns:
{string} a string representation of the object

Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:26 GMT-0400 (EDT)