Select Base

<sw-select-base>

ready
Base component for creating new select components. Uses sw-field base components as basic structure.

Component properties

Property name Type Default
isLoading Boolean false

Methods

Method name Parameters
toggleExpand No parameters
expand No parameters
collapse No parameters
listenToClickOutside event
computePath event

Imports

  • ./sw-select-base.html.twig
  • ./sw-select-base.scss

SASS variables

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

Twig blocks

  • sw_select_base

Slots

  • sw-select-selection
  • results-list