Skip to content

Commit

Permalink
fix: #1 [api] wx.onWindowResize 返回参数缺少 screenWidth、screenHeight,实际有返回
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaweiss committed Jun 18, 2023
1 parent 623ed06 commit 53bfa1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions types/wx/lib.wx.api.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7480,6 +7480,10 @@ wx.createSelectorQuery()
windowHeight: number
/** 变化后的窗口宽度,单位 px */
windowWidth: number
/** 屏幕高度,单位px */
screenHeight: number
/** 屏幕宽度,单位px */
screenWidth: number
}
/** 当前运行环境对于 [Skyline 渲染引擎](https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/skyline/introduction.html) 的支持情况 */
interface SkylineInfo {
Expand Down

0 comments on commit 53bfa1f

Please sign in to comment.