jquery通知插件toastr |
您所在的位置:网站首页 › toastr › jquery通知插件toastr |
jquery通知插件toastr
所属分类:UI-对话框和灯箱,反馈 233938 603 查看评论 (31) 分享到微信朋友圈X![]() ![]() ![]() 3个简单步骤 对于其他API调用,看到演示。 //显示一个信息没有标题 toastr.info('Are you the 6 fingered man?')其他选项 /显示一个警告,没有标题 toastr.warning('My name is Inigo Montoya. You killed my father, prepare to die!')//显示一个成功,标题 toastr.success('Have fun storming the castle!', 'Miracle Max Says')/显示错误标题 toastr.error('I do not think that word means what you think it means.', 'Inconceivable!')//清除当前的列表 toastr.clear() PREVIOUS: NEXT: jQuery移动列表插件Editable Listview jQuery翻转卡插件Flip Out Cards 相关插件-对话框和灯箱,反馈 查看更多 讨论这个项目(31)回答他人问题或分享插件使用方法奖励jQ币 评论用户自律公约![]() ![]() 这个插件不错 toastr.success('Have fun storming the castle!') clear_toastr(1600); // 动态设置消息提示时间 function clear_toastr(time){ setTimeout( function(){ toastr.clear(); }, time); } 回复![]() ![]() ![]() ![]() ![]() ![]() ![]() Uncaught TypeError: Cannot read property 'extend' of undefined,请问一下,报这种错误是因为什么? ![]() ![]() 怎么通过点击空白处,让消息提示消失呢? 回复![]() 怎么跟seajs模块化加载,一直报错 回复![]() 很不错,谢谢楼主分享! 回复![]() ![]() confirm是阻塞式的,toastr is a Javascript library for non-blocking notifications. https://github.com/CodeSeven/toastr 回复 查看更多评论 登录后才可以评论 30秒后在评论吧! 😃😀😉😥😵😫😘😡👍🌹👏🍺🍉🌙⭐💖💔 😃😀😉😥😵😫😘😡👍🌹👏🍺🍉🌙⭐💖💔 取消回复 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |