The bar's controls without its markup: what the phone layout's sheets show in its place, since the bar itself is hidden there.

interface BottombarControls {
    clock(): string;
    marketStatus(): null | MarketStatusReading;
    range(): null | string;
    ranges(): readonly WidgetRange[];
    scale(): null | BottombarScaleState;
    setRange(id: string): void;
    setTimezone(zone: string): void;
    subscribe(listener: () => void): () => void;
    timezone(): string;
    timezones(): readonly string[];
    toggleScale(which: BottombarScaleToggle): void;
}

Methods

  • Called when a range, the zone, the scale or the status changes; returns the unsubscribe.

    Parameters

    • listener: () => void

    Returns () => void

  • The zones the timezone choice lists, the current one included.

    Returns readonly string[]