Version: 1.3.42
selectorQuery.exec([callback])
执行所有的请求,请求结果按请求次序构成数组,在 callback 的第一个参数中返回。
API支持度
API | 微信小程序 | H5 | React Native |
---|---|---|---|
selectorQuery.in | ✔️ | ✔️ | |
selectorQuery.select | ✔️ | ✔️ | |
selectorQuery.selectAll | ✔️ | ✔️ | |
selectorQuery.selectViewport | ✔️ | ✔️ | |
nodesRef.boundingClientRect | ✔️ | ✔️ | |
nodesRef.scrollOffset | ✔️ | ✔️ | |
nodesRef.fields | ✔️ | ✔️ | |
selectorQuery.exec | ✔️ | ✔️ |