Methods
(static) detailsPolyFill(doc)
Collects <summary> tags and sets click bindings, fulfilling the polyfill
Parameters:
Name | Type | Description |
---|---|---|
doc |
Object | Target element to initiate the search for <summary> tags |
(static) handleSummaryOpen(e)
Collects a <summary> tag and sets the closed attribute if the item is currently open
Parameters:
Name | Type | Description |
---|---|---|
e |
Object | root object |
(static) init()
Initializes a <details> polyfill