UNPKG

@tsparticles/interaction-particles-links

Version:

tsParticles links particles interaction

26 lines (25 loc) 720 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LinksShadow = void 0; const engine_1 = require("@tsparticles/engine"); class LinksShadow { constructor() { this.blur = 5; this.color = new engine_1.OptionsColor(); this.color.value = "#000"; this.enable = false; } load(data) { if ((0, engine_1.isNull)(data)) { return; } if (data.blur !== undefined) { this.blur = data.blur; } this.color = engine_1.OptionsColor.create(this.color, data.color); if (data.enable !== undefined) { this.enable = data.enable; } } } exports.LinksShadow = LinksShadow;