在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:notify开源软件地址:https://gitee.com/u33/notify开源软件介绍:功能说明:layui消息通知插件 6种样式,可手动关闭层,支持回调方法,可设置弹出位置,兼容主流浏览器,兼容至ie9 (ie没有svg动画) 1、6种调用方法: 普通:info 警告:warning 成功:success 错误:error 加载:loading 关闭:destroyAll 2、layui使用方法 layui.use(['notify'],function(){ var notify=layui.notify; notify.info("自定义消息")}) 基本用法 参数说明:对参数没有顺序要求,会根据参数的数据类型进行解析 msg: "", //文字内容 position: 'topCenter', // 弹出位置bottomRight, bottomLeft, topRight, topLeft, topCenter, bottomCenter, center duration: 2000, //默认2秒关闭 showClose: true //显示关闭按钮
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论