Untitled

mail@pastecode.io avatar
unknown
plain_text
3 years ago
198 B
2
Indexable
Never
socket.on('join.room', (count) => {
    $('.total-user-count').text("Total Online User: " + count);
});
socket.on('message.send', (message) => {
    $('.chat-message-area').append(`${message}`);
});