Skip to main content
Version: 3.x.x

onDocumentEvent


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

Description

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

Preview

onDocumentEvent<K>(key, listener, options)

Parameters

NameDetails

key

Required

K

listener

Required

(this: Document, ev: DocumentEventMap[K]) => any

options

Optional

boolean | AddEventListenerOptions

Returns

void