Skip to content

NotebookSpecBuilder🔗

A notebook spec is a dashboard spec with narrative content. It has a title, optional description, tags, time

settings, and a map of elements (panels and cells) referenced by the layout.

Constructor🔗

new NotebookSpecBuilder()

Methods🔗

build🔗

Builds the object.

build()

description🔗

description(description: string)

elements🔗

elements(elements: Record<string, cog.Builder<dashboardv2beta1.NotebookElement>>)

layout🔗

layout(layout: cog.Builder<dashboardv2beta1.NotebookLayoutKind>)

tags🔗

tags(tags: string[])

timeSettings🔗

timeSettings(timeSettings: cog.Builder<dashboardv2beta1.TimeSettingsSpec>)

title🔗

title(title: string)

See also🔗