Question · Vue.js course · Module 9: Composables & VueUse

useMouseInElement Composable

What does the useMouseInElement composable from VueUse return?

Answer options

  • Only global coordinates
  • Element focus state
  • Element dimensions
  • Mouse position relative to the element (elementX, elementY, isOutside)

You can check the correct answer by solving this task in the CodeWorlds game.