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:

fromSearchNote :boolean

Type:
  • boolean
Source:

isExpanded :boolean

Type:
  • boolean
Source:

noteId :string

Type:
  • string
Source:

notePosition :int

Type:
  • int
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