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
Is it possible to change the behaviour of the spinner during runtime?
Let's say you a spinner started with a color of green and the color should change later on?
Is it possible to do something like:
var spinner = new Spinner().spin(target);
$timeout(function() {
spinner.color = #343434;
}, 1000);
The text was updated successfully, but these errors were encountered:
I'm not sure if I understand your question correctly. There is no option called duration. The amount of time for which the spinner is visible is controlled by the application using it:
vars=newSpinner().spin(target);// stop it after 10ssetTimeout(function(){s.stop()},10000);// ... then change your mind and stop it after 3ssetTimeout(function(){s.stop()},3000);
Is it possible to change the behaviour of the spinner during runtime?
Let's say you a spinner started with a color of green and the color should change later on?
Is it possible to do something like:
var spinner = new Spinner().spin(target);
$timeout(function() {
spinner.color = #343434;
}, 1000);
The text was updated successfully, but these errors were encountered: