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
Would it be possible to add a prop to the Snotify component so that we can pass in a custom CSS class? I'd like to be able to conditionally apply a CSS class at runtime to the .snotify div based on the value of a JS variable.
I'm working around this right now by attaching an event handler to each SnotifyToast object but my code is anything but DRY because of this. It'd be much simpler to do something like <vue-snotify :snotify-class="{ myClass: myBooleanProp }" /> in my template.
The text was updated successfully, but these errors were encountered:
Would it be possible to add a prop to the Snotify component so that we can pass in a custom CSS class? I'd like to be able to conditionally apply a CSS class at runtime to the .snotify div based on the value of a JS variable.
I'm working around this right now by attaching an event handler to each SnotifyToast object but my code is anything but DRY because of this. It'd be much simpler to do something like
<vue-snotify :snotify-class="{ myClass: myBooleanProp }" />
in my template.The text was updated successfully, but these errors were encountered: