akveo / akveo/ng2-smart-table

Please update documentation for setting properties that are functions.

Đang mở
#402 1 bình luận 9 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
TypeScript
Star
1.6k
Fork
867
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Column settings that take functions as values need to be better documented.
For example for compareFunction there is no indications for what the input will be nor what the output should be. (if anyone is wondering here is the default compare :
`protected static COMPARE = (direction: any, a: any, b: any) => {
if (a < b) {
return -1 * direction;
}
if (a > b) {
return direction;
}
return 0;
}
`)

This is also the case for the property filterFunction.

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

Đánh giá

Issue này chưa được đánh giá.

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.