Improve custom dialog container

This commit is contained in:
Igor Kulikov 2020-05-19 10:49:10 +03:00
parent 6f065804a5
commit 56fb09b9f1

View File

@ -18,7 +18,7 @@ import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
import {
Component,
ComponentFactory,
ComponentRef,
ComponentRef, HostBinding,
Inject,
Injector,
OnDestroy,
@ -46,6 +46,8 @@ export interface CustomDialogContainerData {
})
export class CustomDialogContainerComponent extends DialogComponent<CustomDialogContainerComponent> implements OnDestroy {
@HostBinding('style.height') height = '0px';
private readonly customComponentRef: ComponentRef<CustomDialogComponent>;
constructor(protected store: Store<AppState>,