Customizing Notification position & styling on the fly
Is there a way to change the position and styling of a Notification when sending it, instead of globally in a Service Provider?
I have different types of notifications I'd like to display:
1. Notification about a form that is saved (top center)
2. Event Notifications, "You received a new message", for example (top right)
Is this possible in v3?
4 Replies
you could try extraAttributes and change the class/css there? See if it's high enough in the classing to work or not
Thanks @toeknee I tried that, but
->extraAttributes()
is not available on the Notification classAhh then it looks like not, dive into how the package works, maybe make a PR adding support for alignment?
I might look into that, thanks