toastr通知插件的使用

/显示一个警告,没有标题 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()

猜你喜欢

转载自www.cnblogs.com/WXGC-yang/p/10327238.html
今日推荐