You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add radio toggles for single selection. Fix a11y issue where selected
state is visually communicated with color alone.
Add `togglePosition` Input, which configures the position of both the
radio and checkbox. Deprecates `checkboxPosition`, which will configure
the position of both the radio and checkbox.
Summary of API and behavior changes
- MDC List displays radio indicators for single-selection
- add `togglePosition` Input to to configure position of both radio and
checkbox
- deprecate `checkboxPosition`, which is a shim for `togglePosition`
Closes#7157, Fixes#25900
Copy file name to clipboardExpand all lines: src/material/legacy-list/selection-list.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ export class MatLegacySelectionListChange {
74
74
/**
75
75
* Type describing possible positions of a checkbox in a list option
76
76
* with respect to the list item's text.
77
-
* @deprecated Use `MatListOptionCheckboxPosition` from `@angular/material/list` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
77
+
* @deprecated Use `MatListOptionTogglePosition` from `@angular/material/list` instead. See https://material.angular.io/guide/mdc-migration for information about migrating.
0 commit comments