docs-bug(Sidenav): deprecated methods used in the responsive sidenav example
- Ngôn ngữ chính
- TypeScript
- Star
- 25k
- Fork
- 6.8k
- Merge trung bình
- 1 ngày 8 giờ
- Pull request đã merge (30 ngày)
- 91
Mô tả
### 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
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách kiểm tra src/components-examples/material/sidenav/sidenav-responsive/sidenav-responsive-example.ts và mở ví dụ Sidenav bị ảnh hưởng trong StackBlitz. Xác nhận việc sử dụng đã lỗi thời của addListener và removeListener, sau đó kiểm tra để đảm bảo ví dụ responsive và trang tài liệu của nó không còn tạo ra các cảnh báo không được dùng nữa đó.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- angular, typescript
- Lĩnh vực
- documentation
- Loại issue
- Tài liệu
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 48/100