Views

Summary

Describes how views work in the plugin

Details

Dendron has two kinds of views, editor views and tree views.

These views can be implemented using either a web view implementation or a native view implementation.

Concepts

Editor View

A view that occupies an editor pane in vscode

Tree View

A view that occupies a side pane in VSCode. More details here

Web View Implementation

A web vies is built using HTML and javascript. A web view can be created for an editor view or a tree view.

More details in Editor

Native View Implementation

A native view is a view that is native to the VSCode.

Lifecycle

Revealing a webview

A panel is a webview in the below diagram

stateDiagram-v2 state check <<choice>> [*] --> PanelCreated? PanelCreated? --> check check --> ViewVisible : true check --> ViewInitializing: false ViewInitializing --> ViewVisible

Lookup


Backlinks