Skip to content

getAllDomWindows

Returns all DOM windows in the workspace.

Import:

import { getAllDomWindows } from 'obsidian-dev-utils/obsidian/workspace';

Signature:

function getAllDomWindows(app: App): Window[]

Parameters:

ParameterTypeDescription
appAppThe Obsidian app.

Returns: Window[] — All DOM windows in the workspace.