Feature request: pull to refresh
- 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:
Feature request
#### What is the expected behavior?
When the user is at the top of a list and pulls, a refresh icon slides in. When the icon is fully visible and the user releases, the list is refreshed.
Material spec can be found here: https://material.io/guidelines/patterns/swipe-to-refresh.html
#### What is the use-case or motivation for changing an existing behavior?
We are building a web application using Angular Material, which we will be shipping as an app. We wish to conform to the Material spec and thus allow our users to refresh a list by pulling down.
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 5.2.3
Material: 5.1.1
TypeScript: 2.7.1
Hướng dẫn đóng góp
Hướng nghiên cứu
Issue không nêu rõ tệp nào trong repository, test hay entry point. Hãy bắt đầu bằng việc xem lại đặc tả swipe-to-refresh của Material được liên kết và các pattern component Angular Material hiện có; xác định phạm vi của component và API trước khi triển khai. Được xem là hoàn tất khi một danh sách được làm mới sau khi được kéo từ trên cùng xuống và thả ra sau khi biểu tượng làm mới hiển thị hoàn toà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
- frontend
- 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
- 35/100