Interface PaletteTemplate

Describes the layout of one of the palettes included in a panel shown at the side of a Shell. If the rows field is null or undefined, then the label must match a standard palette name and the optional variant field can name a layout variant.

Hierarchy

  • PaletteTemplate

Index

Properties

Properties

label

label: string

Describes the general type of the actions attached to buttons in the palette. This text is shown in the palette header.

Optional open

open: boolean

If true, the palette starts out open; otherwise the header must be clicked to open it. The default is closed.

Optional rows

An array in which each element represents one row of palette controls.

Optional variant

variant: StandardPaletteVariant | "standard" | "compact"

Specifies which layout variant of a standard palette to request.

This API is still under development and is subject to change. Copyright © Math I Can Do Solutions Incorporated and/or its licensors.