Assertion: mouse button | /r/HasProperty | pressed
Facets:
value: during the event
type: TEMPORAL
Source sentences:
text: When a mouse button is pressed, the value of the system variable mouseButton is set to either LEFT, RIGHT, or CENTER, depending on which button is pressed.
text: Example Find out which mouse button that was pressed when a mouse event was triggered: alert("You pressed button:
text: Return Value: A Number, representing which mouse button that was pressed when the mouse event occured.
text: This can happen, for example, when the cursor moves, when a mouse button is pressed or released, or in response to a call to a function such as WindowFromPoint.
text: Returns whether the "ALT" key was pressed when the mouse event was triggered button Returns which mouse button was pressed when the mouse event was triggered buttons Returns which mouse buttons were pressed when the mouse event was triggered clientX Returns the horizontal coordinate of the mouse pointer, relative to the current window, when the mouse event was triggered clientY Returns the vertical coordinate of the mouse pointer, relative to the current window, when the mouse event was triggered ctrlKey Returns whether the "CTRL" key was pressed when the mouse event was triggered getModifierState() Returns true if the specified key is activated metaKey Returns whether the "META" key was pressed when an event was triggered movementX Returns the horizontal coordinate of the mouse pointer relative to the position of the last mousemove event
text: If a mouse button is pressed while the pointer is over a form or control, that object receives all mouse events up to and including the last MouseUp event.
text: You can use this method to determine which mouse button was pressed (or released) when a mouse event was fired.
text: 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.
text: For example, if the first mouse button is pressed, events are sent in the following order:
text: Gets which mouse button was pressed.
text: Windows mouse click behavior is such that the context menu doesn't open while the mouse button is pressed, but only opens the menu when the button is released, so the user has to click again (this time with the first mouse button) to select a context menu item.
text: The mousedown event is sent to an element when the mouse pointer is over the element, and the mouse button is pressed.
text: buttons is a tuple representing if the mouse buttons ( left , mouse-wheel , right ) are being pressed or not.
text: is a tuple representing if the mouse buttons ( , , ) are being pressed or not.
text: MouseDown or MouseUp event procedures specify actions that occur when a mouse button is pressed or released.
text: If a mouse button is pressed while the pointer is over a form or control, that object "captures" the mouse and receives all mouse events up to and including the last MouseUp event.
text: Which mouse button was pressed during the event?