Outlook_Addin_LLM/node_modules/@fluentui/dom-utilities/lib-commonjs/getParent.d.ts

9 lines
303 B
TypeScript
Raw Normal View History

/**
* Gets the element which is the parent of a given element.
* If `allowVirtuaParents` is `true`, this method prefers the virtual parent over
* real DOM parent when present.
*
* @public
*/
export declare function getParent(child: HTMLElement, allowVirtualParents?: boolean): HTMLElement | null;