Optional
forceIf set to true
tabindex="-1"
will be added as needed so any element
can be focused.
Optional
preventBy default the element is scrolled into view. Set this to true
to prevent this behavior.
See full description of preventScroll
at
MDN
Optional
scrollBy default the element is scrolled into view centered vertically. Set this to true
to
scroll such that the elements top is at the top of the viewport.
It will utilize the scrollIntoView
function, see full description of scrollIntoView
at
MDN
Options for focus.