angular / angular/components

docs: clarify support for ViewEncapsulation.ShadowDom

Đang mở
#13,837 15 bình luận 29 reaction 0 người được giao Xem trên GitHub
area: many docs elements help wanted P2
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ả

#### Proposal

#### What is the expected behavior?
If `ViewEncapsulation.ShadowDom` is not supported, this should be called out in the docs to save developers time and frustration.

#### What is the current behavior?
`ViewEncapsulation.ShadowDom` is not supported and is not documented.

#### What are the steps to reproduce?
1. Open https://stackblitz.com/edit/angular-i5jw3k?file=app/table-selection-example.ts
1. Notice how the checkboxes aren't themed
1. Open https://stackblitz.com/edit/angular-sbrzfb?file=app/input-overview-example.ts
1. Notice how the inputs are not themed or styled properly

#### What is the use-case or motivation for changing an existing behavior?
To save developers time and frustration.

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 7.0.0
Angular Material: 7.0.2
TypeScript: ~3.1.1
Browsers: Tested on Chrome, Firefox, and Safari latest stable versions

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

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

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

Hướng nghiên cứu

Bắt đầu bằng việc xem xét hai ví dụ StackBlitz được liên kết và tài liệu Angular về ViewEncapsulation.ShadowDom. Cập nhật tài liệu liên quan để nêu rõ trạng thái hỗ trợ và giải thích hạn chế quan sát được về việc tạo theme và styling; hoàn thành khi các nhà phát triển có thể tìm thấy hướng dẫn đó.

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
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.