UNPKG

@stratio/egeo

Version:

Stratio egeo library of components in Angular 2

37 lines (36 loc) 1.31 kB
import { ComponentFactoryResolver, EventEmitter, OnDestroy, OnInit, ViewContainerRef } from '@angular/core'; import { StModalButton, StModalConfig, StModalResponse } from './st-modal.interface'; export declare class StModal implements OnDestroy, OnInit { private cfr; modalConfig: StModalConfig; close: EventEmitter<MouseEvent>; click: EventEmitter<StModalResponse>; component: any; target: ViewContainerRef; private componentRef; constructor(cfr: ComponentFactoryResolver); getModalSize(): Object; getTitleClass(): string; hasContextualTitle(): boolean; readonly contextualTitle: string; getHeaderHeight(): string; hasIcon(): boolean; getIcon(): string; getTitle(): string; hasButtons(): boolean; getButtonIcon(left: boolean, button: StModalButton): string; getButtonSubtype(button: StModalButton): string; getButtons(): StModalButton[]; isMessageModal(): boolean; isComplexMessageModal(): boolean; getHTML(): string; readonly message: string; readonly mainTextSize: string; readonly qaTag: string; clickButton(index: number, button: StModalButton): void; closeModal(event: MouseEvent): void; ngOnInit(): void; ngOnDestroy(): void; private loadBody(); private bindModalInputs(); }