ionic-team / ionic-team/ionicons
docs: document addIcons usage
- 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ả
Some users have expressed an interest in using functionality provided by addIcons, so it would be good to document its usage.
Use Case: https://github.com/ionic-team/ionic-framework/issues/22181 A developer wants to dynamically show an icon based upon results from a server. They could do `(result) ? heart : heartOutline`, but they do not want to have to continually import each icon. In this case, it would be helpful for them to add the icon globally via `addIcons`.
Hướng dẫn đóng góp
Hướng nghiên cứu
Start by locating the addIcons entry point and the existing Ionicons usage documentation. Document how users can register icons globally for dynamic use, including the server-driven use case described in the issue; done means the addIcons workflow is explained clearly enough to follow.
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
- 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
- 45/100