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:
Ezequiel Cicala 2025-09-21 15:00:49 -03:00 committed by Jessica Janiuk
parent e88f484ccb
commit a2d98cc8d3

View file

@ -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,
});