marcorinck / angular-growl

growl-like notifications for angularJS projects
MIT License
478 stars 191 forks source link

Add classes #31

Open James-Dunn opened 10 years ago

James-Dunn commented 10 years ago

Allows users to add CSS classes to customize the notification.

e.g. growl.addSuccessMessage('Message', {classes: 'blue-message exclamation-point'});

000panther commented 10 years ago

Hello, is this Pull Request complete? How is the classes property applied in the directive?

James-Dunn commented 10 years ago

Should have combined them, this also needs pull request https://github.com/marcorinck/angular-growl/pull/30

It changes the usage of ng-class to allow additional classes in the config obj.