You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use this toast to show loading indicator (especially in http request). However, I would never know how long a http request would take so I cannot use timeout parameter to control the toast. I want to fire a loading toast before http request and close it in response callback without a user interaction.
Any way to do that?
The text was updated successfully, but these errors were encountered:
Basically, you fire a permanent toast and then when your $http request resolves, you close the toast. It is really important that you return result from it, so when you chain the promise in your controller, it will receive those results.
I want to use this toast to show loading indicator (especially in http request). However, I would never know how long a http request would take so I cannot use timeout parameter to control the toast. I want to fire a loading toast before http request and close it in response callback without a user interaction.
Any way to do that?
The text was updated successfully, but these errors were encountered: