1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- export interface AdjustOverflow {
- adjustX?: 0 | 1;
- adjustY?: 0 | 1;
- }
- export interface PlacementsConfig {
- arrowWidth?: number;
- horizontalArrowShift?: number;
- verticalArrowShift?: number;
- arrowPointAtCenter?: boolean;
- autoAdjustOverflow?: boolean | AdjustOverflow;
- }
- export declare function getOverflowOptions(autoAdjustOverflow?: boolean | AdjustOverflow): {
- adjustX: number;
- adjustY: number;
- };
- 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[];
- };
- };
|