Import
import { Dom } from "@typed/ui";Access Dom.EventHandlerInput through the imported Dom export. Its declaration below describes the member.
This public exposure is a re-export. Its import path is supported; declaration documentation is shared with the other public exposures below.
Signatures
export type EventHandlerInput<Ev extends Event = Event, E = any, R = any> = Effect.Effect<unknown, E, R> | EventHandler.EventHandler<Ev, E, R> | null | undefined;Why
Components can accept a simple Effect or preserve listener options through
EventHandler without wrapping browser events in synthetic objects.
Ownership and lifetime
The template Scope installs/removes the listener; an AbortSignal or once
option may end the handler sooner.
Other public imports
These import paths expose the same declaration. Each page retains its own public name and signature.