docs/Script API/classes/Frontend_Script_API.FBranch.html
Branch represents a relationship between a child note and its parent note. Trilium allows a note to have multiple parents.
branchIdfromSearchNoteisExpanded?noteIdnotePositionparentNoteIdprefix?
getNotegetNoteFromCachegetParentNoteisTopLevelupdate
new FBranch(froca: Froca, row: FBranchRow): FBranch
branchId: string
primary key
fromSearchNote: boolean
OptionalisExpandedisExpanded?: boolean
noteId: string
notePosition: number
parentNoteId: string
Optionalprefixprefix?: string
get pojo(): Omit<FBranch, "froca">
get toString(): string
getNote(): Promise<null | FNote>
getNoteFromCache(): FNote
getParentNote(): Promise<null | FNote>
isTopLevel(): boolean
true if it's top level, meaning its parent is the root note
update(row: FBranchRow): void
Member Visibility
ThemeOSLightDark
Constructors constructor Properties branchIdfromSearchNoteisExpandednoteIdnotePositionparentNoteIdprefix Accessors pojotoString Methods getNotegetNoteFromCachegetParentNoteisTopLevelupdate