Skip to content

Commit

Permalink
Merge pull request #339 from yangmingshan/missing
Browse files Browse the repository at this point in the history
feat: add missing instance methods
  • Loading branch information
SgLy authored Dec 11, 2024
2 parents 14df520 + 11b17b4 commit f971662
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions types/wx/lib.wx.component.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,18 @@ declare namespace WechatMiniprogram.Component {
* 最低基础库版本:[`2.25.1`](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html)
*/
setPassiveEvent(config: PassiveConfig): void
/**
* 设置初始渲染缓存的动态数据
*
* 最低基础库版本:[`2.11.1`](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html)
*/
setInitialRenderingCache(dynamicData: IAnyObject | null): void
/**
* 返回当前页面的 appBar 组件实例
*
* 最低基础库版本:[`3.3.1`](https://developers.weixin.qq.com/miniprogram/dev/framework/compatibility.html)
*/
getAppBar(): TrivialInstance
}

interface ComponentOptions {
Expand Down

0 comments on commit f971662

Please sign in to comment.