source: imaps-frontend/node_modules/@popperjs/core/lib/modifiers/preventOverflow.d.ts

main
Last change on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 862 bytes
Line 
1import type { Placement, Boundary, RootBoundary } from "../enums";
2import type { Rect, Modifier, Padding } from "../types";
3declare type TetherOffset = ((arg0: {
4 popper: Rect;
5 reference: Rect;
6 placement: Placement;
7}) => number | {
8 mainAxis: number;
9 altAxis: number;
10}) | number | {
11 mainAxis: number;
12 altAxis: number;
13};
14export declare type Options = {
15 mainAxis: boolean;
16 altAxis: boolean;
17 boundary: Boundary;
18 rootBoundary: RootBoundary;
19 altBoundary: boolean;
20 /**
21 * Allows the popper to overflow from its boundaries to keep it near its
22 * reference element
23 */
24 tether: boolean;
25 tetherOffset: TetherOffset;
26 padding: Padding;
27};
28export declare type PreventOverflowModifier = Modifier<"preventOverflow", Options>;
29declare const _default: PreventOverflowModifier;
30export default _default;
Note: See TracBrowser for help on using the repository browser.