# autoEventOf

**Kind:** Function

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

WHEN an auto experience fires. 'load' (the default) shows on page-load/route
change; 'click' / 'element-visible' / 'time-delay' defer until the visitor
acts (the orchestrator wires the DOM listener/observer/timer). Beacon and
launcher modes are user-initiated and never carry an autoEvent.

## Signature

```ts
function autoEventOf(exp: WidgetExperience): AutoEvent
```

## Parameters

| Name | Type |
|---|---|
| `exp` | `WidgetExperience` |

**Returns:** `AutoEvent`
