Notyf是一个非常小的和易于使用的JavaScript插件,用于显示警报/成功通知消息在网页上。响应迅速、方便使用。
调用非常简单
var notyf = new Notyf();
notyf.alert('Alert Message');
notyf.confirm('Success Message');参数配置
var notyf = new Notyf({ // 时间 duration:2000, // 波纹效果 ripple: true, // 自定义位置 position: {x:'right',y:'bottom'}, // 允许手动关闭 dismissible: false, types: [ { type: 'warning', // Notification type duration: 2000, ripple: true, message: 'custom message' background: 'orange', className: '', extra CSS class icon: { className: 'material-icons', tagName: 'i', text: 'warning' } } ] });
一款漂亮的提示信息alert插件
正在加载文件目录...
- 热度 19
![](https://imgs.bootstrapmb.com/2023/11/240401132.jpg)
奔跑的石头下载了 此素材
![](https://imgs.bootstrapmb.com/2020/7/061032543.jpg)
Sik-.下载了 此素材
![](https://imgs.bootstrapmb.com/2023/1/130312338.jpg)
﹏致美丽的你、下载了 此素材
![](https://imgs.bootstrapmb.com/2020/4/280228012.jpg)
现,在下载了 此素材
![](https://imgs.bootstrapmb.com/2022/3/100119239.jpg)
瞎闹腾℡下载了 此素材
![](https://imgs.bootstrapmb.com/2021/8/060457424.jpg)
gblw6662021收藏了 此素材
![](https://imgs.bootstrapmb.com/2021/3/170228008.jpg)
绯飞下载了 此素材
![](https://imgs.bootstrapmb.com/2021/3/160429544.jpg)
我是传琪下载了 此素材
![](https://imgs.bootstrapmb.com/2020/3/110554035.jpg)
123456789下载了 此素材
![](https://imgs.bootstrapmb.com/2021/3/031202515.jpg)
桑格花下载了 此素材