Collections and tables
SortableHeader
No summary has been written for SortableHeader. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.Public export
typescript
import { SortableHeader } from '@happyvertical/smrt-ui/data';- Import path
@happyvertical/smrt-ui/data- Props
- 11
- Props described
- 10 of 11
- Bindable state
- 0
- Callback events
- 1
- Verified release
- 0.57.40
Props
NameTypeRequiredDescription
columnIdstringYesId of the column this header sorts by.labelstringYesColumn name shown in the header and used in the sort announcement.listListSortStateNoThe list's sort state; supplies `sort`, `spec`, `href`, and `onSort`.sortListSort | nullNoCurrent sort of the list.hrefstringNoLink to the list sorted by this column (server-sorted lists).onSort(columnId: string) => voidNoCalled on activation (client-sorted lists).specListSortSpecNoThe list's sort spec; gives the column's first direction for the label.as'th' | 'div'NoRender a table `th` (default) or a `div` column header for grid layouts.align'start' | 'center' | 'end'NoHorizontal alignment of the header content.classstringNoExtra class names.childrenSnippetNoNot describedBindable state
This component has no bindable public state.
Callback events
onSort(columnId: string) => void