UNPKG

@tsparticles/updater-rotate

Version:

tsParticles particles rotate updater

10 lines (9 loc) 546 B
import { type IOptionLoader, type RecursivePartial, RotateDirection, type RotateDirectionAlt, ValueWithRandom } from "@tsparticles/engine"; import type { IRotate } from "../Interfaces/IRotate.js"; import { RotateAnimation } from "./RotateAnimation.js"; export declare class Rotate extends ValueWithRandom implements IRotate, IOptionLoader<IRotate> { readonly animation: RotateAnimation; direction: RotateDirection | keyof typeof RotateDirection | RotateDirectionAlt; path: boolean; load(data?: RecursivePartial<IRotate>): void; }