Comments (3)
你好,首先感谢提出问题
"AnyFun定义为 (...args: any[]): any参数为数组并返回任意类型的函数" - 针对你说的这句话,我并不是定义 callback 函数的入参为数组,而是定义其入参的个数是任意个;
所以在最终使用时
callback: (e: MouseEvent) => {
console.log(e) // 这里是能正常打印出 MouseEvent 对象的,而不是 [ MouseEvent ]
}
你可以运行项目中 demo -> vue2,试试效果
from web-tracing.
感谢回复🙏,明天测一下,好梦
from web-tracing.
早安,如果还有更多问题可以入群随时问
from web-tracing.
Related Issues (20)
- 安装@web-tracing/vue2依赖,运行问题
- 你好,请问多久会支持uniapp、小程序呢 HOT 2
- 是否支持页面热区监控上报 HOT 3
- 自动采集pv数据 HOT 7
- npm run publish 报错 HOT 4
- 请问如何报错录屏,和播放录屏
- 后期版本是否考虑事件录制? HOT 3
- 支持按功能组件模块化加载 Support modular loading HOT 1
- 建议未来的后台可以考虑接入Prometheus+Grafana
- 有react的demo吗 HOT 1
- 跟GTM类似 HOT 3
- beforeSendData功能异常报错 导致页面白屏 HOT 1
- 单元测试 HOT 3
- 能监听滚动事件吗 HOT 1
- 曝光采集那里为什么没有eventId,好像没看到解释 HOT 1
- 可以配置上报优先级吗,比方默认低优上报,可以配置指定某些事件高优先级上报(如:指定 路由跳转 高优上报) HOT 2
- 这里如果很多点击事件的话,不会有很多eventId是一样的吗 HOT 1
- 你这里文档跟实际传输的数据怎么很多不是一致的,比方说这个error,文档里面没有这个src字段,又比方同步异步资源加载那里,文档里面没有workerStart和sendTime HOT 2
- 这个userUuid、deviceId、sdkUserUuid有什么区别可以细讲一下吗 HOT 6
- 在uniapp项目里报错 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from web-tracing.