UNPKG

angular-toastr

Version:

[![Code Climate](https://codeclimate.com/github/Foxandxss/angular-toastr.png)](https://codeclimate.com/github/Foxandxss/angular-toastr) [![Build Status](https://travis-ci.org/Foxandxss/angular-toastr.svg?branch=master)](https://travis-ci.org/Foxandxss/ang

10 lines (9 loc) 546 B
<div class="{{toastClass}} {{toastType}}" ng-click="tapToast()"> <div ng-switch on="allowHtml"> <div ng-switch-default ng-if="title" class="{{titleClass}}" aria-label="{{title}}">{{title}}</div> <div ng-switch-default class="{{messageClass}}" aria-label="{{message}}">{{message}}</div> <div ng-switch-when="true" ng-if="title" class="{{titleClass}}" ng-bind-html="title"></div> <div ng-switch-when="true" class="{{messageClass}}" ng-bind-html="message"></div> </div> <progress-bar ng-if="progressBar"></progress-bar> </div>