# PlayerHooks

**Kind:** Interface

**Source:** [`atloria-monorepo/packages/tour-widget/src/player.ts`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/packages/tour-widget/src/player.ts#L45)

Lifecycle hooks the orchestrator subscribes to (all optional).

## Properties

| Property | Type |
|---|---|
| `onStart` | `(flow: CapturedFlow) => void` |
| `onStep` | `(step: CapturedStep, index: number, found: boolean) => void` |
| `onComplete` | `(flow: CapturedFlow) => void` |
| `onDismiss` | `(flow: CapturedFlow | null, index: number) => void` |
