Skip to content

NotebookLayoutItemSpecBuilder🔗

One ordered item in a notebook layout. element references either a CellKind

(markdown/code content) or a V2PanelKind in the notebook's elements map. source

records who authored the cell; collapsed hides the body in the UI.

Constructor🔗

new NotebookLayoutItemSpecBuilder()

Methods🔗

build🔗

Builds the object.

build()

collapsed🔗

collapsed(collapsed: boolean)

element🔗

element(element: cog.Builder<dashboardv2beta1.ElementReference>)

source🔗

source(source: "assistant" | "user")

See also🔗