I can not figure out how to call the data attribute, there is a template on the bootstrap, there are Notifications, it is called using the button

<button data-notify-type="info" data-notify-icon="fa" data-notify-message="Congrats! You've reached level 12!">Info</button> 

How to call Notifications for example when opening the page?

    1 answer 1

    The documentation says that you need to save the notification to a variable first. After that, the notification can be called manually.

     var notify = $.notify('...'); notify.update('title', '...');