<table-sortable>
A web component to enable users to sort table data by clicking on column headers.
A web component to enable users to sort table data by clicking on column headers. Built with accessibility in mind, featuring keyboard navigation, screen reader announcements, and light DOM manipulation.
Based on the original jquery.easy-sortable-tables.js by Aaron Gustafson.
Attributes
label-sortablelabel-ascendinglabel-descendingdata-sort-valuedata-sort-asdata-table-sort-group
Events
table-sortable:sort