tsParticles - v0.0.0
    Preparing search index...

    Particles interactivity options [[include:Options/Interactivity.md]]

    interface IInteractivity {
        detectsOn: "window" | "canvas" | "parent" | InteractivityDetect;
        events: IEvents;
        modes: IModes;
        [name: string]: unknown;
    }

    Implemented by

    Indexable

    • [name: string]: unknown
    Index

    Properties

    detectsOn: "window" | "canvas" | "parent" | InteractivityDetect

    Where the mouse events will be detected If set to canvas only the particles canvas will be targeted If set to parent only the particles canvas parent will be targeted If set to window every area will be the target

    events: IEvents

    Interaction events options, this configures which events are enabled and which modes should be used

    modes: IModes

    Interaction modes options, this configures every mode behavior