codecamp

tt.offMoreGamesModalClose

基础库 1.33.0 开始支持本方法,低版本需做兼容处理

取消监听关闭更多游戏弹框的事件。


参数

function callback

取消监听关闭更多游戏弹框事件的回调函数。如果不传参数,则为取消所有监听关闭更多游戏弹框事件的回调函数。


示例

// 取消指定回调函数 func
tt.offMoreGamesModalClose(func);

// 取消全部回调函数
tt.offMoreGamesModalClose();
tt.onMoreGamesModalClose
tt.getOpenDataContext
温馨提示
下载编程狮App,免费阅读超1000+编程语言教程
取消
确定