UNPKG

@tsparticles/shape-text

Version:
11 lines (10 loc) 354 B
import { validTypes } from "./Utils.js"; export async function loadTextShape(engine) { engine.checkVersion("4.1.0"); await engine.pluginManager.register(e => { e.pluginManager.addShape(validTypes, async () => { const { TextDrawer } = await import("./TextDrawer.js"); return new TextDrawer(); }); }); }