Extends
Members
hoistedNoteId
note
noteContext :NoteContext
Type:
- NoteContext
noteId
notePath
Methods
cssBlock(block) → {this}
Accepts a string of CSS to add with the widget.
Parameters:
Name | Type | Description |
---|---|---|
block |
string |
- Inherited From:
- Source:
Returns:
for chaining
- Type
- this
doRender() → {JQuery.<HTMLElement>}
Method used for rendering the widget.
Your class should override this method.
- Inherited From:
- Source:
Returns:
Your widget.
- Type
- JQuery.<HTMLElement>
isEnabled() → {boolean}
Returns:
true when an active note exists
- Type
- boolean
(async) refreshWithNote(note) → {Promise.<void>}
Override this method to be able to refresh your
widget with each note.
Parameters:
Name | Type | Description |
---|---|---|
note |
FNote |
Returns:
- Type
- Promise.<void>