Extends
- Component
Methods
componentDidMount()
- Source:
Invoked immediately after a component is mounted
Fires:
- event:componentDidMount
componentWillUnmount()
- Source:
Invoked immediately before a component is unmounted
Fires:
- event:componentDidMount
open(dialogID, e)
- Source:
Открыть диалог
Parameters:
| Name | Type | Description |
|---|---|---|
dialogID |
Number | id диалога, который нужно открвыть |
e |
Object |
Fires:
- event:click
readMessages()
- Source:
Сделать все сообщения в текущем диалоге прочитанными
render() → {Object}
- Source:
Render component
Returns:
jsx object
- Type
- Object
sendMessage(e)
- Source:
Отпрвка сообщения
Parameters:
| Name | Type | Description |
|---|---|---|
e |
Object |
Fires:
- event:submit