所属分类:网页特效-对话框/灯箱/提示,悬浮层/弹出层
<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()