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()

Members

branchId :string

primary key
Type:
  • string

fromSearchNote :boolean

Type:
  • boolean

isExpanded :boolean

Type:
  • boolean

noteId :string

Type:
  • string

notePosition :int

Type:
  • int

parentNoteId :string

Type:
  • string

prefix :string

Type:
  • string

Methods

(async) getNote() → {FNote}

Returns:
Type
FNote

getNoteFromCache() → {FNote}

Returns:
Type
FNote

(async) getParentNote() → {FNote}

Returns:
Type
FNote

isTopLevel() → {boolean}

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