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:
703 bytes
|
Line | |
---|
1 | import type { Placement } from "../enums";
|
---|
2 | import type { Modifier, Rect, Offsets } from "../types";
|
---|
3 | export declare type OffsetsFunction = (arg0: {
|
---|
4 | popper: Rect;
|
---|
5 | reference: Rect;
|
---|
6 | placement: Placement;
|
---|
7 | }) => [number | null | undefined, number | null | undefined];
|
---|
8 | declare type Offset = OffsetsFunction | [number | null | undefined, number | null | undefined];
|
---|
9 | export declare type Options = {
|
---|
10 | offset: Offset;
|
---|
11 | };
|
---|
12 | export declare function distanceAndSkiddingToXY(placement: Placement, rects: {
|
---|
13 | popper: Rect;
|
---|
14 | reference: Rect;
|
---|
15 | }, offset: Offset): Offsets;
|
---|
16 | export declare type OffsetModifier = Modifier<"offset", Options>;
|
---|
17 | declare const _default: OffsetModifier;
|
---|
18 | export default _default;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.