Skip to content

Latest commit

 

History

History
72 lines (47 loc) · 2.13 KB

README.md

File metadata and controls

72 lines (47 loc) · 2.13 KB

ember-cli-notifications

Download count all time NPM package Build Status Ember Observer Score Maintainability

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 class MyController extends Controller {
  @service notifications;
}

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.