Element: mousedown event
mousedown event is fired at an
Element when a pointing device button is pressed while the pointer is inside the element.
Note: This differs from the
click event in that
click is fired after a full click action occurs; that is, the mouse button is pressed and released while the pointer remains inside the same element.
mousedown is fired the moment the button is initially pressed.
mousemove_event for example code.
|UI Events |
BCD tables only load in the browser