office-ui-fabric-react
Version:
Reusable React components for building experiences for Microsoft 365.
62 lines (61 loc) • 2.14 kB
TypeScript
export declare const DirectionalHint: {
/**
* Appear above the target element, with the left edges of the callout and target aligning.
*/
topLeftEdge: 0;
/**
* Appear above the target element, with the centers of the callout and target aligning.
*/
topCenter: 1;
/**
* Appear above the target element, with the right edges of the callout and target aligning.
*/
topRightEdge: 2;
/**
* Appear above the target element, aligning with the target element such that the callout tends toward
* the center of the screen.
*/
topAutoEdge: 3;
/**
* Appear below the target element, with the left edges of the callout and target aligning.
*/
bottomLeftEdge: 4;
/**
* Appear below the target element, with the centers of the callout and target aligning.
*/
bottomCenter: 5;
/**
* Appear below the target element, with the right edges of the callout and target aligning.
*/
bottomRightEdge: 6;
/**
* Appear below the target element, aligning with the target element such that the callout tends toward
* the center of the screen.
*/
bottomAutoEdge: 7;
/**
* Appear to the left of the target element, with the top edges of the callout and target aligning.
*/
leftTopEdge: 8;
/**
* Appear to the left of the target element, with the centers of the callout and target aligning.
*/
leftCenter: 9;
/**
* Appear to the left of the target element, with the bottom edges of the callout and target aligning.
*/
leftBottomEdge: 10;
/**
* Appear to the right of the target element, with the top edges of the callout and target aligning.
*/
rightTopEdge: 11;
/**
* Appear to the right of the target element, with the centers of the callout and target aligning.
*/
rightCenter: 12;
/**
* Appear to the right of the target element, with the bottom edges of the callout and target aligning.
*/
rightBottomEdge: 13;
};
export declare type DirectionalHint = typeof DirectionalHint[keyof typeof DirectionalHint];