MCPcopy
hub / github.com/socketio/socket.io / removeChatTyping

Function removeChatTyping

examples/chat/public/main.js:106–110  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

104
105 // Removes the visual chat typing message
106 const removeChatTyping = (data) => {
107 getTypingMessages(data).fadeOut(function () {
108 $(this).remove();
109 });
110 }
111
112 // Adds a message element to the messages and scrolls to the bottom
113 // el - The element to add as a message

Callers 1

main.jsFile · 0.70

Calls 3

getTypingMessagesFunction · 0.70
$Function · 0.50
removeMethod · 0.45

Tested by

no test coverage detected