Skip to content

Commit

Permalink
feat: add missing instance methods
Browse files Browse the repository at this point in the history
  • Loading branch information
yangmingshan committed Dec 7, 2024
1 parent 14df520 commit 11b17b4
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 11b17b4

Please sign in to comment.