ClickMouseParams
Parameters for clickMouse.
Import:
import type { ClickMouseParams } from 'obsidian-dev-utils/obsidian/desktop-trusted-input';Signature:
export interface ClickMouseParamsProperties
| Property | Type | Description |
|---|---|---|
| button? | MouseButton | The 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). |
| x | number | The x coordinate (web-contents DIP) to click at. |
| y | number | The y coordinate (web-contents DIP) to click at. |
Links to this page: