ng2-toasty
Version:
Angular2 Toasty component shows growl-style alerts and messages for your web app
15 lines (14 loc) • 442 B
TypeScript
import { EventEmitter } from '@angular/core';
import { ToastData } from './toasty.service';
/**
* A Toast component shows message with title and close button.
*/
export declare class ToastComponent {
toast: ToastData;
closeToastEvent: EventEmitter<{}>;
/**
* Event handler invokes when user clicks on close button.
* This method emit new event into ToastyContainer to close it.
*/
close($event: any): void;
}