@alauda/ui
Version:
Angular UI components by Alauda Frontend Team.
19 lines (18 loc) • 670 B
TypeScript
import { ComponentType, OverlayRef } from '@angular/cdk/overlay';
import { Observable } from 'rxjs';
import { DialogComponent } from './dialog.component';
export declare class DialogRef<T = ComponentType<any>, R = any> {
private readonly overlayRef;
dialogInstance: DialogComponent;
componentInstance?: T;
readonly id: string;
private readonly afterOpen$;
private readonly afterClosed$;
constructor(overlayRef: OverlayRef, dialogInstance: DialogComponent);
close(result?: R): void;
afterOpen(): Observable<void>;
afterClosed(): Observable<R>;
updatePosition(): this;
updateSize(): this;
private getPositionStrategy;
}