charton API / @chart-on/ui / index / ToolbarButtonContent
Interface: ToolbarButtonContent
Defined in: ui/src/toolbar.ts:69
What a button shows while it follows the chart; see the button's content.
Properties
detail?
optionaldetail?:string
Defined in: ui/src/toolbar.ts:73
Smaller, muted text after it, e.g. an exchange. Drops when the toolbar is narrow.
keys?
optionalkeys?:string
Defined in: ui/src/toolbar.ts:79
Keyboard shortcuts in aria-keyshortcuts form, e.g. Control+K /.
label?
optionallabel?:string
Defined in: ui/src/toolbar.ts:75
Accessible name. Default the item's label.
text
text:
string
Defined in: ui/src/toolbar.ts:71
Visible text beside the icon.
tip?
optionaltip?:string
Defined in: ui/src/toolbar.ts:77
Tooltip. Default the item's label.