Material: It is possible that the md-progress-circular randomly change color?

Created on 6 Apr 2016  路  4Comments  路  Source: angular/material

Most helpful comment

Seems like you can't do it in 1.0.7, because it's already using the animation property to animate the spinner itself. Here's a fiddle of how it can be done in 1.1, though: http://codepen.io/crisbeto/pen/PNOMaL

All 4 comments

It's not built into Material, but you can make it change colors yourself. What version of Material are you using (the approach to 1.0.6 vs 1.1 is different)?

I`m using 1.0.7 version.

Looking at the material design documentation does not indicate this color change, but the Gmail application uses two colors (blue and red) in updating the inbox (pull to refresh)

Seems like you can't do it in 1.0.7, because it's already using the animation property to animate the spinner itself. Here's a fiddle of how it can be done in 1.1, though: http://codepen.io/crisbeto/pen/PNOMaL

I'll update then.

Thanks for the tip.

Was this page helpful?
0 / 5 - 0 ratings