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
It seems like the only way to currently set the position of the container is to pass it into the component itself as an attribute. I would like to be able to dynamically set the position by overriding the position attribute when creating my notification.
However, this will change the position for all notifications. I would like all my default messages to appear at the top, but I would also like certain ones to appear at the bottom. Would we need to add another notification-container to the template that handles these?
Any thoughts?
The text was updated successfully, but these errors were encountered:
It seems like the only way to currently set the position of the container is to pass it into the component itself as an attribute. I would like to be able to dynamically set the position by overriding the
position
attribute when creating my notification.I can see that you can set the position of the container dynamically by altering an attribute on the Object's template that it is inserted in here:
https://github.com/stonecircle/ember-cli-notifications/blob/20e4fa1b3e5be1bea8383c18276a45d5995756d2/addon/components/notification-container.js#L13
However, this will change the position for all notifications. I would like all my default messages to appear at the top, but I would also like certain ones to appear at the bottom. Would we need to add another
notification-container
to the template that handles these?Any thoughts?
The text was updated successfully, but these errors were encountered: