tsParticles - v4.0.0-beta.12
    Preparing search index...
    ThemesOptions: Options & {
        findDefaultTheme?: (mode: ThemeMode) => Theme | undefined;
        setTheme?: (name?: string) => void;
        themes?: Theme[];
    }

    Themes plugin options class

    Type Declaration

    • OptionalfindDefaultTheme?: (mode: ThemeMode) => Theme | undefined

      Finds the default theme for the given mode

    • OptionalsetTheme?: (name?: string) => void

      Sets the active theme by name

    • Optionalthemes?: Theme[]

      The array of theme configurations