The <mat-button-toggle> are on/off toggles with the appearance of buttons. These toggles can be configured to behave as either check-boxes or radio-buttons based on multiple attribute. For button toggles - It containing only icons and each button toggle should be given a meaningful label - 1. aria-label or 2. aria-labelledby For button toggle groups - each group should be given a meaningful label - 1. aria-label or 2. aria-labelledby The Example in detail - button-toggle.html – < mat-button-toggle-group # group = "matButtonToggleGroup" > < mat-button-toggle value = "left" > < mat-icon > format_align_left </ mat-icon > </ mat-button-toggle > < mat-button-toggle value = "center" > < mat-icon >...
Angular, React, JavaScript, Java, PHP, SQL, C#, Vue, NodeJs, TypeScript and Interview Questions Answers