Skip to content

charton API


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

Function: favoriteIntervals() ​

favoriteIntervals(list, options?): ToolbarItemLayout & object

Defined in: ui/src/favorites-toolbar.ts:51

Interval switcher showing the starred intervals as buttons, plus a menu of all of list with a star each (kind interval of the shell's favourites). Without the shell's favorites part every interval is a button, as in intervals. Takes the options of intervals except display.

Parameters ​

list ​

readonly Interval[]

options? ​

Omit<IntervalsPresetOptions, "display"> = {}

Returns ​