api-typings icon indicating copy to clipboard operation
api-typings copied to clipboard

Please fix selectAll's return define

Open anotherso1a opened this issue 3 years ago • 0 comments

wx.createSelectorQuery().selectAll('.section').boundingClientRect(res => {
  res.forEach(e => console.log(e.bottom)) // res.forEach报错, e.bottom 为 any
})

boundingClientRect 以及 scrollOffset 的回调有些许问题。

参考 #194

anotherso1a avatar Mar 09 '21 10:03 anotherso1a