angular/components

docs-bug(Sidenav): deprecated methods used in the responsive sidenav example

Open

#29266 opened on Jun 15, 2024

View on GitHub
 (2 comments) (0 reactions) (0 assignees)TypeScript (24,044 stars) (6,650 forks)batch import
P4area: material/sidenavdocsgood first issue

Description

Documentation Feedback

https://github.com/angular/components/blob/main/src/components-examples/material/sidenav/sidenav-responsive/sidenav-responsive-example.ts

In the stackblitz demo, it shows that addlistener and removelistener are deprecated. I just wanted to create this documentation issue to let the contributors/maintainers aware.

Affected documentation page

https://material.angular.io/components/sidenav/examples#sidenav-responsive

Contributor guide