typingMode
the typing mode for bot-generated responses
boolean typingMode;
Example
webix.ui({
view: "chat",
typingMode: false, url: "https://docs.webix.com/chat-backend/"
});
Default value:
true
Details
The property works when one of the operations below comes from the server:
- "append" - the marker of adding more text. Then "typing" starts with the expectation of subsequent text segments.
- "end" - the marker of ending the stream with the full text. On getting this operation marker "typing" speeds up.
You can control the speed of typing with the following properties:
- typingDelay (number) - the delay between letters typing in ms. 50 by default
- typingLoadedDelay (number) - the delay between letters typing in ms, when the "end" operation comes from the server. 10 by default
See also
Back to top