Select Result List

<sw-select-result-list>

ready
Base component for rendering result lists.

Component properties

Property name Type Default
options Array
emptyMessage String
focusEl [ {}, {} ]
isLoading Boolean false

Methods

Method name Parameters
createdComponent No parameters
mountedComponent No parameters
beforeDestroyedComponent No parameters
setActiveItemIndex index
addEventListeners No parameters
removeEventListeners No parameters
emitActiveItemIndex No parameters
navigate
navigateNext No parameters
navigatePrevious No parameters
updateScrollPosition No parameters
emitClicked No parameters
onScroll event
getBottomDistance element

Imports

  • ./sw-select-result-list.html.twig
  • ./sw-select-result-list.scss

SASS variables

Variable name Value
$sw-select-result-list-transition all ease-in-out 0.2s

Twig blocks

  • sw_select_result_list_empty_icon
  • sw_select_result_list_empty_text
  • sw_select_result_list

Slots

  • before-item-list
  • result-item
  • after-item-list