Skip to content

CapturedStep

reference
1 min readUpdated

Kind: Interface

Source: atloria-monorepo/packages/tour-widget/src/player.ts

Atloria Tour Player — the live-DOM guided-tour engine (unchanged behaviour from the original single-file widget; extracted so the D2 orchestrator can drive it alongside checklists / announcements / NPS). It resolves each step's REAL element (selector → xpath fallback), spotlights it and pins a tooltip.

D2 additions are surgical: an optional hooks bag lets the orchestrator observe lifecycle (started / step viewed / a missing element / completed / dismissed) for analytics — the rendering is untouched.

Properties

PropertyType
ordernumber
action`'click'
selectorstring
xpathstring
elementTextstring
elementRolestring
urlstring
boundingBox{ x: number; y: number; w: number; h: number }
valuestring
notestring
tsnumber

Was this page helpful?

Download as PDF