EventHandler
EventHandler<
T> = (eventName,event) =>void
The function signature for an event handler.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
|
|
|
the name of the event that fired |
|
|
|
the event payload |
Returns
Section titled “Returns”void