stable

Clone or download

Read-only

refactor: do not rely on selection element to handle items selection

part of story #35821 Pull request new home page - Filter on Authors In this contibution, selectItem and isItemSelected are extracted from the SelectionElement type definition into a dediacated interface. It will allow us to avoid having a dependency on SelectionElement in LazyAutocompleter. -- no functional change expected Change-Id: I58433472105f59a1848dc3aabc164de4800460ab

Modified Files

Name
M lib/frontend/lazybox/src/dropdown/DropdownElement.ts +2 −2 Go to diff View file
M lib/frontend/lazybox/src/dropdown/GroupTemplate.test.ts +1 −2 Go to diff View file
A lib/frontend/lazybox/src/selection/HandleSelection.ts +25 −0 Go to diff View file
M lib/frontend/lazybox/src/selection/SelectionElement.ts +2 −3 Go to diff View file