Class: RightPanelWidget

RightPanelWidget()

This widget manages rendering panels in the right-hand pane.

Constructor

new RightPanelWidget()

Source:

Extends

Members

hoistedNoteId

Inherited From:
Source:

note

Inherited From:
Source:

noteContext :NoteContext

Type:
  • NoteContext
Inherited From:
Source:

noteId

Inherited From:
Source:

notePath

Inherited From:
Source:

widgetTitle

Title to show in the panel.
Source:

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

Do not override this method unless you know what you're doing.
Overrides:
Source:

(async) doRenderBody() → {JQuery.<HTMLElement>}

Method used for rendering the body of the widget. Your class should override this method.
Source:
Returns:
The body of your widget.
Type
JQuery.<HTMLElement>

isEnabled() → {boolean}

Inherited From:
Source:
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
Inherited From:
Source:
Returns:
Type
Promise.<void>