react-elegant-ui
Version:
Elegant UI components, made by BEM best practices for react
6 lines (5 loc) • 399 B
TypeScript
export declare function setStyle<T extends HTMLElement>(element: T, style: Partial<CSSStyleDeclaration>): Partial<CSSStyleDeclaration>;
export declare function getScrollParent(node: HTMLElement | null): HTMLElement;
export declare function getScrollBarGap(): number;
export declare function isPassiveEventsSupported(): boolean;
export declare function isRootHTMLElement(node: HTMLElement): boolean;