DaffSortable
Describes the properties of a collection that make the collection able to be sorted by Daffodil.
import { DaffSortable } from '@daffodil/core'
interface DaffSortable {
sortOptions: DaffSortOptions
appliedSortOption: DaffSortOption['value']
appliedSortDirection: DaffSortDirectionEnum
}
Properties
Name | Type | Description |
---|---|---|
sortOptions | DaffSortOptions | The available options by which to sort the collection. |
appliedSortOption | DaffSortOption['value'] | The currently applied sorting option. |
appliedSortDirection | DaffSortDirectionEnum | The currently applied sort direction. |