1681-engine / react / cursorTip
Function: cursorTip() ​
ts
function cursorTip(
x,
y,
tip,
viewport,
options?
): TooltipPlacement;Defined in: src/react/placement.ts:49
A tooltip of tip size by the cursor: under it while it fits, over it when not, slid to stay on screen.
Parameters ​
| Parameter | Type |
|---|---|
x | number |
y | number |
tip | Size |
viewport | Size |
options | CursorTipOptions |