Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 1,000,000+ packages pre-installed, including ember-cli-notifications with all npm packages installed. Try it out:

var emberCliNotifications = require("ember-cli-notifications")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

ember-cli-notifications v6.3.2

Atom inspired notification messages for ember-cli

ember-cli-notifications

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

Compatibility

  • Ember.js v2.18 or above
  • Ember CLI v2.13 or above
  • Node.js v8 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.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free