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

    Constructors

    Properties

    interactivityData: IInteractivityData

    The current interactivity state data

    Methods

    • Adds a click/touch handler to the container element

      Parameters

      • callback: (evt: Event, particles?: Particle[]) => void

        the callback to invoke on click/touch

      Returns void

    • Iterates through the external interactivity manager and call the interact method, if they are enabled

      Parameters

      • delta: IDelta

        this variable contains the delta between the current frame and the previous frame

      Returns void

    • Handles a click mode for all external interactors

      Parameters

      • mode: string

        the click mode to handle

      Returns void

    • Initializes the interaction manager, loading all the engine registered managers into the container

      Returns void

    • Iterates through the particles interactions manager and call the interact method, if they are enabled

      Parameters

      • particle: Particle

        the particle responsible for the current interaction

      • delta: IDelta

        this variable contains the delta between the current frame and the previous frame

      Returns void

    • Iterates through the external interactivity manager and call the interact method, if they are enabled

      Parameters

      • particle: Particle

        the particle to reset

      Returns void

    • Starts observing the container element for intersection changes

      Returns void

    • Stops observing the container element for intersection changes

      Returns void