new CollapsibleDetails(node)
The collapsible details object represents a single details element.
Parameters:
Name | Type | Description |
---|---|---|
node |
HTMLElement | The details element. |
- Source:
Members
(static) instances :Array.<Drupal.CollapsibleDetails>
Holds references to instantiated CollapsibleDetails objects.
Type:
- Array.<Drupal.CollapsibleDetails>
- Source:
Methods
onSummaryClick(e)
Handle summary clicks.
Parameters:
Name | Type | Description |
---|---|---|
e |
jQuery.Event | The event triggered. |
- Source:
setupSummaryPolyfill()
Initialize and setup summary markup.
- Source:
toggle()
Toggle the visibility of a details element using smooth animations.
- Source: