The below timeout function is not working on iOS devices.
Is settimeout
function does not work on iOS devices?
Is there something missing in below code?
_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;
});
I came across this post https://stackoverflow.com/a/10991974/5252545. Looks like a similar issue. But not sure - 1. If this solves my issue? 2. what a 'bind' method is? 3. How to write the method in typescript?