Implements

Indexable

  • [name: string]: unknown

Constructors

  • Parameters

    Returns Options

Properties

autoPlay: boolean
background: Background
backgroundMask: BackgroundMask
clear: boolean
defaultThemes: DefaultThemes
delay: RangeValue
detectRetina: boolean
duration: RangeValue
fpsLimit: number
fullScreen: FullScreen
interactivity: Interactivity
key?: string
manualParticles: ManualParticle[]
name?: string
particles: ParticlesOptions
pauseOnBlur: boolean
pauseOnOutsideViewport: boolean
preset?: SingleOrMultiple<string>
responsive: Responsive[]
smooth: boolean
style: RecursivePartial<CSSStyleDeclaration>
themes: Theme[]
zLayers: number

Methods

  • Parameters

    • width: number
    • pxRatio: number
    • defaultOptions: IOptions

    Returns undefined | number

  • Parameters

    • Optionalname: string

    Returns void