UNPKG

@qntm-code/utils

Version:

A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.

5 lines (4 loc) 146 B
/** * Gets all the elements that a given element is nested within */ export declare function getAncestors(element: HTMLElement): HTMLElement[];