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 Aug 14, 2023
1 parent 3076f88 commit 40aa0c5
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 @@ -10500,6 +10500,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 40aa0c5

Please sign in to comment.