mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-06 12:30:10 +08:00
Update for toastr 1.0.3
This commit is contained in:
1 parent
320fd6b0a2
commit
ff458d14ee
2 files changed
+28
-10
No files matched your search
+12
-3
@@ -1,10 +1,19 @@
|
||||
/// <reference path="../Definitions/toastr-1.0.d.ts" />
|
||||
|
||||
/// <reference path="../Definitions/toastr-1.0.d.ts" />
|
||||
|
||||
function test_basic() {
|
||||
toastr.info('Are you the 6 fingered man?');
|
||||
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 tink it means.', 'Inconceivable!');
|
||||
toastr.clear();
|
||||
|
||||
var msg = 'Do you think Rodents of Unusual Size really exist?';
|
||||
var title = 'Fireswamp Legends';
|
||||
var overrides = { timeOut: 250 };
|
||||
toastr.warning(msg, title, overrides);
|
||||
|
||||
toastr.options.onclick = function () {
|
||||
}
|
||||
}
|
||||
|
||||
declare var $;
|
||||
|
||||
Reference in new issue
Block a user