请问,小程序有没有类似于 dispatchEvent() 这样的API吗?
发布于 4 年前 作者 zhouxiuying 2177 次浏览 来自 官方Issues

想通过代码的形式灵活的手动触发事件

2 回复

应该是有冒泡行为,不行做一个eventBus算了

具体哪个事件?

回到顶部