AnchorSpec ​

Contract 2.0.0 · package sha256 a857eca95b35921109faf997094bb4192f12527d9d0fcd4be7e97f06425bad6e · generated from configurator-runtime.d.ts by services/onsite-scripter/scripts/build-contract-docs.mjs; edit the source, not this file.

Interface · import type { AnchorSpec } from '@holostep-configurators/runtime-client/contract'; · stable · since 2.0.0 · section 13. Overlays

A point the runtime tracks on screen for your own DOM.

Members ​

Member Kind Summary
id property Unique among the anchors; 'anchors:moved' reports it.
at property World point, or local to the first part on matches in document order (Parts.first()): for { node }, which matches the model's root and every part under it, that is the model's root, so the point is in the model's…
on? property Follow this part: the first one the query matches in document order (see at).

Declaration ​

ts
export interface AnchorSpec {
  id: string;
  at: Point3;
  on?: Query;
}

Generic-API test (spec 3.1) ​

Rule Result
1. Neutral name pass: AnchorSpec names no product
2. A precedent not recorded: no ledger row (coverage.json) names this member or its owner
3. Two apps, or labs not recorded: no ledger row names this member or its owner
4. The cheaper fix first not recorded per member (Appendix B decides it per need)