|
|
|
|
|
by quarterto
4761 days ago
|
|
Knockout's documentation I find severely lacking. It has no API reference whatsoever (short of reading the code, which I do not recommend). It just has a set of really comprehensive tutorials. Which is great when you're starting out. Not so much when you're trying to work out if ObservableArray.prototype.remove takes a function like removeAll does. (Or was it the other way round? dammit) |
|
However, you're not quite right with your assertion above. The docs clearly describe the params that both of those methods can take (remove takes a reference/value, removeAll an array or function or nothing)
http://knockoutjs.com/documentation/observableArrays.html#re...