Open C0lacan opened 6 years ago
You wouldn't happen to have a public URL I could look at to look into this issue.
May it be that animate.css was not included?
Rethink the order of your javascript imports. Maybe you placed your notification trigger before the notify.js import.
in my case i have to put the $.notify in a $(document).ready(function() {}) cause it was executing before libraries were loaded;
Rethink the order of your javascript imports. Maybe you placed your notification trigger before the notify.js import.
Worked! Thankyou :)
Mostly it's due to the jquery version, use the compatible version of Jquery, Problem will be solved
I solved with window.notify = require("bootstrap4-notify");
in bootstrap.js
and then use $.notify({options},{settings})
Laravel 8
Bootstrap 4.6
I solved with
window.notify = require("bootstrap4-notify");
inbootstrap.js
and then use$.notify({options},{settings})
Laravel 8 Bootstrap 4.6
i use bootstarb 4 and php. this solution not work for me can u help more
u write this code frist line? and $.notify({options},{settings})` in function? i want call snotify from function
Hello, I'm facing a problem developing with Notify (Now UI from Creative TIM). I saw a similar issue #152, but the solutions are not so optimistic.
My environment: Laravel 5.6 vue.js 2.5.7 Bootstrap 4.0.0 Jquery 3.3.1
in vue.js
.then(function (resp) { $.notify("Hello World"); app.$router.push({path: '/admin/'}); })
The console logs as
Without Vue.js, the problem is still there.
I'm running everything OK if the code is
<script> jQuery.notify("Hello World"); </script>
but when it comes to
<script> $(document).ready(function() { jQuery.notify("Hello World"); }); </script>
The console also logs as
How can I fix this? or is there any one having the same issue here? Thanks for reading ^ _ ^