Improve custom dialog container
This commit is contained in:
parent
6f065804a5
commit
56fb09b9f1
@ -18,7 +18,7 @@ import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material/dialog';
|
|||||||
import {
|
import {
|
||||||
Component,
|
Component,
|
||||||
ComponentFactory,
|
ComponentFactory,
|
||||||
ComponentRef,
|
ComponentRef, HostBinding,
|
||||||
Inject,
|
Inject,
|
||||||
Injector,
|
Injector,
|
||||||
OnDestroy,
|
OnDestroy,
|
||||||
@ -46,6 +46,8 @@ export interface CustomDialogContainerData {
|
|||||||
})
|
})
|
||||||
export class CustomDialogContainerComponent extends DialogComponent<CustomDialogContainerComponent> implements OnDestroy {
|
export class CustomDialogContainerComponent extends DialogComponent<CustomDialogContainerComponent> implements OnDestroy {
|
||||||
|
|
||||||
|
@HostBinding('style.height') height = '0px';
|
||||||
|
|
||||||
private readonly customComponentRef: ComponentRef<CustomDialogComponent>;
|
private readonly customComponentRef: ComponentRef<CustomDialogComponent>;
|
||||||
|
|
||||||
constructor(protected store: Store<AppState>,
|
constructor(protected store: Store<AppState>,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user