Skip to content

HoverElementParams.element

HoverElementParams › element

Type: HTMLElement

The element to hover. The pointer is moved to its center. This is a live renderer DOM node — the callback runs in-renderer, so no cross-process serialization is needed (same as TypeIntoEditorParams.editor).

The input goes to the window that owns the element (its ownerDocument.defaultView), so an element in a popout is driven in that popout with no extra parameter.