Skip to content

mansona/ember-cli-notifications

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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
  • Node.js v12 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.