tsParticles - v4.0.0-beta.12
    Preparing search index...
    ThemesContainer: Container & {
        actualOptions: ThemesOptions;
        currentTheme?: string;
        loadTheme?: (name?: string) => Promise<void>;
        manageMediaMatch?: (add: boolean) => void;
        options: ThemesOptions;
        themeHandlers?: ThemeEventListenersHandlers;
        themeMatchMedia?: MediaQueryList;
        themesMaxWidth?: number;
    }

    Container with theme capabilities

    Type Declaration

    • actualOptions: ThemesOptions

      The actual theme options

    • OptionalcurrentTheme?: string

      The currently active theme name

    • OptionalloadTheme?: (name?: string) => Promise<void>

      Loads a theme by name

    • OptionalmanageMediaMatch?: (add: boolean) => void

      Manages media query listeners

    • options: ThemesOptions

      The theme options

    • OptionalthemeHandlers?: ThemeEventListenersHandlers

      The theme change event handlers

    • OptionalthemeMatchMedia?: MediaQueryList

      The media query list for dark mode detection

    • OptionalthemesMaxWidth?: number

      The maximum width for responsive theme