# TemplateEventHandlers

Template `@event` handlers for real DOM events.

## Signatures

```ts
export type TemplateEventHandlers = {
    readonly [K in `@${string}`]?: EffectInput | EventHandler.EventHandler<Event, any, any> | null;
};
```

## Why

Custom or future event names remain expressible without waiting for a DOM
interface update and without introducing a synthetic event layer.

## Ownership and lifetime

The template Scope owns listener installation, abortion, and removal.
