Class: CollapsibleDetails

Drupal. CollapsibleDetails

new Drupal.CollapsibleDetails(node)

The collapsible details object represents a single details element.

Name Type Description
node HTMLElement

The details element.

Members

staticDrupal.CollapsibleDetails.instancesArray.<Drupal.CollapsibleDetails>

Holds references to instantiated CollapsibleDetails objects.

Methods

onLegendClick(e)

Handle legend clicks.

Name Type Description
e jQuery.Event

The event triggered.

onSummaryUpdated()

Update summary.

setupLegend()

Initialize and setup legend markup.

setupSummary()

Initialize and setup summary events and markup.

Fires:
Listens to Events:

Toggle the visibility of a details element using smooth animations.