ComboBoxScrollerMixin
Properties
Index of an item that has focus outline and is scrolled into view. The actual focus still remains in the input field.
Function used to set a label for every combo-box item.
A function used to generate CSS class names for dropdown items based on the item. The return value should be the generated class name as a string, or multiple class names separated by whitespace characters.
The selected item from the items array.
Functions
Updates the virtualizer's size and items.
Scrolls an item at given index into view. By default the item is made fully visible at the bottom of the viewport (the behavior wanted on Arrow Down key press). When alignToCenter is true, the item is placed in the middle of the viewport instead, as close to center as the list allows near its start and end.