Skip to content

1681-engine / react / CursorTipOptions

Interface: CursorTipOptions ​

Defined in: src/react/placement.ts:37

Properties ​

above? ​

ts
optional above?: boolean;

Defined in: src/react/placement.ts:39

Open over the cursor first (a bar pinned to the bottom edge), not under it.


gap? ​

ts
optional gap?: number;

Defined in: src/react/placement.ts:41

Between the cursor and the tip, up and down (default 12).


margin? ​

ts
optional margin?: number;

Defined in: src/react/placement.ts:44


offsetX? ​

ts
optional offsetX?: number;

Defined in: src/react/placement.ts:43

How far right of the cursor the tip starts, so the pointer never covers it (default 18).


snap? ​

ts
optional snap?: boolean;

Defined in: src/react/placement.ts:45

Released under the MIT License.