mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs: add missing signal function (#63974)
The `buttonClasses` variable should be a signal according to the example, so we added the call. PR Close #63974
This commit is contained in:
parent
e88f484ccb
commit
a2d98cc8d3
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ You can also bind directly to the `class` property. Angular accepts three types
|
|||
export class UserProfile {
|
||||
listClasses = 'full-width outlined';
|
||||
sectionClasses = signal(['expandable', 'elevated']);
|
||||
buttonClasses = ({
|
||||
buttonClasses = signal({
|
||||
highlighted: true,
|
||||
embiggened: false,
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue