ember-awesome-notifications
Simple ideas & effects for Ember notifications
Demo
Coming soon.
Installation
ember install ember-awesome-notifications
Usage
Inject the service
notifications: Emberinject
Notification container in your templates
The notification container will work even without wormhole, but still we recommend it to be on the safer side for any UI breakages.
{{#ember-wormhole to="ea-notification-container"}} {{ea-notification-container}}{{/ember-wormhole}}
Trigger the notification
let _options = effect: 'scale' layout: 'growl' type: 'info' message : '<p>This is just a simple notice. Everything is in order and this is a <a href="#">simple link</a>.</p>'; this;
Running
ember serve
- Visit your app at http://localhost:4200.
Running Tests
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit https://ember-cli.com/.