Type: CursorChange#
CursorChange:
object|object
Payload passed to the onCursor callback. Enforces “at least one field is
defined” — a payload where both cursor and kitCursorName are absent is
rejected at compile time:
Standard cursor: both fields present —
cursoris the mapped CSS value,kitCursorNameis the original Kit name.Custom cursor: only
kitCursorNameis present —cursoris absent because the SDK has no CSS mapping for the name.