EventCallback<E extends Event> typedef
EventCallback<E extends Event> =
void Function(E event)
A strongly typed DOM event callback.
The generic type E defines the concrete Event subtype
expected by the listener.
Implementation
typedef EventCallback<E extends Event> = void Function(E event);