# EventDoc

interface in `@dioramajs/diorama/effects`

```ts
import type { EventDoc } from '@dioramajs/diorama/effects'
```

A DOM event an effect dispatches on its element.

```ts
interface EventDoc
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `description` | `string` | One sentence. |
| `detail` | `string` | TypeScript type of `detail` as text: '{ marker: Element \| null; id: string \| null }'. |
| `name` | `string` | 'dio:marker'. Dispatched on the effect's element, bubbles. |

Also exported from `@dioramajs/effects`.

Defined in [packages/effects/src/doc.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/effects/src/doc.ts#L30).
