Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

how to set the mat-button-toggle with active color

I am using angular 6 and angular material. Please suggest me how to set the color on mat-button-toggle

  <div class="output-size">
  <mat-button-toggle-group name="fontStyle" aria-label="Font Style" #group="matButtonToggleGroup" value="Labels" color="primary" >
          <mat-button-toggle   (click)="showme=true" value="Labels" id="one" >Labels</mat-button-toggle>
          <mat-button-toggle (click)="showme=false" value="Layout" id="two">Layout</mat-button-toggle>
        </mat-button-toggle-group>
      </div>

Comments