Skip to content

Commit 5ab0bd1

Browse files
committed
refactor(material/sidenav): undeprecate constructor signature
Removes the deprecation labels from a constructor parameter since it's tricky to sync into g3 and is easy to maintain on our end.
1 parent 70ead0c commit 5ab0bd1

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/material/sidenav/drawer.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -263,10 +263,6 @@ export class MatDrawer implements AfterContentInit, AfterContentChecked, OnDestr
263263
private _platform: Platform,
264264
private _ngZone: NgZone,
265265
@Optional() @Inject(DOCUMENT) private _doc: any,
266-
/**
267-
* @deprecated `_container` parameter to be made required.
268-
* @breaking-change 10.0.0
269-
*/
270266
@Optional() @Inject(MAT_DRAWER_CONTAINER) public _container?: MatDrawerContainer) {
271267

272268
this.openedChange.subscribe((opened: boolean) => {
@@ -626,7 +622,6 @@ export class MatDrawerContainer implements AfterContentInit, DoCheck, OnDestroy
626622
this._allDrawers.changes
627623
.pipe(startWith(this._allDrawers), takeUntil(this._destroyed))
628624
.subscribe((drawer: QueryList<MatDrawer>) => {
629-
// @breaking-change 10.0.0 Remove `_container` check once container parameter is required.
630625
this._drawers.reset(drawer.filter(item => !item._container || item._container === this));
631626
this._drawers.notifyOnChanges();
632627
});

0 commit comments

Comments
 (0)