You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.7 KiB
TypeScript
53 lines
1.7 KiB
TypeScript
import { OnInit, AfterViewInit, AfterContentInit, OnDestroy, ElementRef, EventEmitter, QueryList, TemplateRef } from '@angular/core';
|
|
import { Message } from '../common/message';
|
|
import { MessageService } from '../common/messageservice';
|
|
import { Subscription } from 'rxjs';
|
|
import { AnimationEvent } from '@angular/animations';
|
|
export declare class ToastItem implements AfterViewInit, OnDestroy {
|
|
message: Message;
|
|
index: number;
|
|
template: TemplateRef<any>;
|
|
showTransitionOptions: string;
|
|
hideTransitionOptions: string;
|
|
onClose: EventEmitter<any>;
|
|
containerViewChild: ElementRef;
|
|
timeout: any;
|
|
ngAfterViewInit(): void;
|
|
initTimeout(): void;
|
|
clearTimeout(): void;
|
|
onMouseEnter(): void;
|
|
onMouseLeave(): void;
|
|
onCloseIconClick(event: any): void;
|
|
ngOnDestroy(): void;
|
|
}
|
|
export declare class Toast implements OnInit, AfterContentInit, OnDestroy {
|
|
messageService: MessageService;
|
|
key: string;
|
|
autoZIndex: boolean;
|
|
baseZIndex: number;
|
|
style: any;
|
|
styleClass: string;
|
|
position: string;
|
|
modal: boolean;
|
|
showTransitionOptions: string;
|
|
hideTransitionOptions: string;
|
|
onClose: EventEmitter<any>;
|
|
containerViewChild: ElementRef;
|
|
templates: QueryList<any>;
|
|
messageSubscription: Subscription;
|
|
clearSubscription: Subscription;
|
|
messages: Message[];
|
|
template: TemplateRef<any>;
|
|
mask: HTMLDivElement;
|
|
constructor(messageService: MessageService);
|
|
ngOnInit(): void;
|
|
ngAfterContentInit(): void;
|
|
onMessageClose(event: any): void;
|
|
enableModality(): void;
|
|
disableModality(): void;
|
|
onAnimationStart(event: AnimationEvent): void;
|
|
ngOnDestroy(): void;
|
|
}
|
|
export declare class ToastModule {
|
|
}
|