Skip to content

Commit 62d62e2

Browse files
devversiontinayuangao
authored andcommitted
chore(examples): fix color binding for progress-spinner (#4687)
* Replaces the invalid `attr.color` with a property binding. This fixes the progress-spinner demo on the docs. Fixes #4617
1 parent db72b06 commit 62d62e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/material-examples/progress-spinner-configurable/progress-spinner-configurable-example.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ <h2 class="example-h2">Result</h2>
4141

4242
<md-progress-spinner
4343
class="example-margin"
44-
[attr.color]="color"
44+
[color]="color"
4545
[mode]="mode"
4646
[value]="value">
4747
</md-progress-spinner>

0 commit comments

Comments
 (0)