Show PNotify notification on page load

1.6k Views Asked by At

I have a page in which I want to display a notification using PNotify. How do I display a notification on this page using the PNotify-javascript library.

1

There are 1 best solutions below

0
curiosity On BEST ANSWER

As per the PNotify documentation:

$(document).ready(function() {
    (new PNotify({
        title: 'Regular Notice,
        text: 'Check me out! I\'m a notice.',
        type: 'info',
        styling: 'bootstrap3'
    }));
});