How can I simulate a mouse down and then followed by a mouse up event on a canvas hmtl5 section of an aspx page?
I searched on the web and found this... but i cannot correlate this to my canvas html5 element, Can anyone help ?
dispatchMouseEvent(element, 'mouseover', true, true);
dispatchMouseEvent(element, 'mousedown', true, true);
dispatchMouseEvent(element, 'click', true, true);
dispatchMouseEvent(element, 'mouseup', true, true);