【问题标题】:Show PNotify notification on page load在页面加载时显示 PNotify 通知
【发布时间】:2018-12-07 03:02:23
【问题描述】:

我有一个页面,我想在其中使用 PNotify 显示通知。如何使用 PNotify-javascript 库在此页面上显示通知。

【问题讨论】:

    标签: javascript jquery pnotify


    【解决方案1】:

    根据 PNotify documentation

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-02-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-03-01
      • 1970-01-01
      相关资源
      最近更新 更多