show
More Info
Retrieve an |
Todo.getList({filter: {complete: true}}) |
Retrieve a single todo from the server. |
Todo.get({id: 5}) |
Create a todo by POSTing its data to the server. |
var todo = new Todo({name: "learn CanJS"})
todo.save() |
Update a todo by PUTing its data to the server. |
todo.complete = true;
todo.save(); |
Destroy a todo by DELETing its data on the server. |
todo.destroy(); |