UNPKG

tsparticles

Version:

Porting of the abandoned Vincent Garreau's particles.js, converted in TypeScript. Added many new cool features and various bug fixes.

13 lines (12 loc) 256 B
export class GrabLineLinked { constructor() { this.opacity = 1; } load(data) { if (data !== undefined) { if (data.opacity !== undefined) { this.opacity = data.opacity; } } } }