【文件属性】:
文件名称:动态生成烟花,烟花绽放特效。
文件大小:13KB
文件格式:JS
更新时间:2022-01-24 13:13:41
烟花 点击绽放
const widthOffset =100;
const heightOffset =100;
new Fireworks({
el: "canvasF", //id
width: widthOffset,
height: heightOffset,
style: {
position: "relative",
top: "0",
left: "0",
"background-color": "rgab(0,0,0,0)",
"z-index": 2,
},
isClick: true,
isAuto: true,
frequency: 1000,
});