Skip to content

Documentation / jpl-vite / api / MenuItemLocation

Enumeration: MenuItemLocation

Defined in: joplin-plugin-api/dist/types.d.ts:189

Enumeration Members

Context

Context: "context"

Defined in: joplin-plugin-api/dist/types.d.ts:199

Deprecated

Do not use - same as NoteListContextMenu


Edit

Edit: "edit"

Defined in: joplin-plugin-api/dist/types.d.ts:191


EditorContextMenu

EditorContextMenu: "editorContextMenu"

Defined in: joplin-plugin-api/dist/types.d.ts:207


File

File: "file"

Defined in: joplin-plugin-api/dist/types.d.ts:190


FolderContextMenu

FolderContextMenu: "folderContextMenu"

Defined in: joplin-plugin-api/dist/types.d.ts:214

When a command is called from a folder context menu, the command will receive the following arguments:

  • folderId:string: ID of the folder that was right-clicked on

Help

Help: "help"

Defined in: joplin-plugin-api/dist/types.d.ts:195


Note

Note: "note"

Defined in: joplin-plugin-api/dist/types.d.ts:193


NoteListContextMenu

NoteListContextMenu: "noteListContextMenu"

Defined in: joplin-plugin-api/dist/types.d.ts:206

When a command is called from the note list context menu, the command will receive the following arguments:

  • noteIds:string[]: IDs of the notes that were right-clicked on.

TagContextMenu

TagContextMenu: "tagContextMenu"

Defined in: joplin-plugin-api/dist/types.d.ts:221

When a command is called from a tag context menu, the command will receive the following arguments:

  • tagId:string: ID of the tag that was right-clicked on

Tools

Tools: "tools"

Defined in: joplin-plugin-api/dist/types.d.ts:194


View

View: "view"

Defined in: joplin-plugin-api/dist/types.d.ts:192

Released under the MIT License.