amis-rpc-design/node_modules/antd/es/affix/utils.d.ts

5 lines
390 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
export type BindElement = HTMLElement | Window | null | undefined;
export declare function getTargetRect(target: BindElement): DOMRect;
export declare function getFixedTop(placeholderRect: DOMRect, targetRect: DOMRect, offsetTop?: number): number | undefined;
export declare function getFixedBottom(placeholderRect: DOMRect, targetRect: DOMRect, offsetBottom?: number): number | undefined;