As per question in the title...
There's a complete list of DOM events here, which includes browser-specific and touch-interface events as well. All the Mouse and Keyboard events can be attached to a div, which are:
mousedown, mouseup, mouseover, mousemove, mouseout, click, dblclick, keydown, keypress, keyup
There are various events which can be performed on div
tags such as
ondrag, ondragcenter, ondragleave, ondrop, ondragover, ondragstart, ondragend, onscroll
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With