UNPKG

1.5 kBJSONView Raw
1[{"__symbolic":"module","version":4,"metadata":{"FlashMessagesComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"flash-messages","template":"\n <div id=\"flashMessages\" class=\"flash-messages\">\n <div id=\"grayOutDiv\" *ngIf='_grayOut && messages.length'></div>\n <div class=\"alert flash-message {{message.cssClass}}\" [ngClass]=\"{'alert-dismissible':message.showCloseBtn}\" [style.cursor]=\"message.closeOnClick?'pointer':'inherit'\" *ngFor='let message of messages' (click)=\"alertClicked(message)\">\n <button *ngIf=\"message.showCloseBtn\" type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-label=\"Close\" (click)=\"close(message)\"><span aria-hidden=\"true\">&times;</span></button>\n <div [innerHTML]=\"message.text\"></div>\n </div> \n </div>\n "}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"./flash-messages.service","name":"FlashMessagesService","line":30,"character":47},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":30,"character":85}]}],"ngOnInit":[{"__symbolic":"method"}],"show":[{"__symbolic":"method"}],"close":[{"__symbolic":"method"}],"alertClicked":[{"__symbolic":"method"}],"grayOut":[{"__symbolic":"method"}],"_remove":[{"__symbolic":"method"}]}}}}]
\No newline at end of file