You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to have separate notifications and control where they're inserted into the DOM you can
64
-
have multiple `{{ember-notify}}` components, but only one of them can be accessed using the `Notify` helper. The others you will need to provide a `source` property.
65
-
66
-
Secondary containers should be used as follows:
74
+
have multiple `{{ember-notify}}` components, but only one of them can be accessed using the injected service.
75
+
The others you will need to provide a `source` property, so secondary containers should be used as follows:
67
76
68
77
```hbs
69
78
{{ember-notify source=someProperty}}
70
79
```
71
80
72
81
```js
73
-
// in your controller
74
-
exportdefaultEmber.Controller.extend({
82
+
exportdefaultEmber.Component.extend({
75
83
someProperty:Notify.property(), // or this.set('someProperty', Notify.create())
0 commit comments