Class: FBranch

FBranch()

Branch represents a relationship between a child note and its parent note. Trilium allows a note to have multiple parents.

Constructor

new FBranch()

Source:

Members

branchId :string

primary key
Type:
  • string
Source:

froca :Froca

Type:
  • Froca
Source:

fromSearchNote :boolean

Type:
  • boolean
Source:

isExpanded :boolean

Type:
  • boolean
Source:

noteId :string

Type:
  • string
Source:

notePosition :int

Type:
Source:

parentNoteId :string

Type:
  • string
Source:

prefix :string

Type:
  • string
Source:

Methods

(async) getNote() → {FNote}

Source:
Returns:
Type
FNote

getNoteFromCache() → {FNote}

Source:
Returns:
Type
FNote

(async) getParentNote() → {FNote}

Source:
Returns:
Type
FNote

isTopLevel() → {boolean}

Source:
Returns:
true if it's top level, meaning its parent is the root note
Type
boolean