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 {
 | 
			
		||||
  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>,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user