Skip to content

waygraph / WaygraphHighlightStub

Interface: WaygraphHighlightStub ​

Defined in: src/engine/stub/ring.ts:21

One named highlight slot on a block (selector + caption).

Extends ​

Properties ​

color? ​

optional color?: string

Defined in: src/engine/stub/ring.ts:64

Caption text color (CSS color). Overrides tone label color when set.


cursor? ​

optional cursor?: boolean

Defined in: src/engine/stub/ring.ts:69

Move the demo cursor to the target while this ring is up (default true for authored stub queues; set false to keep cursor hidden).


detail? ​

optional detail?: string

Defined in: src/engine/stub/ring.ts:26

Extra caption line (ring / slide body).


duration? ​

optional duration?: number | boolean

Defined in: src/engine/stub/ring.ts:12

Min time this fixture stays visible before the demo advances.

  • true - defaults (2000ms normal, FixtureDurationFields.fastMode or 600ms when --fast)
  • number - override normal dwell ms
  • omit / false - no authored dwell (caller keeps its default timing)

Inherited from ​

FixtureDurationFields.duration


fastMode? ​

optional fastMode?: number

Defined in: src/engine/stub/ring.ts:17

Dwell ms when demo --fast / gatesFast (only when duration is set). Default 600.

Inherited from ​

FixtureDurationFields.fastMode


focus? ​

optional focus?: boolean

Defined in: src/engine/stub/ring.ts:60

Spotlight: dim the rest of the page, keep this target as the focal point.


gesture? ​

optional gesture?: "tap" | "hold" | "click" | "swipe"

Defined in: src/engine/stub/ring.ts:84

Pointer feel when touchMode is on (0.13+):

  • tap - short press via touchscreen (default in touch mode)
  • hold - long-press (~600ms) then release
  • click - mouse click even in touch mode

label ​

label: string

Defined in: src/engine/stub/ring.ts:24

Primary caption line.


selector ​

selector: string

Defined in: src/engine/stub/ring.ts:22


size? ​

optional size?: HighlightSize

Defined in: src/engine/stub/ring.ts:40

Ring padding + label font scale: sm | md (default) | lg. Aliases: small/medium/large, s/m/l.


slotId? ​

optional slotId?: string

Defined in: src/engine/stub/ring.ts:77

Slot key from stubBefore/After map (e.g. "username") - set by resolver.


tag? ​

optional tag?: string

Defined in: src/engine/stub/ring.ts:28

Short badge, e.g. AC / BUG / GATE / YAP.


todo? ​

optional todo?: string

Defined in: src/engine/stub/ring.ts:75

Optional link to a todo item id. When set, Method fill/click advances that todo row instead of relying on stub array index (avoids password/submit/username alphabetical reorder bugs).


tone? ​

optional tone?: HighlightTone

Defined in: src/engine/stub/ring.ts:35

Demo ring color + icon:

  • planned blue (authored narration, default)
  • auto gray (engine automation / verify fallback)
  • info teal · warning yellow · danger red · success green · orange orange

weight? ​

optional weight?: HighlightWeight

Defined in: src/engine/stub/ring.ts:45

Label font weight: normal (default) | bold. Aliases: regular, strong.


zoom? ​

optional zoom?: number

Defined in: src/engine/stub/ring.ts:51

Camera zoom while this ring is up (Screen Studio style - page scales toward the target / cursor). Typical 1.25 .. 2. Cleared when the ring hides unless zoomOut: false. Episode default: StubUi.zoom.


zoomOut? ​

optional zoomOut?: boolean

Defined in: src/engine/stub/ring.ts:56

When false, keep the camera zoomed after this ring (pan to the next target instead of zooming out). Default true. Phase default: StubUi.zoomOut.

waygraph 0.18.3 (alpha) · Node 24+ · peer @playwright/test ^1.40.0 · syntax may change before 1.0: see what was removed