Skip to main content

Function: sortAria()

sortAria(sort, key): "none" | "ascending" | "descending"

Defined in: packages/sdvtables/src/html/parts.ts:131

The aria-sort value of column key under sort: "none" unless sort is on that column.

Parameters​

sort​

Sort | null | undefined

key​

string

Returns​

"none" | "ascending" | "descending"