Interface IHoveredElement

Information about the hovered element, which can affect cursor behavior.

Hierarchy

  • IHoveredElement

Properties

element: Element

The element currently being hovered over.

height?: number | false | "auto"

The target height of the cursor when hovering over this element. Can be set to a specific number, false (no change), or auto.

Default

'auto'
isSticky?: boolean

Whether the hover state should "stick" to the element, meaning the cursor remains over the element even after moving away.

padding?: number

Padding around the cursor when hovering over this element.

width?: number | false | "auto"

The target width of the cursor when hovering over this element. Can be set to a specific number, false (no change), or auto.

Default

'auto'