Skip to content

charton API


charton API / @chart-on/ui / index / DrawingSettingsOptions

Interface: DrawingSettingsOptions ​

Defined in: ui/src/drawing-settings.ts:372

Options for openDrawingSettings and createDrawingSettings, and the shell's drawingSettings option.

Properties ​

headerControl? ​

optional headerControl?: (context) => { el: HTMLElement; destroy: void; } | null

Defined in: ui/src/drawing-settings.ts:378

A control for the dialog's header, made when the dialog of a drawing with style fields opens and destroyed when it closes; null for none. The template menu of @chart-on/ui/templates (drawingTemplates()) is one.

Parameters ​

context ​

DrawingSettingsContext

Returns ​

{ el: HTMLElement; destroy: void; } | null