Type Alias: MountedHint
ts
type MountedHint = {
animate: boolean;
className: string;
element: Element;
expanded: boolean;
hidden: boolean;
hint: DriverHint;
id: string;
label: string;
pageX: number;
pageY: number;
x: number;
y: number;
};A hint currently on the page, as rendered by <DriverHints>.
Properties
| Property | Type | Description |
|---|---|---|
animate | boolean | - |
className | string | - |
element | Element | - |
expanded | boolean | This hint's popover is open. |
hidden | boolean | The element scrolled out of view; the beacon is hidden. |
hint | DriverHint | - |
id | string | - |
label | string | - |
pageX | number | The same point in document coordinates (viewport + scroll offset). The beacon is positioned absolutely with these, so it scrolls with the page natively instead of chasing the scroll from JavaScript. |
pageY | number | - |
x | number | The beacon's anchor point, in viewport coordinates (the beacon is centered on it). |
y | number | - |