Skip to content

Commit b53196f

Browse files
Update Readme: for onload-sort class.
1 parent dda333c commit b53196f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,11 @@ Refer to the documenation for examples on how to use table-sort-js with [HTML](h
5151
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------- |
5252
| "order-by-desc" | Order by descending on first click. (default is aescending) |
5353
| "data-sort" | Sort by [data attributes](https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes), e.g <td data-sort="42"> |
54+
| "onload-sort" | Sort column on loading of the page. Simulates a click from the user. (can only sort onload for one column) |
5455
| "file-size-sort" | Sort file sizes(B->TiB) uses the binary prefix. (e.g KiB) |
56+
| "disable-sort" | Disallow sorting the table by this specific column. |
5557
| "alpha-sort" | Sort alphabetically (z11,z2); default is [natural sort](https://en.wikipedia.org/wiki/Natural_sort_order) (z2,z11). |
5658
| "punct-sort" | Sort punctuation; default ignores punctuation. |
57-
| "disable-sort" | Disallow sorting the table by this specific column. |
5859

5960
#### Development:
6061

0 commit comments

Comments
 (0)