angular / angular/components

Document how to use secondary actions in lists

Đang mở
#6,398 10 bình luận 5 reaction 0 người được giao Xem trên GitHub
area: material/list docs feature help wanted needs: discussion P4
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:

Improved documentation

#### What is the expected behavior?

It should be possible to include one or more buttons (or "infos") as a secondary action in a list item [per the spec](https://material.io/guidelines/components/lists-controls.html).

#### What is the current behavior?

The [List documentation and examples](https://material.angular.io/components/list/overview) do not show secondary actions.

#### Is there anything else we should know?

The [documentation for Lists in Material 1](https://material.angularjs.org/latest/demo/list) show extensive examples, including (at the very end) the use of multiple secondary actions, via the `md-secondary` class. I'm guessing this is probably already possible in Material 2 but I can't figure out how. (For the time being, I'm hacking it together with manual `float:right` and some margin twiddling.)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với tài liệu và các ví dụ về List tại material.angular.io/components/list/overview, sau đó so sánh các ví dụ về list của Material 1 được liên kết trong issue, đặc biệt là ví dụ về secondary action sử dụng md-secondary. Hoàn thành khi tài liệu list của Angular Material minh họa một hoặc nhiều nút hoặc thông tin secondary action được hỗ trợ.

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
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.