ember-cli-notifications
v9.0.0
Published
Atom inspired notification messages for ember-cli
Downloads
18,467
Maintainers
Readme
ember-cli-notifications
Compatibility
- Ember.js v3.8 or above
- Ember CLI v3.8 or above
Installation
ember install ember-cli-notifications
Usage
An Ember addon that adds Atom inspired notification messages to your app.
Interactive documentation can be found here.
Upgrading to 5.0.0
Icons and FontAwesome
As of 5.0.0 we no longer depend on Font Awesome so you can remove any configuration you have related to the icons:
var ENV = {
'ember-cli-notifications': {
includeFontAwesome: true
}
}
or
var ENV = {
'ember-cli-notifications': {
icons: 'bootstrap'
}
}
Service Name
We have also updated the name of the service to be simply notifications
so you can now inject the notifications service with a much simpler inject statement:
import Controller from '@ember/controller';
import { inject as service } from '@ember/service';
export default Controller.extend({
notifications: service(),
});
Removing CSS modules
We have removed the use of CSS Modules so you can now override the styles more effectively without needing as many hacks. You can remove any strange hacks that you might have implemented in your app to override styles.
Contributing
See the Contributing guide for details.