Skip to content

Instantly share code, notes, and snippets.

@ammezie ammezie/ChatRoom.vue Secret
Created Nov 13, 2019

Embed
What would you like to do?
// resources/js/components/ChatRoom.vue
...
this.channel.on("typing.start", event => {
this.isTyping = true;
this.typing = event;
});
this.channel.on("typing.stop", event => {
this.isTyping = false;
});
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.