ForEachWindowParams
Parameters for forEachWindow.
Import:
import type { ForEachWindowParams } from '@mnaoumov/obsidian-lib/components/all-windows-event-component';Signature:
export interface ForEachWindowParamsProperties
| Property | Type | Description |
|---|---|---|
| app | App | The Obsidian app instance. |
| callback | (win: Window) => unknown | The handler, optionally returning cleanup for that window. |
| component | Component | The component that owns the registration and its cleanup. |
Links to this page: