Back to Trilium

Interface ContextMenuCommandData

docs/Script API/interfaces/Frontend_Script_API._internal_.ContextMenuCommandData.html

0.102.21.7 KB
Original Source

Interface ContextMenuCommandData

Represents a set of commands that are triggered from the context menu, providing information such as the selected note.

interface ContextMenuCommandData {
node: FancytreeNode;
noteId?: string;
notePath?: string;
ntxId?: null | string;
selectedOrActiveBranchIds?: any;
selectedOrActiveNoteIds: any;
}

Hierarchy (View Summary)

Index

Properties

nodenoteId?notePath?ntxId?selectedOrActiveBranchIds?selectedOrActiveNoteIds

Properties

node

node: FancytreeNode

OptionalnoteId

noteId?: string

OptionalnotePath

notePath?: string

OptionalntxId

ntxId?: null | string

OptionalselectedOrActiveBranchIds

selectedOrActiveBranchIds?: any

selectedOrActiveNoteIds

selectedOrActiveNoteIds: any

Settings

Member Visibility

  • Protected
  • Inherited
  • External

ThemeOSLightDark

On This Page

Properties nodenoteIdnotePathntxIdselectedOrActiveBranchIdsselectedOrActiveNoteIds