UNPKG

2.22 kBJavaScriptView Raw
1(function (factory) {
2 if (typeof module === "object" && typeof module.exports === "object") {
3 var v = factory(require, exports);
4 if (v !== undefined) module.exports = v;
5 }
6 else if (typeof define === "function" && define.amd) {
7 define(["require", "exports", "tsparticles-plugin-absorbers", "tsparticles-updater-destroy", "tsparticles-plugin-emitters", "tsparticles-interaction-external-trail", "tsparticles-updater-roll", "tsparticles-slim", "tsparticles-updater-tilt", "tsparticles-updater-twinkle", "tsparticles-updater-wobble"], factory);
8 }
9})(function (require, exports) {
10 "use strict";
11 Object.defineProperty(exports, "__esModule", { value: true });
12 exports.loadFull = void 0;
13 const tsparticles_plugin_absorbers_1 = require("tsparticles-plugin-absorbers");
14 const tsparticles_updater_destroy_1 = require("tsparticles-updater-destroy");
15 const tsparticles_plugin_emitters_1 = require("tsparticles-plugin-emitters");
16 const tsparticles_interaction_external_trail_1 = require("tsparticles-interaction-external-trail");
17 const tsparticles_updater_roll_1 = require("tsparticles-updater-roll");
18 const tsparticles_slim_1 = require("tsparticles-slim");
19 const tsparticles_updater_tilt_1 = require("tsparticles-updater-tilt");
20 const tsparticles_updater_twinkle_1 = require("tsparticles-updater-twinkle");
21 const tsparticles_updater_wobble_1 = require("tsparticles-updater-wobble");
22 async function loadFull(engine) {
23 await (0, tsparticles_slim_1.loadSlim)(engine);
24 await (0, tsparticles_updater_destroy_1.loadDestroyUpdater)(engine);
25 await (0, tsparticles_updater_roll_1.loadRollUpdater)(engine);
26 await (0, tsparticles_updater_tilt_1.loadTiltUpdater)(engine);
27 await (0, tsparticles_updater_twinkle_1.loadTwinkleUpdater)(engine);
28 await (0, tsparticles_updater_wobble_1.loadWobbleUpdater)(engine);
29 await (0, tsparticles_interaction_external_trail_1.loadExternalTrailInteraction)(engine);
30 await (0, tsparticles_plugin_absorbers_1.loadAbsorbersPlugin)(engine);
31 await (0, tsparticles_plugin_emitters_1.loadEmittersPlugin)(engine);
32 }
33 exports.loadFull = loadFull;
34});