ProtectedattrsOptionalnoteOptionalparentTitle to show in the panel.
Sets the CSS attribute of the given name to the given value.
the name of the CSS attribute to set (e.g. padding-left).
the value of the CSS attribute to set (e.g. 12px).
self for chaining.
Accepts a string of CSS to add with the widget.
for chaining
Do not override this method unless you know what you're doing. Do not override this method unless you know what you're doing.
Method used for rendering the body of the widget (via existing this.$body)
Your class should override this method.
if widget needs async operation to initialize, it can return a Promise
Indicates if the widget is enabled. Widgets are enabled by default. Generally setting this to false will cause the widget not to be displayed, however it will still be available on the DOM but hidden.
If the widget is not enabled, it will not receive `refreshWithNote` updates.
true when an active note exists
Conditionally adds the given components as children to this component.
whether to add the components.
the components to be added as children to this component provided the condition is truthy.
self for chaining.
Sets the CSS attribute of the given name to the given value, but only if the condition provided is truthy.
true in order to apply the CSS, false to ignore it.
the name of the CSS attribute to set (e.g. padding-left).
the value of the CSS attribute to set (e.g. 12px).
self for chaining.
Override this method to be able to refresh your widget with each note.
Optionaldata: CommandMappings[K]
This widget manages rendering panels in the right-hand pane.