## Messages~Message(text, onHideopt)

a generic message that can be displayed in the Messages box

#### new Message(text, onHideopt)
`modules/ui/Messages.js`, `line 6`

  ##### Parameters:

  Name | Type | Attributes | Description
  --- | --- | --- | ---
  `text` | string |  | text of the message
  `onHide` | function | <optional> | a function that will be called when the `hide()` method is called

### Members

#### onHide :function
`modules/ui/Messages.js`, `line 20`

  callback function that will be called when the `hide()` method is called

### Methods

#### hide()
`modules/ui/Messages.js`, `line 26`

  hide the message (and call the onHide callback if there is any)