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

8 lines
362 B
TypeScript
Raw Normal View History

/**
* Determines if an element, or any of its ancestors, contain the given attribute
* @param element - element to start searching at
* @param attribute - the attribute to search for
* @returns the value of the first instance found
*/
export declare function elementContainsAttribute(element: HTMLElement, attribute: string, doc?: Document): string | null;