OptionalnoteOptionalnoteOptionalparentOptionalparentOptionalviewReturns a promise which will retrieve the JQuery element of the content of this note context.
Do note that retrieving the content element needs to be handled by the type widget, which is the one which
provides the content element by listening to the executeWithContentElement event. Not all note types support
this.
If no content could be determined null is returned instead.
See docs for isMainContext() for better explanation.
Optionalcallback: GetTextEditorCallbackA main context represents a tab and also the first split. Further splits are the children contexts of the main context. Imagine you have a tab with 3 splits, each showing notes A, B, C (in this order). In such a scenario, A context is the main context (also representing the tab as a whole), and B, C are the children of context A.
true if the context is main (= tab)
Optionaldata: CommandMappings[K]Staticgenerate
Abstract class for all components in the Trilium's frontend.
Contains also event implementation with following properties:
triggerEvent().