Options for controlling selection behavior, including scrolling and focus.
Optional
If true, the selected element will automatically receive focus after being selected.
true
false
false Copy
If true or if a valid ScrollIntoViewOptions object is provided, the selected element will be scrolled into view.
ScrollIntoViewOptions
Options for controlling selection behavior, including scrolling and focus.