Skip to main content

useEventListener

useEventListener<K>(eventName: K,handler: ,capture: boolean): void

Properties

(Mandatory properties are in bold)
PropertiesTypeDescription
eventNameK
handler
Additional properties for advanced use cases
PropertiesTypeDescription
captureboolean