下面的超時功能在iOS設備上不起作用。 是settimeout
函數不適用於iOS設備? 下面的代碼中是否有缺少的東西?iOS設備上的settimeout問題
_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.如何在打字稿中編寫方法?
如何關閉這個問題? – LearnForever