GeoLeaf Core API - v3.0.0
    Preparing search index...

    Variable _UIThemeConst

    _UITheme: {
        initThemeToggle: (
            options?: { buttonSelector?: string; autoInitOnDomReady?: boolean },
        ) => void;
        initAutoTheme: (themeConfig?: string) => void;
        toggleTheme: () => void;
        applyTheme: (theme: string, persist?: boolean) => void;
        getCurrentTheme: () => string;
        THEME_LIGHT: string;
        THEME_DARK: string;
    } = ...

    Type Declaration

    • initThemeToggle: (options?: { buttonSelector?: string; autoInitOnDomReady?: boolean }) => void
    • initAutoTheme: (themeConfig?: string) => void
    • toggleTheme: () => void
    • applyTheme: (theme: string, persist?: boolean) => void
    • getCurrentTheme: () => string
    • THEME_LIGHT: string
    • THEME_DARK: string