UNPKG

778 BTypeScriptView Raw
1/**
2 * Detects whether an element's content has horizontal overflow
3 *
4 * @public
5 * @param element - Element to check for overflow
6 * @returns True if element's content overflows
7 */
8export declare function hasHorizontalOverflow(element: HTMLElement): boolean;
9/**
10 * Detects whether an element's content has vertical overflow
11 *
12 * @public
13 * @param element - Element to check for overflow
14 * @returns True if element's content overflows
15 */
16export declare function hasVerticalOverflow(element: HTMLElement): boolean;
17/**
18 * Detects whether an element's content has overflow in any direction
19 *
20 * @public
21 * @param element - Element to check for overflow
22 * @returns True if element's content overflows
23 */
24export declare function hasOverflow(element: HTMLElement): boolean;