Branch(branchId, noteId, parentNoteId, notePosition, prefix, isExpanded, isDeleted, dateModified, dateCreated)
Branch represents note's placement in the tree - it's essentially pair of noteId and parentNoteId.
Each note can have multiple (at least one) branches, meaning it can be placed into multiple places in the tree.
Constructor
new Branch(branchId, noteId, parentNoteId, notePosition, prefix, isExpanded, isDeleted, dateModified, dateCreated)
Parameters:
Name |
Type |
Description |
branchId |
string
|
primary key |
noteId |
string
|
|
parentNoteId |
string
|
|
notePosition |
int
|
|
prefix |
string
|
|
isExpanded |
boolean
|
|
isDeleted |
boolean
|
|
dateModified |
string
|
|
dateCreated |
string
|
|
- Source:
Extends
Methods
(async) getNote() → {Note|null}
- Source:
Returns:
-
Type
-
Note
|
null