Skip to content

Commit

Permalink
feat(material): mat-slide-toggle color support (#2186)
Browse files Browse the repository at this point in the history
  • Loading branch information
akamyshanov authored and aitboudad committed Apr 22, 2020
1 parent 5514f59 commit 3e3b121
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/material/toggle/src/toggle.type.ts
Expand Up @@ -9,6 +9,7 @@ import { MatSlideToggle } from '@angular/material/slide-toggle';
[id]="id"
[formControl]="formControl"
[formlyAttributes]="field"
[color]="to.color"
[tabindex]="to.tabindex || 0">
{{ to.label }}
</mat-slide-toggle>
Expand Down

0 comments on commit 3e3b121

Please sign in to comment.