Interface ICursorHoveredElement

Information about the currently hovered element affecting cursor behavior.

interface ICursorHoveredElement {
    element: Element;
    height?: null | number | "auto";
    padding?: number;
    sticky?: boolean;
    type?: string;
    width?: null | number | "auto";
}

Properties

element: Element

The currently hovered element.

height?: null | number | "auto"

Target height of the cursor while hovering over this element.

null
padding?: number

Padding around the cursor while hovering over this element.

sticky?: boolean

Indicates whether the hover state should persist on the element.

type?: string

Cursor type

width?: null | number | "auto"

Target width of the cursor while hovering over this element.

null