SDK JS
    Preparing search index...

    The immutable widget state, evolved only through reduce.

    interface WidgetState {
        date: Date;
        enabled: boolean;
        lng: number;
        minute: number;
        shadows: boolean;
    }
    Index

    Properties

    date: Date

    The instant currently shown (a real UTC instant).

    enabled: boolean

    Master on/off for the geo-sun system.

    lng: number

    Longitude in degrees the solar time is referenced to.

    minute: number

    Local solar minute-of-day in [0, 1440) at WidgetState.lng.

    shadows: boolean

    Whether the Shadows toggle is on.