Javascript Events of mousedown mousemove keydown scroll touchstart click keypress touchmove
<script type="text/javascript">
var sd=!1;
console.log(sd);
function myworker(){
if(!sd){
sd=!0;
console.log("Yes");
console.log(sd);
}
}
var myallEvents=["mousedown","mousemove","keydown","scroll","touchstart","click","keypress","touchmove"];
myallEvents.forEach(function(t){window.addEventListener(t,myworker,!1)});
</script>
Saturday, January 14, 2023
Home »
click
,
javascript
,
keydown
,
keypress
,
mousedown
,
mousemove
,
scroll
,
touchmove
,
touchstart
» Javascript Events of mousedown mousemove keydown scroll touchstart click keypress touchmove
Javascript Events of mousedown mousemove keydown scroll touchstart click keypress touchmove
How to make center align child div
How to make center align child div? Suppose you have 2 Div tag. And want the make inner tag center <div id="d1"> ...
0 comments:
Post a Comment