Documentation
    Preparing search index...

    Interface MockThemeState

    In-memory state of the theme mock.

    service.mock.state().current?.title; // 'Mock Dark'
    
    interface MockThemeState {
        changes: number;
        current: Theme | undefined;
        windows: Set<string>;
    }
    Index

    Properties

    changes: number

    Number of setTheme() broadcasts since construction or reset.

    current: Theme | undefined

    Active theme, or undefined when no theme is active.

    windows: Set<string>

    Windows that have talked to the mock and receive theme.changed.