Skip to content

AllWindowsEventComponentRegisterAllWindowsDomEventParams<WindowEventType>

Parameters for AllWindowsEventComponent.registerAllWindowsDomEvent.

Import:

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

Signature:

export interface AllWindowsEventComponentRegisterAllWindowsDomEventParams<WindowEventType extends keyof WindowEventMap>

Properties

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

Methods

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