Skip to content

ForEachWindowParams

Parameters for forEachWindow.

Import:

import type { ForEachWindowParams } from '@mnaoumov/obsidian-lib/components/all-windows-event-component';

Signature:

export interface ForEachWindowParams

Properties

PropertyTypeDescription
appAppThe Obsidian app instance.
callback(win: Window) => unknownThe handler, optionally returning cleanup for that window.
componentComponentThe component that owns the registration and its cleanup.

Links to this page: