Skip to main content
Version: 3.x.x

onWindowEvent


import { onWindowEvent } from "@hyper-fetch/core"

Description

Defined in managers/app/app.manager.utils.ts:17

Preview

onWindowEvent<K>(key, listener, options)

Parameters

NameDetails

key

Required

K

listener

Required

(this: Window, ev: WindowEventMap[K]) => any

options

Optional

boolean | AddEventListenerOptions

Returns

void