React sensor hooks that re-render on mouse position changes.
useMouse simply tracks mouse position; useMouseHovered allows you to specify extra options:
bound — to bind mouse coordinates within the elementwhenHovered — whether to attach mousemove event handler only when user hovers over the elementRun the following command:
npx ever-ui-clx@0.2.1 add demo-use-mouse
# └──> Hook coming soon.  {
  "docX": 0,
  "docY": 0,
  "posX": 0,
  "posY": 0,
  "elX": 0,
  "elY": 0,
  "elH": 0,
  "elW": 0
}{
  "docX": 0,
  "docY": 0,
  "posX": 0,
  "posY": 0,
  "elX": 0,
  "elY": 0,
  "elH": 0,
  "elW": 0
}