press-ui
Version:
简单、易用的跨端组件库,兼容 Vue2 和 Vue3,同时支持 uni-app和普通 Vue 项目
11 lines (10 loc) • 440 B
TypeScript
export declare function getWindowWidth(): {
windowWidth: number;
windowHeight: number;
windowTop: number;
windowBottom: number;
};
export declare function getStatusBarHeight(): any;
export declare function getScrollHeight(context: any, id: string): any;
export declare function getRect(context: any, selector: string, searchBody?: boolean): any;
export declare function getAllRect(context: any, selector: string): Promise<unknown>;