1 | export type BindElement = HTMLElement | Window | null | undefined;
|
2 | export declare function getTargetRect(target: BindElement): DOMRect;
|
3 | export declare function getFixedTop(placeholderReact: DOMRect, targetRect: DOMRect, offsetTop?: number): number | undefined;
|
4 | export declare function getFixedBottom(placeholderReact: DOMRect, targetRect: DOMRect, offsetBottom?: number): number | undefined;
|
5 | interface ObserverEntity {
|
6 | target: HTMLElement | Window;
|
7 | affixList: any[];
|
8 | eventHandlers: {
|
9 | [eventName: string]: any;
|
10 | };
|
11 | }
|
12 | export declare function getObserverEntities(): ObserverEntity[];
|
13 | export declare function addObserveTarget<T>(target: HTMLElement | Window | null, affix?: T): void;
|
14 | export declare function removeObserveTarget<T>(affix: T): void;
|
15 | export {};
|