Module "frontend-packages/headless-content-unblocker/src/utils/parents"
Functions
parents
- parents(element: HTMLElement, selector: string, limit?: number): HTMLElement[]
-
Parameters
-
element: HTMLElement
-
selector: string
-
Default value limit: number = 0
Returns HTMLElement[]
Port of
jQuery.parents()
.