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

Method setAllTo

examples/angular-todomvc/src/app/store.ts:47–50  ·  view source on GitHub ↗
(completed: boolean)

Source from the content-addressed store, hash-verified

45 }
46
47 setAllTo(completed: boolean) {
48 this.todos.forEach((t: Todo) => t.completed = completed);
49 this.updateStore();
50 }
51
52 removeCompleted() {
53 this.todos = this.getRemaining();

Callers

nothing calls this directly

Calls 1

updateStoreMethod · 0.95

Tested by

no test coverage detected