UNPKG

@tsparticles/updater-rotate

Version:

tsParticles particles rotate updater

11 lines (10 loc) 436 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.loadRotateUpdater = loadRotateUpdater; const RotateUpdater_js_1 = require("./RotateUpdater.js"); async function loadRotateUpdater(engine, refresh = true) { engine.checkVersion("3.9.0"); await engine.addParticleUpdater("rotate", container => { return Promise.resolve(new RotateUpdater_js_1.RotateUpdater(container)); }, refresh); }