Skip to main content
Version: 2.x.x

onWindowEvent


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

Description

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

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