-
-
Notifications
You must be signed in to change notification settings - Fork 21
INoteToolbarApi.Interface.NtbMenuItem.md
Chris Gurney edited this page Apr 2, 2026
·
5 revisions
obsidian-note-toolbar / INoteToolbarApi / NtbMenuItem
Defines a menu item that can be dynamically created and displayed via ntb.menu().
optionalicon?:string
Optional icon to display in the menu item.
optionalid?:string
Optional ID to add to the menu item when it's rendered.
1.27
label:
string
Label for the menu item.
type:
"command"|"file"|"uri"
Type of the menu item. Can be command, file, or uri.
value:
string
Value for the menu item. For command, this is the command ID.
User Guide • Gallery • Note Toolbar API • Support • Discussions ↗ • Release Notes ↗ • Roadmap
Note Toolbar by Chris Gurney • Buy me a coffee ☕️