Answers for "js detect mouse support"

0

js detect mouse support

if (matchMedia('(pointer:fine)').matches) {
  // Device has a mouse
}
Posted by: Guest on November-26-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language