You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to create a typing inidcator for a real time chat application and was wondering, what the best way to do this is. Currently, if a user is typing, an update will be posted to the "typing" topic: <input type="text" id="userMessage" placeholder="Nachricht" @input="userTyping">
When the site receives a message of the topic user/typing, the typer will be shown.
Is there a better way to do it, e.g. with the "Active Subscriptions" API?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to create a typing inidcator for a real time chat application and was wondering, what the best way to do this is. Currently, if a user is typing, an update will be posted to the "typing" topic:
<input type="text" id="userMessage" placeholder="Nachricht" @input="userTyping">
When the site receives a message of the topic
user/typing
, thetyper
will be shown.Is there a better way to do it, e.g. with the "Active Subscriptions" API?
Beta Was this translation helpful? Give feedback.
All reactions