Call ModelView base init after view init (#13261)

* Call ModelView base init after view init

* baseInit to end
This commit is contained in:
Charles Gagnon
2020-11-07 09:41:49 -08:00
committed by GitHub
parent 5e00dcb78c
commit 8b73391845
33 changed files with 43 additions and 116 deletions

View File

@@ -49,7 +49,7 @@ export default class GroupContainer extends ContainerBase<GroupLayout, GroupCont
this.collapsed = false;
}
ngOnInit(): void {
ngAfterViewInit(): void {
this.baseInit();
}
@@ -57,9 +57,6 @@ export default class GroupContainer extends ContainerBase<GroupLayout, GroupCont
this.baseDestroy();
}
ngAfterViewInit(): void {
}
onKeyDown(event: KeyboardEvent): void {
let e = new StandardKeyboardEvent(event);
if (e.keyCode === KeyCode.Enter || e.keyCode === KeyCode.Space) {