我使用帕特插件,但关闭按钮没有显示。
new PNotify({
title: 'Sucesso',
text: response.message,
type: 'success',
styling: 'bootstrap3',
closer: true,
labels: {close: "Fechar", stick: "Manter"}
});对这种行为有什么想法吗?

包括的文件有: pnotify.css pnotify.js
发布于 2016-10-20 10:38:05
阅读Pnotify的文件之后,您必须将closer封装在buttons {}选项和labels中。
new PNotify({
title: 'Sucesso',
text: response.message,
type: 'success',
styling: 'bootstrap3',
buttons: { closer: true,
labels: {close: "Fechar", stick: "Manter"}
},
});https://stackoverflow.com/questions/40151825
复制相似问题