Target
Publishes a stable element ID so a plugin overlay can point at its content.
On this page
Props
| Prop | Type | Default | Description |
|---|---|---|---|
id required | string | None | Element ID, unique within the page |
content required | PageNode | readonly PageNode[] | None | Child node or nodes the ID is attached to |
Example
ts
Target({
id: "service-health",
content: Value({ source: health(), field: "score" }),
})