ClickMouseParams.window?
ClickMouseParams › window?
Type: Window
The Obsidian window to click in: the main window or a popout. Pass the window that owns the target, e.g.leaf.view.containerEl.win for a popout leaf. Each Obsidian window is its own Electron web contents, so a click sent to one never reaches another, and the coordinates are in the named window's viewport.**On mobile** there are no popouts, so any window but the main one throws.