We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86f718d commit 9e15ac7Copy full SHA for 9e15ac7
static/usage/v7/theming/automatic-dark-mode/angular/example_component_ts.md
@@ -17,7 +17,7 @@ export class ExampleComponent implements OnInit {
17
}
18
19
// Add or remove the "dark" class on the document body
20
- toggleDarkTheme(shouldAdd) {
+ toggleDarkTheme(shouldAdd: boolean) {
21
document.body.classList.toggle('dark', shouldAdd);
22
23
0 commit comments