Kind: Class
Source: atloria-monorepo/packages/tour-widget/src/player.ts
Methods
| Method | Signature | Returns |
|---|---|---|
start | `start(flowOrId: string | CapturedFlow)` |
stop | stop() | void |
next | next() | void |
back | back() | void |
isActive | isActive() | boolean |
Where it refuses work
AtloriaTourPlayerstops the work with an early return when!this.flow.AtloriaTourPlayerstops the work with an early return when!res.ok.AtloriaTourPlayerstops the work with an early return whenel instanceof HTMLElement.AtloriaTourPlayerstops the work with an early return whennode instanceof HTMLElement.AtloriaTourPlayerstops the work with an early return when!this.active || this.loading || this.error.AtloriaTourPlayerstops the work with an early return when!tip.
When something fails
AtloriaTourPlayerhandles failure in 4 places: it discards it silently in 2, logs it and continues in 1, and turns it into a return value in 1.
Was this page helpful?