Skip to content

Commit 5a2c495

Browse files
authored
docs(material/checkbox): add description for properties in default options (#22853)
Developers can specify a color, or click action for all checkboxes using `MatCheckboxDefaultOptions`. The properties for the default options are currently not documented. This commit adds the missing descriptions.
1 parent c65a87b commit 5a2c495

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/material/checkbox/checkbox-config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ import {ThemePalette} from '@angular/material/core';
1010

1111
/** Default `mat-checkbox` options that can be overridden. */
1212
export interface MatCheckboxDefaultOptions {
13+
/** Default theme color palette to be used for checkboxes. */
1314
color?: ThemePalette;
15+
/** Default checkbox click action for checkboxes. */
1416
clickAction?: MatCheckboxClickAction;
1517
}
1618

0 commit comments

Comments
 (0)