Skip to content

SiSortBarComponent documentation

selector
si-sort-bar

Input Properties

NameTypeDefaultDescription
defaultSortCriteria
Required
(string | number)key which sortCriteria is active by default.
sortCriteria
Required
SortCriteria[]List of sort criteria.
sortTitle
TranslatableString$localize`:@@SI_SORT_BAR.TITLE:Sort by`Custom sort title.

Output Properties

NameTypeDescription
sortChange
HttpParamsOutput callback event will provide you with a HttpParams object if active sortCriteria change.

Types Documentation

Properties
key: (string | number)
name: string
Represents a translatable string. This can either be a translation key, e.g. ACTIONS.EDIT that will be automatically translated when displayed on the UI or a pre-translated string, e.g. Edit . Equivalent to a normal string in usage and functionality.
Translatable
import

Except where otherwise noted, content on this site is licensed under MIT License.