mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
* this close to the surface area that we use - i don't feel comfortable adding more info without having actual usage
15 lines
270 B
TypeScript
15 lines
270 B
TypeScript
/// <reference path="messenger.d.ts"/>
|
|
|
|
var message = Messenger().post({
|
|
message: "message",
|
|
hideAfter: 5,
|
|
showCloseButton: true,
|
|
type: "error"
|
|
});
|
|
message.update({
|
|
type: "error",
|
|
message: "Error calculating position"
|
|
});
|
|
|
|
Messenger().hideAll();
|