showing results for - "javascript detect cursor"
Mariella
20 Jun 2017
1<!DOCTYPE html>
2<html>
3<body>
4
5<img onmouseover="bigImg(this)" onmouseout="normalImg(this)" border="0" src="smiley.gif" alt="Smiley" width="32" height="32">
6
7<script>
8function bigImg(x) {
9 alert("kursor klick")
10}
11
12</script>
13
14</body>
15</html>
16
Fabio
08 Feb 2017
1/* npm i tappify */
2import Tappify from "tappify";
3
4/* Only works in react.js */
5function myComponent() {
6  return <>
7    <Tappify.Finger>
8      Client is using finger *tap tap*
9    </Tappify.Finger>
10 
11    <Tappify.Cursor>
12      Client is using mouse cursor *click click*
13    </Tappify.Cursor>
14  </>
15}
16//more info: https://github.com/asplunds/tappify
similar questions
queries leading to this page
javascript detect cursor