Skip to content

Commit c89fc21

Browse files
committed
feat: added lazy loading for posts (now loads when card expands)
1 parent 17e9a9a commit c89fc21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/angular/59-content-projection-defer/src/app/expandable-card.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ import {
5757
export class ExpandableCard {
5858
public isExpanded = signal(false);
5959

60-
expanded = output<boolean>();
60+
private readonly expanded = output<boolean>();
6161

6262
toggleExpansion(): void {
6363
this.isExpanded.update((isExpanded) => !isExpanded);

0 commit comments

Comments
 (0)