首页 > Web开发 > 详细

jquery通知插件toastr

时间:2016-01-19 19:16:00      阅读:199      评论:0      收藏:0      [点我收藏+]
使用方法

3个简单步骤

对于其他API调用,看到演示。

<link href="toastr.css" rel="stylesheet"/>
<script src="toastr.js"></script>
//显示一个信息没有标题
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()

 

jquery通知插件toastr

原文:http://www.cnblogs.com/demoC/p/5143022.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!