angular2-toaster-mod
Version:
An Angular 2 Toaster Notification library based on AngularJS-Toaster
1 lines • 3.78 kB
JSON
[{"__symbolic":"module","version":3,"metadata":{"ToasterContainerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"toaster-container","template":"\n <div id=\"toast-container\" [ngClass]=\"[toasterconfig.positionClass, toasterconfig.animationClass]\" class=\"ng-animate\">\n <div toastComp *ngFor=\"let toast of toasts\" class=\"toast\" [toast]=\"toast\"\n [iconClass]=\"toasterconfig.iconClasses[toast.type]\" \n [ngClass]=\"toasterconfig.typeClasses[toast.type]\"\n (click)=\"click(toast)\" (clickEvent)=\"childClick($event)\" \n (mouseover)=\"stopTimer(toast)\" (mouseout)=\"restartTimer(toast)\">\n </div>\n </div>\n "}]}],"members":{"toasterconfig":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./toaster.service","name":"ToasterService"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone"}]}],"ngOnInit":[{"__symbolic":"method"}],"click":[{"__symbolic":"method"}],"childClick":[{"__symbolic":"method"}],"stopTimer":[{"__symbolic":"method"}],"restartTimer":[{"__symbolic":"method"}],"registerSubscribers":[{"__symbolic":"method"}],"addToast":[{"__symbolic":"method"}],"configureTimer":[{"__symbolic":"method"}],"isLimitExceeded":[{"__symbolic":"method"}],"removeToast":[{"__symbolic":"method"}],"removeAllToasts":[{"__symbolic":"method"}],"clearToasts":[{"__symbolic":"method"}],"clearToastsAction":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}},{"__symbolic":"module","version":1,"metadata":{"ToasterContainerComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component"},"arguments":[{"selector":"toaster-container","template":"\n <div id=\"toast-container\" [ngClass]=\"[toasterconfig.positionClass, toasterconfig.animationClass]\" class=\"ng-animate\">\n <div toastComp *ngFor=\"let toast of toasts\" class=\"toast\" [toast]=\"toast\"\n [iconClass]=\"toasterconfig.iconClasses[toast.type]\" \n [ngClass]=\"toasterconfig.typeClasses[toast.type]\"\n (click)=\"click(toast)\" (clickEvent)=\"childClick($event)\" \n (mouseover)=\"stopTimer(toast)\" (mouseout)=\"restartTimer(toast)\">\n </div>\n </div>\n "}]}],"members":{"toasterconfig":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input"}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./toaster.service","name":"ToasterService"},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef"},{"__symbolic":"reference","module":"@angular/core","name":"NgZone"}]}],"ngOnInit":[{"__symbolic":"method"}],"click":[{"__symbolic":"method"}],"childClick":[{"__symbolic":"method"}],"stopTimer":[{"__symbolic":"method"}],"restartTimer":[{"__symbolic":"method"}],"registerSubscribers":[{"__symbolic":"method"}],"addToast":[{"__symbolic":"method"}],"configureTimer":[{"__symbolic":"method"}],"isLimitExceeded":[{"__symbolic":"method"}],"removeToast":[{"__symbolic":"method"}],"removeAllToasts":[{"__symbolic":"method"}],"clearToasts":[{"__symbolic":"method"}],"clearToastsAction":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}}}}]