UNPKG

com.phloxui

Version:

PhloxUI Ng2+ Framework

71 lines (70 loc) 2.12 kB
import { OnInit, ElementRef } from '@angular/core'; import { Notification } from './model/Notification'; import { NotificationManager } from '../service/NotificationManager.service'; import { ObservableManager } from '../service/ObservableManager.service'; import { AbstractHasOptions } from '../share/AbstractHasOptions'; export declare class NotificationContainer extends AbstractHasOptions implements OnInit { static readonly TYPE_NAME: string; static readonly ALIGN_LEFT: string; static readonly ALIGN_RIGHT: string; /** * This is a doc comment for "DELAY_INTERVAL". */ private DELAY_INTERVAL; /** * This is a doc comment for "notifyMgr". */ private notifyMgr; /** * This is a doc comment for "elementRef". */ private elementRef; /** * This is a doc comment for "closeDelayTimer". */ private closeDelayTimer; /** * This is a doc comment for "observableMgr". */ private observableMgr; /** * This is a doc comment for "hideNotification". */ private hideNotification; private align; constructor(notifyMgr: NotificationManager, elementRef: ElementRef, observableMgr: ObservableManager); ngOnInit(): void; /** * comment for method * @param notificationModel Notification. * @returns number. */ private getModelIndex(notificationModel); /** * comment for method * @param event CustomEvent */ onNotificationClosed($event: CustomEvent): void; /** * comment for method * @param event CustomEvent */ onNotificationShowActionBar($event: CustomEvent): void; /** * comment for method * @param event CustomEvent */ onNotificationHideActionBar($event: CustomEvent): void; /** * comment for method * @returns Notification[]. */ getNonTimeoutNotifications(): Notification[]; setShow(show: boolean): void; show(): void; hide(): void; isHideNotification(): boolean; _isAlignLeft(): boolean; setAlign(align: string): void; getAlign(): string; }