Herald.js:具有插件支持的通知生成系统
Herald.js (在MIT许可下发布)演示: :具有插件支持的通知生成系统。 new Herald(message[, type[, options]]); new Herald(message[, options]); new Herald(options);示例用法: var error = new Herald("Error, something went wrong!", "error"); error.tell();或者您可以使用第三个“选项”参数自定义Herald : var error = new Herald("Error, something went wrong!", "error", { ttitle: "Whoops!", ttime: 3000, // will fade out after 3 seconds tstyle:
文件列表
Herald_js-master.zip
(预估有个4文件)
Herald.js-master
herald.js
3KB
LICENSE
1KB
herald.css
750B
readme.md
1KB
暂无评论