Docs · API reference · Verso.Abstractions

LayoutCapabilities Enum#

Flags that describe which layout and editing operations a notebook layout supports.

public enum LayoutCapabilities

Fields#

None 0

No layout capabilities are supported.

CellInsert 1

New cells can be inserted into the notebook.

CellDelete 2

Existing cells can be deleted from the notebook.

CellReorder 4

Cells can be reordered by dragging or moving.

CellEdit 8

Cell content can be edited by the user.

CellResize 16

Cells can be resized within the layout.

CellExecute 32

Cells can be executed to produce output.

MultiSelect 64

Multiple cells can be selected at the same time.

NotebookEvents 128

The layout receives notebook state-change events pushed from the host (cell executing/completed, outputs updated, variables changed, notebook structure changed, theme changed, kernel restarting/restarted). The host dispatches each as a verso:notebookevent CustomEvent on the page; inline layout scripts subscribe via bridge.onNotebookEvent(...). Layouts that do not declare this capability incur no dispatch overhead.