useEventListener
useEventListener<K>(eventName: K,handler: ,capture: boolean): void
Properties
(Mandatory properties are in bold)| Properties | Type | Description |
|---|---|---|
| eventName | K | |
| handler |
Additional properties for advanced use cases
| Properties | Type | Description |
|---|---|---|
| capture | boolean |