pnotify

    0熱度

    1回答

    即時通訊使用Pnotify插件,但更近的按鈕沒有顯示。 new PNotify({ title: 'Sucesso', text: response.message, type: 'success', styling: 'bootstrap3', closer: true, labels: {close

    6熱度

    2回答

    我正在使用pnotify插件向用戶顯示通知。但是,如果用戶通過單擊X圖標關閉1選項卡中的通知,我想要刪除所有選項卡上的通知。 我爲此使用localstorage,每次向用戶顯示新通知時,都會將其添加到localStorage。當用戶按下X圖標時,我做了localStorage.removeItem(key)。如何收聽此活動以關閉所有標籤中的通知? 我的聽衆是下面: $(window).bind('

    0熱度

    1回答

    我想使用PNotify提示對話框輸入密碼。有誰知道如何將輸入類型更改爲密碼?我在文檔中看不到任何提及。 http://jsfiddle.net/gusLfnux/1/ new PNotify({ title: 'Password Required', text: 'Enter Password', icon: 'glyphicon glyphicon-lock',

    1熱度

    3回答

    我正在使用PNotify 3使用引導程序3。 我試圖用現場給出的例子PNotify <button class="btn btn-default dropdown-toggle" onclick="(new PNotify({ title: 'Confirmation Needed', text: 'Are you sure?', icon: 'gl

    0熱度

    1回答

    我使用pnotify錯誤和成功對話框沒有任何問題,但提示對話框不想顯示。我收到一個Uncaught TypeError: Cannot read property 'addClass' of undefined錯誤。 有沒有人成功地讓這個工作? jsbin:pnotify with ember

    0熱度

    1回答

    想知道這裏的任何人是否已經通過了pnotify工作;我收到以下錯誤(在服務器上,建立的時候)嘗試使用NPM包時: import pnotify from 'pnotify'; Error: jQuery requires a window with a document at module.exports (...\node_modules\jquery\dist\jquery.js:31:12)

    1熱度

    2回答

    因此,我將PNotify從bower導出到js文件夾。我用requirejs,包括我的圖書館 HTML <script data-main="assets/js/app" type="text/javascript" src="assets/js/lib/require.js"></script> 我的架構是這樣的: js --- app.js --- lib ------ pnotif

    0熱度

    2回答

    如何設置非像素位置? 我試試這個 var stack = { "dir1": "down", "dir2": "right", "firstpos1": 50, "firstpos2": 50 }; 但我這是因爲不同的屏幕分辨率的壞。

    0熱度

    1回答

    增加PNotify通知字體大小的最佳方法是什麼? new PNotify({ title: "Title", text: "Some information more.", type: "notice" }) 從here

    1熱度

    1回答

    你好,我試圖改變每個通知的顏色,但我不能從那裏找到。我使用jqueryui作爲樣式。貝婁你可以看到錯誤和成功通知是如何出現在我的屏幕上的! 這是我使用,以建立動態調用pnotify string script1 = @"var displayIcon = " + displayIcon + @"; $(function(){ new PNotify({