click-heat-even
v1.0.3
Published
heats
Downloads
9
Readme
click-heat-even
心跳点击事件
安装:npm install click-heat-even
使用:import heatEvent from 'click-heat-even'
事件参数: {
elementId: string, // 事件绑定位置 必填
even: string, // 事件类型,默认 click
parentId: string, // canvas挂载位置 默认body
class: string, // canvas 样式
imgList: Array, // 图片数组
isUp: Boolean, // 图片是否直线上升
success: Function // 点击成功后执行的函数
}