jQuery 的 Toast 插件 toastr
- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: http://codeseven.github.com/toastr/
- 软件文档: https://github.com/CodeSeven/toastr
软件介绍
toastr 是一个实现了类似 Android 的 Toast 提示的 jQuery 插件。
示例代码:
// Display a warning toast, with no title toastr.warning('My name is Inigo Montoya. You killed my father, prepare to die!') // Display a success toast, with a title toastr.success('Have fun storming the castle!', 'Miracle Max Says') // Display an error toast, with a title toastr.error('I do not think that word means what you think it means.', 'Inconceivable!') // Clears the current list of toasts toastr.clear()