UNPKG

@tsparticles/plugin-hex-color

Version:

tsParticles hex color plugin

19 lines (18 loc) 774 B
(function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === "function" && define.amd) { define(["require", "exports", "./HexColorManager.js"], factory); } })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.loadHexColorPlugin = loadHexColorPlugin; const HexColorManager_js_1 = require("./HexColorManager.js"); async function loadHexColorPlugin(engine, refresh = true) { engine.checkVersion("3.9.1"); await engine.addColorManager(new HexColorManager_js_1.HexColorManager(), refresh); } });