tsParticles - v4.2.1
    Preparing search index...

    Options to set the default theme

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    auto: boolean = false

    If set to true, this theme will be switched when the mode matches the user OS theme

    mode: "any" | "dark" | "light" | ThemeMode = ThemeMode.any

    Default theme mode

    value: boolean = false

    Sets or unsets the default flag to this theme and mode

    Methods