使用方法 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()