We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c91c98a commit 1174e6dCopy full SHA for 1174e6d
src/material/timepicker/timepicker-toggle.ts
@@ -68,7 +68,7 @@ export class MatTimepickerToggle<D> {
68
});
69
70
/** Default aria-label for the toggle if none is provided. */
71
- private readonly defaultAriaLabel = 'Open timepicker options';
+ private readonly _defaultAriaLabel = 'Open timepicker options';
72
73
/** Whether the toggle button is disabled. */
74
readonly disabled: InputSignalWithTransform<boolean, unknown> = input(false, {
@@ -99,6 +99,6 @@ export class MatTimepickerToggle<D> {
99
* otherwise returns the default aria-label using the timepicker's panelId.
100
*/
101
getAriaLabel(): string {
102
- return this.ariaLabel() || this.defaultAriaLabel;
+ return this.ariaLabel() || this._defaultAriaLabel;
103
}
104
0 commit comments