new Message(text, onHideopt)
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
text |
string | text of the message |
|
onHide |
function |
<optional> |
a function that will be called when the |
Members
-
onHide :function
-
callback function that will be called when the
hide()
method is called
Methods
-
hide()
-
hide the message (and call the onHide callback if there is any)