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