CollapsibleDetails

Drupal. CollapsibleDetails

new CollapsibleDetails(node)

Source:
The collapsible details object represents a single details element.
Parameters:
Name Type Description
node HTMLElement The details element.

Members

(static) instances :Array.<Drupal.CollapsibleDetails>

Source:
Holds references to instantiated CollapsibleDetails objects.
Type:

Methods

onLegendClick(e)

Source:
Handle legend clicks.
Parameters:
Name Type Description
e jQuery.Event The event triggered.

onSummaryUpdated()

Source:
Update summary.

setupLegend()

Source:
Initialize and setup legend markup.

setupSummary()

Source:
Initialize and setup summary events and markup.
Fires:
Listens to Events:

toggle()

Source:
Toggle the visibility of a details element using smooth animations.