Skip to content

charton API


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

Function: clock() ​

clock(): ToolbarItemLayout & object

Defined in: ui/src/bottombar.ts:236

A clock in the chart's timezone. It is a button that opens the chart settings (settingsOf) on their Time section, or else the shell's timezone menu (timezoneMenu), and plain text when neither exists.

Returns ​