SurfacePointing

What is under the pointer, for pointSurfaceTooltip.

@internote/canvas-sdk/reactInterface
On this page
import { SurfacePointing } from '@internote/canvas-sdk/react';

#Fields

keyRequired
What it is — v3, e12 — so the card is rebuilt only when that changes, not on every move.
string
tipRequired
What the tooltip says, asked only when key changes.
() => SurfaceTip | null
withinRequired
The element the surface is drawn in; the card goes when it does.
Element
xRequired
Where the pointer is, in client pixels.
number
yRequired
number

Declared in packages/canvas-sdk/src/react/surface-tooltip.tsx:139.

Last updated