@limetech/lime-elements
Version:
9 lines • 380 B
TypeScript
/**
* Check if an element is a descendant of another, even if it is located within a shadow root
*
* @param element - The element to check
* @param parent - The parent element
* @returns True if the element is a descendant of the parent element, false otherwise
*/
export declare function isDescendant(element: Node, parent: Node): boolean;
//# sourceMappingURL=dom.d.ts.map