Class SweetDevRia.AccordionItem
AccordionItem
Defined in: Accordion.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<private> |
SweetDevRia.AccordionItem(id, title)
|
Method Attributes | Method Name and Description |
---|---|
close(acc, refresh)
Close this item, using Yahoo animation
|
|
isOpen()
Return whether this item is opened or not.
|
|
open(acc)
Open this item, using Yahoo animation
|
Class Detail
<private>
SweetDevRia.AccordionItem(id, title)
- Parameters:
- {String} id
- the id of the item
- {String} title
- the displayed title of the item
Method Detail
close(acc, refresh)
Close this item, using Yahoo animation
- Parameters:
- {Accordion} acc
- the accordion item around this one
- {boolean} refresh
- if the frame must be refreshed during this close (false if an open is processed simultaneously)
{boolean}
isOpen()
Return whether this item is opened or not.
- Returns:
- true if this item is open, false otherwise
open(acc)
Open this item, using Yahoo animation
- Parameters:
- {Accordion} acc
- the accordion item around this one