Popup
Represents an informational window that appears when an Object is clicked. Popups can include text, an image, and an optional button with a link or script.
Schema
| Name | Type | Description | Default |
|---|---|---|---|
| id | string | A unique identifier for the popup. | — |
| name | string | A human-readable name for the popup. | Untitled Popup |
| attachedTo | string | ID of the Object this popup is attached to (optional). | — |
| maxWidth | number | Maximum width of the popup in pixels. | 500 |
| title | string | Title text displayed at the top of the popup. | — |
| image | string | URL of an image displayed inside the popup. | — |
| content | string | Main body text of the popup. | — |
| buttonText | string | Text displayed on the popup button. | — |
| buttonAction | "follow-link""none" | Defines what happens when the popup button is clicked. | none |
| buttonLink | string | URL to open if buttonAction = "follow-link". | — |
| openLinkInNewTab | boolean | Whether to open links in a new browser tab. | false |