UNPKG

choerodon-ui

Version:

An enterprise-class UI design language and React-based implementation

19 lines (18 loc) 484 B
import { AlignPoint } from './Align'; declare type overflowType = { adjustX?: boolean; adjustY?: boolean; }; export default function alignElement(el: HTMLElement, refNode: HTMLElement, align: any): { points: any; offset: any; targetOffset: any; overflow: overflowType; }; export declare function alignPoint(el: HTMLElement, tgtPoint: AlignPoint, align: any): { points: any; offset: any; targetOffset: any; overflow: overflowType; }; export {};