AllWindowsEventComponentRegisterAllWindowsDomEventParams<WindowEventType>
Parameters for AllWindowsEventComponent.registerAllWindowsDomEvent.
Import:
import type { AllWindowsEventComponentRegisterAllWindowsDomEventParams } from '@mnaoumov/obsidian-lib/components/all-windows-event-component';Signature:
export interface AllWindowsEventComponentRegisterAllWindowsDomEventParams<WindowEventType extends keyof WindowEventMap>Properties
| Property | Type | Description |
|---|---|---|
| callback | (this: HTMLElement, $event: WindowEventMap[WindowEventType]) => unknown | The callback to execute. |
| options? | AddEventListenerOptions | boolean | The options for the event. |
| type | WindowEventType | The type of the event. |