UNPKG

ant-table-ext

Version:

An extended table based on ant table

63 lines (62 loc) 1.31 kB
export interface AdjustOverflow { adjustX?: 0 | 1; adjustY?: 0 | 1; } export interface PlacementsConfig { arrowWidth?: number; horizontalArrowShift?: number; verticalArrowShift?: number; arrowPointAtCenter?: boolean; autoAdjustOverflow?: any; } export declare function getOverflowOptions(autoAdjustOverflow: any): any; export default function getPlacements(config?: PlacementsConfig): { left: { points: string[]; offset: number[]; }; right: { points: string[]; offset: number[]; }; top: { points: string[]; offset: number[]; }; bottom: { points: string[]; offset: number[]; }; topLeft: { points: string[]; offset: number[]; }; leftTop: { points: string[]; offset: number[]; }; topRight: { points: string[]; offset: number[]; }; rightTop: { points: string[]; offset: number[]; }; bottomRight: { points: string[]; offset: number[]; }; rightBottom: { points: string[]; offset: number[]; }; bottomLeft: { points: string[]; offset: number[]; }; leftBottom: { points: string[]; offset: number[]; }; };