Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/socketio/socket.io
/ addTodo
Method
addTodo
examples/angular-todomvc/src/app/app.component.ts:53–58 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
51
}
52
53
addTodo() {
54
if
(this.newTodoText.trim().length) {
55
this.todoStore.add(this.newTodoText);
56
this.newTodoText =
''
;
57
}
58
}
59
}
Callers
nothing calls this directly
Calls
1
add
Method · 0.45
Tested by
no test coverage detected