How to use the ember-cli-notifications/components/notification-message.extend function in ember-cli-notifications

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 / 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 6 months ago

Package Health Score

66 / 100
Full package analysis