We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 64606fa commit 3523adfCopy full SHA for 3523adf
src/material-experimental/mdc-checkbox/checkbox.ts
@@ -80,6 +80,9 @@ const _MatCheckboxBase = mixinColor(
80
'[class._mat-animation-noopable]': `_animationMode === 'NoopAnimations'`,
81
'[class.mdc-checkbox--disabled]': 'disabled',
82
'[id]': 'id',
83
+ // Add classes that users can use to more easily target disabled or checked checkboxes.
84
+ '[class.mat-mdc-checkbox-disabled]': 'disabled',
85
+ '[class.mat-mdc-checkbox-checked]': 'checked',
86
},
87
providers: [MAT_CHECKBOX_CONTROL_VALUE_ACCESSOR],
88
exportAs: 'matCheckbox',
0 commit comments