tsparticles-shape-multiline-text
Advanced tools
Weekly downloads
Readme
tsParticles additional multiline text shape.
The CDN/Vanilla version JS has one required file in vanilla configuration:
Including the tsparticles.shape.multiline-text.min.js
file will export the function to load the shape:
loadMultilineTextShape
Once the scripts are loaded you can set up tsParticles
and the shape like this:
loadMultilineTextShape(tsParticles);
tsParticles.load("tsparticles", {
/* options */
/* here you can use particles.shape.type: "multiline-text" */
});
This package is compatible also with ES or CommonJS modules, firstly this needs to be installed, like this:
$ npm install tsparticles-shape-multiline-text
or
$ yarn add tsparticles-shape-multiline-text
Then you need to import it in the app, like this:
const { tsParticles } = require("tsparticles-engine");
const { loadMultilineTextShape } = require("tsparticles-shape-multiline-text");
loadMultilineTextShape(tsParticles);
or
import { tsParticles } from "tsparticles-engine";
import { loadMultilineTextShape } from "tsparticles-shape-multiline-text";
loadMultilineTextShape(tsParticles);
FAQs
tsParticles multiline text shape
The npm package tsparticles-shape-multiline-text receives a total of 8 weekly downloads. As such, tsparticles-shape-multiline-text popularity was classified as not popular.
We found that tsparticles-shape-multiline-text demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.