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