Typing Indicator Plugin for ChatEngine
Adds the ability to show a typing indicator on a ChatEngine Chat
Quick Start
- Have a ChatEngine server running already, instantiate a client and connect it
const ChatEngine = ChatEngineCore; ChatEngine;ChatEngine;
- Attach this plugin to the channel you want, in this case global
ChatEngineglobal;
- The plugin needs to be notified when the user is considered typing or not typing
// emits the $typingIndicator.startTyping eventChatEngineglobaltypingIndicator;
// emits the $typingIndicator.stopTyping even - default stateChatEngineglobaltypingIndicator;
- Listen for the events
ChatEngineglobal;
ChatEngineglobal;
Support
- If you need help, have a general question a feature request or to file a bug, contact support@pubnub.com