projects/rebirth-ng/src/lib/modal/modal-options.model.ts
Properties |
|
| animation |
animation:
|
Type : boolean
|
| Optional |
| backdrop |
backdrop:
|
Type : boolean
|
| Optional |
| backdropClass |
backdropClass:
|
Type : string
|
| Optional |
| component |
component:
|
Type : Type<any>
|
| componentFactoryResolver |
componentFactoryResolver:
|
Type : ComponentFactoryResolver
|
| Optional |
| injector |
injector:
|
Type : Injector
|
| Optional |
| keyboard |
keyboard:
|
Type : boolean
|
| Optional |
| modal |
modal:
|
Type : boolean
|
| Optional |
| modalClass |
modalClass:
|
Type : string
|
| Optional |
| resolve |
resolve:
|
Type : any
|
| Optional |
| rootContainer |
rootContainer:
|
Type : ViewContainerRef
|
| Optional |
| size |
size:
|
Type : "lg" | "sm"
|
| Optional |
import { Type, ComponentFactoryResolver, Injector, ViewContainerRef } from '@angular/core';
export interface ModalOptions {
component: Type<any>;
componentFactoryResolver?: ComponentFactoryResolver;
injector?: Injector;
resolve?: any;
backdrop?: boolean;
backdropClass?: string;
keyboard?: boolean;
modal?: boolean;
modalClass?: string;
animation?: boolean;
size?: 'lg' | 'sm';
rootContainer?: ViewContainerRef;
}