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 | |
---|
1 | import type { Placement, Boundary, RootBoundary } from "../enums";
|
---|
2 | import type { Rect, Modifier, Padding } from "../types";
|
---|
3 | declare 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 | };
|
---|
14 | export 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 | };
|
---|
28 | export declare type PreventOverflowModifier = Modifier<"preventOverflow", Options>;
|
---|
29 | declare const _default: PreventOverflowModifier;
|
---|
30 | export default _default;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.