onWindowEvent
Import
import { onWindowEvent } from "@hyper-fetch/core"
Source
Package
Parameters
onWindowEvent<K>(key: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options: boolean | AddEventListenerOptions)
Parameters
| Name | Type | Description |
|---|---|---|
| key | | |
| listener | | |
| options | |
Returns
VoidFunction