Pisanie wiadomości
$conpeek.chat.registerDetectInput("<<element>>");
| Method | Description |
|---|---|
element |
INPUT / TEXTAREA ELEMENT |
Info
Register typing event of input element.
The consultant receive the typing animation during the call.
Example
Example element:
<textarea id="conpeek_plugin_chat_message" rows="1" name="conpeek_plugin_chat_message" placeholder="Type message here" style="height: 35px;"></textarea>
$conpeek.chat.registerDetectInput(document.getElementById ("conpeek_plugin_chat_message"));