isDownOn(elem: HTMLElement, event);
elem. DOM element.
event. Mouse cursor event.
The isDownOn method checks if the mouse cursor was over the element when the event was fired.
This method returns True if the mouse cursor was over the element at the event moment, and False if it was somewhere else.
The example of use is given in the with description of the PP.calculateMouseCoords method.
See also: