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

onSummaryClick(e)

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

setupSummaryPolyfill()

Source:
Initialize and setup summary markup.

toggle()

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