Introduction
Mouse clicks appear small fireworks effects
Online Demo
https://murenziwei.github.io/lw_firewords/index.html
Git source address
Gitee: httpsgiteecommurenziweilwfirewordsgit
Github: https://github.com/murenziwei/lw_firewords.git
main content
I have a small effect when browsing a blog, meet by chance, simple and good-looking, he would engage in a, modular way, uploaded to npm, easy to apply to node project
usage
npm install
npm i lw_firewords -S
Import package lw_firewords
import LwFirewords from 'lw_firewords'
The import was successful, create fireworks instance
newLwFirewords lw_f = const (); // create an instance lw_f.init (); // start event
Results page