MCPcopy
hub / github.com/tastejs/todomvc / ITodoModel

Interface ITodoModel

examples/typescript-react/js/interfaces.d.ts:30–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29
30interface ITodoModel {
31 key : any;
32 todos : Array<ITodo>;
33 onChanges : Array<any>;
34 subscribe(onChange);
35 inform();
36 addTodo(title : string);
37 toggleAll(checked);
38 toggle(todoToToggle);
39 destroy(todo);
40 save(todoToSave, text);
41 clearCompleted();
42}
43
44interface IAppProps {
45 model : ITodoModel;

Callers 49

dojo.jsFile · 0.65
app.tsxFile · 0.65
bundle.jsFile · 0.65
app.jsFile · 0.65
todo.jsFile · 0.65
todoModel.jsFile · 0.65
bundle.jsFile · 0.65
Todos.jsFile · 0.65
handleNewTodoKeyDownMethod · 0.65
bundle.jsFile · 0.65
app.jsFile · 0.65
toggleAllMethod · 0.65

Implementers 1

TodoModelexamples/typescript-react/js/todoModel

Calls

no outgoing calls

Tested by

no test coverage detected