tsParticles - v4.0.0-beta.12
    Preparing search index...

    Options to set the default theme

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    auto: boolean

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

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

    Default theme mode

    value: boolean

    Sets or unsets the default flag to this theme and mode

    Methods