Outlook_Addin_LLM/node_modules/@fluentui/utilities/lib-amd/overflow.d.ts

25 lines
778 B
TypeScript
Raw Permalink Normal View History

/**
* Detects whether an element's content has horizontal overflow
*
* @public
* @param element - Element to check for overflow
* @returns True if element's content overflows
*/
export declare function hasHorizontalOverflow(element: HTMLElement): boolean;
/**
* Detects whether an element's content has vertical overflow
*
* @public
* @param element - Element to check for overflow
* @returns True if element's content overflows
*/
export declare function hasVerticalOverflow(element: HTMLElement): boolean;
/**
* Detects whether an element's content has overflow in any direction
*
* @public
* @param element - Element to check for overflow
* @returns True if element's content overflows
*/
export declare function hasOverflow(element: HTMLElement): boolean;