UNPKG

tdesign-mobile-vue

Version:
12 lines (11 loc) 613 B
import { AttachNode } from '../../common'; export declare function getElmCssPropValue(element: HTMLElement, propName: string): string; export declare function isFixed(element: HTMLElement): boolean; export declare function getRelativePosition(elm: HTMLElement, relativeElm?: HTMLElement): { top: number; left: number; }; export declare function getTargetElm(elm: AttachNode): HTMLElement; export declare function getScrollParent(element: HTMLElement): HTMLElement; export declare function scrollToParentVisibleArea(element: HTMLElement): void; export declare function scrollToElm(elm: HTMLElement): void;