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