Package Exports
- background-fx
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (background-fx) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Background-FX
This NPM package is used to create FX's on any div's background. I just started this package so don't expect too much of it yet.
How to use this package
First you need to run the NPM install command
npm install background-fx
After that, you can use the package simply by using the following lines of code.
const backgroundFx = require('background-fx');
backgroundFx.circle(
"circle-container", // ID of the div you want to give the FX to
20, // The size of the circle
"#ff0000", // The color of the circle
25 // The amount of circles
);
I will keep updating this package in the future.