UNPKG

tsparticles

Version:

Easily create highly customizable particle, confetti and fireworks animations and use them as animated backgrounds for your website. Ready to use components available also for React, Vue.js (2.x and 3.x), Angular, Svelte, jQuery, Preact, Riot.js, Inferno.

26 lines (25 loc) 672 B
/** * The particles emitter life options * @category Emitters Plugin */ export interface IEmitterLife { /** * The count of lives the particles emitter has. * If <= 0 or not specified infinity will be the value. * If the count is > 0 it will spawn only that number of times then it'll be destroyed and removed */ count?: number; /** * The duration of any emitter life. * If <= 0 or not specified infinity will be the value. */ duration?: number; /** * The delay between any spawn, except first. */ delay?: number; /** * If enabled the first delay will be applied */ wait: boolean; }