【发布时间】:2016-06-07 14:49:51
【问题描述】:
以下超时功能不适用于 iOS 设备。
settimeout 功能是否在 iOS 设备上不起作用?
下面的代码有什么遗漏吗?
_timeoutService: ng.ITimeoutService
this._timeoutService(1200, true).then(() => {
//below statement does not have any effect on iOS devices
// enable my angular material control
// set some text in an angular material input element
this.supportEmailCtrlDisabled = false;
});
我看到了这个帖子https://stackoverflow.com/a/10991974/5252545。看起来像一个类似的问题。但不确定—— 1. 如果这解决了我的问题? 2.什么是“绑定”方法? 3. typescript中的方法怎么写?
【问题讨论】:
-
我怎样才能结束这个问题?
标签: angularjs mobile-safari settimeout