File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 7
7
behaviors are stable and mature enough to exit beta. Please continue to file issues that
8
8
help us eliminate more bugs from the forthcoming 5.0.0 release. Moving forward, the _major_
9
9
version number of Angular Material and CDK will update alongside Angular itself.
10
- * A [ moment.js] ( http://momentjs.com/ ) implementation of the ` DateAdapter ` for ` MatDatepicker ` is now available as ` @angular/material-moment-adapter `
10
+ * A [moment.js](http://momentjs.com/) implementation of the `DateAdapter` for `MatDatepicker` is
11
+ now available as `@angular/material-moment-adapter`
11
12
* Based on Angular 5.0
12
13
* More consistent naming conventions across the board
13
14
* 60+ bug fixes
42
43
- The `ScrollDispatcher.scrollableReferences` property has been renamed to `scrollContainers`.
43
44
- The `ScrollDispatcher.scrollableContainsElement` method has been removed.
44
45
- The `Scrollable` class has been renamed to `CdkScrollable` for consistency.
46
+ - Any uses of the `ScrollDispatcher.scrolled` method have to be refactored to subscribe to the
47
+ returned Observable, instead of passing in the `callback`. Example
48
+ ```ts
49
+ // Before
50
+ scrollDispatcher.scrolled(50, () => ...);
51
+
52
+ // After
53
+ scrollDispatcher.scrolled(50).subscribe(() => ...);
54
+ ```
45
55
* **unique-selection:** move UniqueSelectionDispatcher to `@angular/cdk/collections`
46
56
(`UniqueSelectionDispatcher`, `UniqueSelectionDispatcherListener`, and
47
57
`UNIQUE_SELECTION_DISPATCHER_PROVIDER`)
You can’t perform that action at this time.
0 commit comments