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.
37 lines (36 loc) • 1.07 kB
TypeScript
import type { RangeValue, RecursivePartial } from "../../../../Types";
import type { IAttract } from "../../../Interfaces/Particles/Move/IAttract";
import type { ICoordinates } from "../../../../Core";
import type { IOptionLoader } from "../../../Interfaces/IOptionLoader";
/**
* @category Options
*/
export declare class Attract implements IAttract, IOptionLoader<IAttract> {
/**
*
* @deprecated this property is obsolete, please use the new rotate.x
*/
get rotateX(): number;
/**
*
* @deprecated this property is obsolete, please use the new rotate.x
* @param value
*/
set rotateX(value: number);
/**
*
* @deprecated this property is obsolete, please use the new rotate.y
*/
get rotateY(): number;
/**
*
* @deprecated this property is obsolete, please use the new rotate.y
* @param value
*/
set rotateY(value: number);
distance: RangeValue;
enable: boolean;
rotate: ICoordinates;
constructor();
load(data?: RecursivePartial<IAttract>): void;
}