angular/components

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

Open

#29,266 创建于 2024年6月15日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)TypeScript (24,044 star) (6,650 fork)batch import
P4area: material/sidenavdocsgood first issue

描述

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

贡献者指南