angular / angular/components

docs-bug(all): Add doc for mixins

Đang mở
#30,240 2 bình luận 8 reaction 0 người được giao Xem trên GitHub
area: dev-infra area: material.angular.io docs P3
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

Add documentation for all the mixins and explain what they are used for and what the parameters are. This includes:
- Component mixins (examples: mat.button-theme, mat.button-color, mat.button-typography, mat.button-density, ...). I think this should be documented under the new styling tab on each component page. For now, there is only the new `overrides` mixin.
- Global mixins (examples: mat.get-theme-color, mat.define-theme, mat.core, mat.theme, mat.elevation-classes, mat.app-background, ...).

### Affected documentation page

https://material.angular.io/components/categories

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 trang tài liệu bị ảnh hưởng tại material.angular.io/components/categories và xem lại tài liệu hiện có về việc tạo kiểu cho component, đặc biệt là tab tạo kiểu mới và overrides mixin. Lập danh mục các mixin của component và các mixin toàn cục được liệt kê trong issue, sau đó xác định mỗi mixin cần tài liệu nào cho mục đích và các tham số của nó; hoàn tất có nghĩa là các mixin liên quan được ghi tài liệu tại các vị trí component hoặc toàn cục dự kiến của chúng.

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ó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/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.