1rosehip / 1rosehip/jplist-es6
Define item by adding a class not a "data-jplist-item"
- Ngôn ngữ chính
- JavaScript
- Star
- 83
- Fork
- 37
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hi! Is there a way to use a standard class to define items? i don't can use "data-jplist-item" attribute.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Look at the jplist source code to see how items are currently identified via the data-jplist-item attribute. The task is to extend the library to also recognize a standard CSS class as an item marker. Start by examining the initialization and item selection logic, then modify it to check for the class. Test by creating a simple HTML list with the class instead of the data attribute and verifying that sorting/pagination still works.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript
- Lĩnh vực
- frontend
- Loại issue
- Tính năng
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 65/100