Skip to content

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-catalyst-latest';

Signature:

export interface ObsidianIpcMenuItemStateUpdate

Properties

PropertyTypeDescription
eStatePartial<ElectronMenuItem>The properties to assign to the menu item.
itemIdstringThe id of the menu item to change; an unknown id is ignored.