gamebench-ng-toasty
Version:
Angular2 Toasty component shows growl-style alerts and messages for your web app - now with more clicking!
20 lines (19 loc) • 619 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;
/**
* Event handler invokes when user clicks on Toast button.
* This method emit new event into ToastyContainer to close it.
*/
click($event: any): void;
}