Skip to content

Commit 0988db9

Browse files
devversionjelbourn
authored andcommitted
docs(collections): wrong property name in docs after property rename (#13141)
After the renaming from `onChange` to `changed`, the `collections.md` somehow includes `model.changes` which should be actually `model.changed`.
1 parent b30cf6e commit 0988db9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cdk/collections/collections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ console.log(model.isSelected(4)) //-> true
3030
console.log(model.sort()) //-> [1,2,3,4]
3131

3232
// listen for changes
33-
model.changes.subscribe(s => console.log(s));
33+
model.changed.subscribe(s => console.log(s));
3434
```

0 commit comments

Comments
 (0)