UNPKG

@ciri/ngx-popup

Version:

An angular popup component that can customize animation.

26 lines (25 loc) 788 B
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core'; import { Observable } from 'rxjs'; import { AnimationService } from '../animation.service'; export declare class OverlayComponent implements OnInit, OnDestroy { private animation; private cdr; zIndex: number; opacity: number; visible: boolean; clickOverlay: EventEmitter<any>; afterClose: EventEmitter<any>; private container; readonly styles: { 'z-index': number; 'background': string; }; private _visible; private destroy$; private animationSub; constructor(animation: AnimationService, cdr: ChangeDetectorRef); ngOnInit(): void; ngOnDestroy(): void; onClick(): void; makeAnimation(state: any): Observable<any>; }