Skip to content

INoteToolbarApi.Interface.NtbMenuItem.md

Chris Gurney edited this page Jun 25, 2025 · 5 revisions

Defines a menu item that can be dynamically created and displayed via ntb.menu().

Properties

icon?

optional icon: string

Optional icon to display in the menu item.


label

label: string

Label for the menu item.


type

type: "file" | "command" | "uri"

Type of the menu item. Can be command, file, or uri.


value

value: string

Value for the menu item. For command, this is the command ID.

Clone this wiki locally