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
...
async startedTyping() {
await this.channel.keystroke();
},
stoppedTyping() {
setTimeout(async () => {
await this.channel.stopTyping();
}, 2000);
}
...
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.