docs(menu): add example of nested menus using dynamic data
- 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ả
#### Bug, feature request, or proposal:
Feature Request - Menu Docs
#### What is the expected behavior?
The docs would include an example of building a menu from a data structure similar to the [radio button docs](https://material.angular.io/components/radio/examples).
#### What is the current behavior?
The [menu docs](https://material.angular.io/components/menu/overview) only include a nested menu example using static HTML.
#### What are the steps to reproduce?
Working on a Stackblitz demo atm...
#### What is the use-case or motivation for changing an existing behavior?
This is a common use case for building application menus, especially for business applications. The data may come from a config file, a REST API, or some other source but it is very often not static and does not align with a static HTML example.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 4.4.3
TypeScript 2.3.4
Chrome 61
OS X El Capitan
#### Is there anything else we should know?
Thank you for your hard work on this library!
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với tài liệu về menu và so sánh ví dụ menu lồng nhau tĩnh trong đó với mẫu dữ liệu động trong tài liệu về nút radio. Xem lại bản demo StackBlitz được báo cáo nếu có. Công việc được xem là hoàn tất khi tài liệu về menu có một ví dụ menu lồng nhau hoạt động được xây dựng từ một cấu trúc dữ liệu, với hành vi rõ ràng qua ví dụ.
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, frontend
- Loại issue
- Tài liệu
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-2 ngày
- 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
- 38/100