fundamental-ngx
Version:
SAP Fundamentals, implemented in Angular
31 lines (30 loc) • 1.22 kB
TypeScript
import { AfterViewInit, ChangeDetectorRef, ComponentFactoryResolver, ElementRef, OnDestroy, OnInit, TemplateRef, Type, ViewContainerRef } from '@angular/core';
import { ModalRef } from './modal-utils/modal-ref';
import { AbstractFdNgxClass } from '../utils/abstract-fd-ngx-class';
export declare class ModalComponent extends AbstractFdNgxClass implements OnInit, AfterViewInit, OnDestroy {
private elRef;
private componentFactoryResolver;
private cdRef;
private modalRef;
containerRef: ViewContainerRef;
id: string;
escKeyCloseable: boolean;
focusTrapped: boolean;
ariaLabelledBy: string;
ariaLabel: string;
ariaDescribedBy: string;
childComponentType: TemplateRef<any> | Type<any>;
backdropClickCloseable: boolean;
hasBackdrop: boolean;
modalPanelClass: string;
private componentRef;
private focusTrap;
constructor(elRef: ElementRef, componentFactoryResolver: ComponentFactoryResolver, cdRef: ChangeDetectorRef, modalRef: ModalRef);
ngOnInit(): void;
ngOnDestroy(): void;
ngAfterViewInit(): void;
closeModalEsc(event: KeyboardEvent): void;
private loadFromComponent;
private loadFromTemplate;
_setProperties(): void;
}