charton API / @chart-on/ui / index / ChartSettingsAction
Interface: ChartSettingsAction
Defined in: ui/src/chart-settings.ts:55
An app button in the settings dialog: one that leads elsewhere sits under the sections, one that acts on the dialog in the footer.
Properties
id
id:
string
Defined in: ui/src/chart-settings.ts:56
label
label:
string
Defined in: ui/src/chart-settings.ts:57
placement?
optionalplacement?:"footer"|"nav"
Defined in: ui/src/chart-settings.ts:64
nav (default): under the section list, with the keyboard shortcuts button, for a button that opens something else. footer: at the footer start, for one that acts on the dialog itself.
Methods
onClick()
onClick(
chart):void
Defined in: ui/src/chart-settings.ts:58
Parameters
chart
Returns
void