0
css
スタイルを適用してnotify.js
アラートを適用する方法を知る必要があります。私はこのためにいくつかのスタイルを適用する必要がnotify.jsアラートメッセージのスタイルを適用する方法
$.notify({
message: "Alert!"
}, {
type: 'danger',
animate: {
enter: 'animated fadeInUp',
},
placement: {
from: "top",
align: "center"
},
offset: 20,
spacing: 10,
z_index: 1031,
});
-
は、ここに私のコードです。
'$ .notify.addStyle()'はあなたの友人です。ここで、ドキュメントを読んでください:https://notifyjs.com – Stavm