ionic-team / ionic-team/ionicons
Feature request: Add indicator slot
- Ngôn ngữ chính
- TypeScript
- Star
- 18.2k
- Fork
- 2.1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hi there.
It would be great if the ion-icon component would allow for an indicator slot so we could use ion-icon somehow like this:
```
```
This would allow us to assign markup to the inside of an ion-icon. I am currently trying to find a good solution to add icons with indicators (other icons on top of the existing one). And I can not really find a good solution without creating a custom component, which I do not want to because it breaks all my styling in items, buttons etc. that excpects an ion-icon component and not a "custom-component".
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by locating the ion-icon component and how it handles child markup and styling. Assess the requested indicator slot using the example in the issue; done means an indicator icon can render inside an ion-icon without requiring a custom component or breaking its use in items and buttons.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- frontend, web-dev
- Loại issue
- Tính năng
- Độ 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
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100