UNPKG

@tsparticles/plugin-export-image

Version:

tsParticles export image plugin

20 lines (19 loc) 568 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ExportImagePlugin = void 0; const ExportImageInstance_js_1 = require("./ExportImageInstance.js"); class ExportImagePlugin { constructor(engine) { this.id = "export-image"; this._engine = engine; } getPlugin(container) { return Promise.resolve(new ExportImageInstance_js_1.ExportImageInstance(container, this._engine)); } loadOptions() { } needsPlugin() { return true; } } exports.ExportImagePlugin = ExportImagePlugin;