Skip to content

AllWindowsEventComponentRegisterAllDocumentsDomEventParams<DocumentEventType>

Parameters for AllWindowsEventComponent.registerAllDocumentsDomEvent.

Import:

import type { AllWindowsEventComponentRegisterAllDocumentsDomEventParams } from 'obsidian-dev-utils/obsidian/components/all-windows-event-component';

Signature:

export interface AllWindowsEventComponentRegisterAllDocumentsDomEventParams<DocumentEventType extends keyof DocumentEventMap>

Properties

PropertyTypeDescription
options?AddEventListenerOptions | booleanThe options for the event.
typeDocumentEventTypeThe type of the event.

Methods

MethodReturnsDescription
callback(this, evt)unknownThe callback to execute.