Skip to content

ClickMouseParams

Parameters for clickMouse.

Import:

import type { ClickMouseParams } from 'obsidian-dev-utils/obsidian/desktop-trusted-input';

Signature:

export interface ClickMouseParams

Properties

PropertyTypeDescription
button?MouseButtonThe mouse button to click with.
modifiers?readonly Modifier[]The modifier keys to hold, using Obsidian's Modifier names. 'Mod' resolves per-platform (Cmd on macOS, Ctrl elsewhere).
xnumberThe x coordinate (web-contents DIP) to click at.
ynumberThe y coordinate (web-contents DIP) to click at.

Links to this page: