Params
Attributes
api-criteria
: Object (optional) - Criteria that will be passed to the api on every call.api-search-error-key
: String (string) - The translation key for the api error toast message.api-search-translated-error
: String (string) - The translated error from the selector for a failed api call.auto-select-first-item
: Boolean (optional, defaults to true) - If set false the list won't select the first item on the list when rendered.deselect-on-blur
: Boolean (optional, defaults to false) - Allows the richlist to diselect the selected item when loses focus.disable-selections
: Boolean (optional, defaults to false) - Disables the ability to select a list item.enable-ui-search
: Boolean (optional, defaults to false) - Enables the ability to search a list item.filter-function
: Function (optional) - Callback function called when a filter is selected.filter-items
: list (optional) - List of filter items.filter-title
: String (optional) - Label for the filter dropdown.has-focus
: Boolean (optional) - Used to set focus on the list and attach arrow event listeners (set to false when the list loses focus).hybrid-search
: Boolean (optional) - Will search bytitle
as well asid
field and return all items that match.is-item-preview
: Boolean (optional, defaults to false) - Shows/hides a thumbnail in the list item and shows subtitles horizontally when true.is-api-searching
: Boolean (optional, defaults to false) - When paging by API, the selector state which will control the loading indicator.list-items
: Array (required) object properties:title
(String),subTitles
(Array<String>),glyph
(String),hasError
(Boolean)more-actions-list
: Array (optional) - Will render a ... menu on the right side of the item list and will show a popout menu with the items. Object properties:id
(String),title
(String),actionFn
(Function).on-bulk-remove
: Function (optional) - Callback function when a bulk remove occurs (receives array of items selected).on-deselect
: Function (optional) - When provided a function will be called and will allow a selected item to be unselected.on-right-keypress
: Function (optional) - Callback function that will be called when kitting the right arrow key (used for multi fancy rich list implementations). Receives angular-hotkeys event type.on-left-keypress
: Function (optional) - Callback function that will be called when kitting the left arrow key (used for multi fancy rich list implementations). Receives angular-hotkeys event type.on-select
: Function - Callback function when a selection occurs (receives item selected).on-toggle-edit
: Function (optional) - Callback function used to report the edit mode status of the richlist.pager
: Boolean (optional, defaults to false) - Show the pagerpager-api
: Function (optional) - The api to call when paging through the rich list.page-size
: Integer (optional, defaults to 20) - Number of items per page.primary-label-key
: String - The object property which will be the main title for each list item.richListApi
: Function (optional) - Callback function which exposes certain functions to the consuming controller.rich-list-title
: String (string) - Title for the richlist which is displayed on top of the list items.secondary-label-key
: Array (optional) - (String) The object keys which will be the secondary titles for each list item.secondary-title
: Array (optional) - (String) The secondary title that sits below the main title.show-rich-list-title
: Boolean (optional) - To specify if the richlist has a title.sort-items
: Array (optional) -key
(String),text
(String),sortFunction
(optional, function) <-- for custom sorting
NOTE: Most of the functions may need .bind(this)
to bind the proper context.
NOTE: There is a use case of this component that uses the filtering in the studio services Features page