INPUT /  OUTPUT /  LANGUAGE





onMouseDown, onMouseUp fields

Code field

Code carried out when a mouse button is pressed or released over a tag.

Applies to...

Sample usage

Behaviour

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.

Notes

In ioL version 1.05, a tag with an onMouseUp field does not also receive onClick.

See also