Code carried out when a mouse button is pressed or released over a tag.
<key:box onMouseDown=<key.backgroundColor {gold}> onMouseUp=<key.backgroundColor null> backgroundColor=null {A}> highlights the box while the mouse button is held down over it.A code field: holds code to be carried out each time the event happens. Add code after the tag is created with .push.
onMouseDown is carried out when a mouse button is pressed over the tag, and onMouseUp when it is released. While the code runs, mouse holds the pointer position.
In ioL version 1.05, a tag with an onMouseUp field does not also receive onClick.