This feature is experimental. It may be changed or removed in a future version.
Focuses the given element.
Focusing an element will also reveal it, unless { preventScroll: true } is passed.
{ preventScroll: true }
The element to focus.
Whether to prevent changes to the acroll position.