UNPKG

@tencentcloud/roomkit-web-vue3

Version:

<h1 align="center"> TUIRoomKit</h1> Conference (TUIRoomKit) is a product suitable for multi-person audio and video conversation scenarios such as business meetings, webinars, and online education. By integrating this product, you can add room management,

46 lines (45 loc) 1.37 kB
interface IDomRect { id: string; top: number; left: number; right: number; width: number; bottom: number; height: number; x?: number; y?: number; } interface IScrollInfo { scrollHeight: number; scrollLeft: number; scrollTop: number; scrollWidth: number; id: string; } interface IFields { [key: string]: any; } type registeredPage = 'messageList'; export declare const instanceMapping: Map<"messageList", any>; /** * * @param selector string: e.g. #app | .class * @param instanceName string * @returns Promise<IDomRect> */ export declare function getBoundingClientRect(selector: string | HTMLElement, instanceName?: registeredPage): Promise<IDomRect>; export declare function getBoundingClientRectSync(selector: string | HTMLElement): IDomRect; /** * * @param selector string: e.g. #app | .class * @param instanceName string * @returns Promise<IScrollInfo> */ export declare function getScrollInfo(selector: string | HTMLElement, instanceName?: registeredPage): Promise<IScrollInfo>; export declare function getScrollInfoSync(selector: string | HTMLElement): IScrollInfo; export declare function getFields(selector: string | HTMLElement, instanceName?: registeredPage): Promise<IFields>; export declare function getContentSize(element: HTMLElement): { width: number; height: number; }; export {};