Skip to main content

Home > @jsplumb/test > BrowserUITestSupport > makeEvent

BrowserUITestSupport.makeEvent() method#

Create an object that models an event that occurs in the middle of the given element. This does not return a real event, just an object with sufficient properties to use as a mouse event.

Signature:

makeEvent(el: Element): any;

Parameters#

ParameterTypeDescription
elElement

Returns:

any