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

    [[include:Options/Plugins/Emitters.md]]

    Implements

    Index

    Constructors

    Properties

    autoPlay: boolean

    Starts the emitter automatically

    direction?:
        | number
        | MoveDirection
        | MoveDirectionAlt
        | "bottom"
        | "bottomLeft"
        | "bottomRight"
        | "left"
        | "none"
        | "right"
        | "top"
        | "topLeft"
        | "topRight"
        | "outside"
        | "inside"

    The direction of the emitted particles

    domId?: string

    The DOM element id to link the emitter to an HTML element

    fill: boolean

    Sets if the particles will spawn at the emitter perimeter or inside the area

    The emitter life options

    name?: string

    The emitter name

    Particles emitted customization

    The relative position of the emitter

    The particles emitting rate options

    The emitter shape options

    The size of the particles emitter area

    The emitter spawn options

    spawnFillColor?: AnimatableColor

    The particle spawn fill color

    spawnStrokeColor?: AnimatableColor

    The particle spawn stroke color

    startCount: number

    The number of starting particles of the emitter

    Methods