Skip to content

Commit ac1e172

Browse files
authored
Update app.component.ts
1 parent dad235e commit ac1e172

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

accordion/overview/src/app/app.component.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ export class AppComponent {
1313

1414
}
1515
ngAfterViewInit(): void {
16-
const that = this;
17-
that.accordion.expandMode = AccordionExpandMode.Multiple;
18-
that.accordion.expand(1);
16+
this.accordion.expand(1);
1917
}
2018
}

0 commit comments

Comments
 (0)