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

Method remove

examples/angular-todomvc/src/app/store.ts:70–73  ·  view source on GitHub ↗
(todo: Todo)

Source from the content-addressed store, hash-verified

68 }
69
70 remove(todo: Todo) {
71 this.todos.splice(this.todos.indexOf(todo), 1);
72 this.updateStore();
73 }
74
75 add(title: String) {
76 this.todos.push(new Todo(title));

Callers 10

addChatMessageFunction · 0.45
removeChatTypingFunction · 0.45
addChatMessageFunction · 0.45
removeChatTypingFunction · 0.45
addChatMessageFunction · 0.45
removeChatTypingFunction · 0.45
addChatMessageFunction · 0.45
removeChatTypingFunction · 0.45
addChatMessageFunction · 0.45
removeChatTypingFunction · 0.45

Calls 1

updateStoreMethod · 0.95

Tested by

no test coverage detected