ObsidianIpcMenuItemStateUpdate
Unofficial
A change to one application menu item, as Obsidian’s update-menu-items IPC channel takes it.
Import:
import type { ObsidianIpcMenuItemStateUpdate } from '@obsidian-typings/obsidian-public-latest';Signature:
export interface ObsidianIpcMenuItemStateUpdateProperties
| Property | Type | Description | |
|---|---|---|---|
| eState | Partial<ElectronMenuItem> | The properties to assign to the menu item. | |
| itemId | string | The id of the menu item to change; an unknown id is ignored. |