Callout interface
A label to place a card for, in the host's px: its point, its card and where that goes.
import type { Callout } from '@dioramajs/model/hotspots'interface CalloutMembers
| Name | Type | Description |
|---|---|---|
away | boolean | Turned away: keeps its place, takes no room from the others. |
height | number | |
reach | number | Horizontal px from the point to the near edge of the card. |
shift | number | Vertical px from the point to the middle of the card. |
side | number | -1 left of the point, 1 right; 0 before the first layout. |
width | number | |
x | number | |
y | number |
Defined in packages/model/src/hotspots.ts.