🔗ally.get.activeElements
Identifies the ShadowHost ancestry of the active element
🔗Usage
var elements = ally.get.activeElements();
🔗Arguments
| Name | Type | Default | Description |
|---|---|---|---|
| context | <selector> | documentElement | The scope of the DOM in which to search. The first element of a collection is used. |
| filter | <selector> | required | The significant elements to exclude from the search. |
🔗Returns
Array of HTMLElement.
🔗Related resources
ally.get.shadowHostParentsis used to identify an elementsShadowHostancestry