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/views/js/ChatRoom.vue
this.channel.on("member.added", event => {
this.members.push(event);
this.status = `${event.user.name} joined the chat`;
});
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.