Skip to main content
Version: 1.x.x

onDocumentEvent


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

Description

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

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