-
-
Save ammezie/1cf6321d4383c4515b2412466cb41f3c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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