How to use ember-cli-notifications - 2 common examples

To help you get started, we’ve selected a few ember-cli-notifications examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mansona / ember-cli-notifications / tests / dummy / app / services / notifications.js View on Github external
import NotificationsService from 'ember-cli-notifications/services/notification-messages-service'

export default NotificationsService.extend({
  // Extend the imported service
})
github mansona / ember-cli-notifications / app / components / notification-message.js View on Github external
import NotificationMessage from 'ember-cli-notifications/components/notification-message';

import config from 'ember-get-config';

const globals = config['ember-cli-notifications'] || {}; // Import app config object

export default NotificationMessage.extend({
  init() {
    this._super(...arguments);
    this.icons = globals.icons || 'font-awesome'
  }
});

ember-cli-notifications

Atom inspired notification messages for ember-cli

MIT
Latest version published 5 months ago

Package Health Score

66 / 100
Full package analysis