Method CreateMouseEvent
- Namespace
- DotNetBrowser.Dom
- Assembly
- DotNetBrowser.dll
CreateMouseEvent(EventType, MouseEventParameters)
IMouseEvent CreateMouseEvent(EventType eventType, MouseEventParameters parameters)
Parameters
eventType
EventTypean EventTypeobject representing a type of a valid DOM event supported by engine. Cannot be null.
parameters
MouseEventParametersa MouseEventParameters object representing mouse event properties (e.g. bubbles, cancellable). Cannot be null.
Returns
- IMouseEvent
the new IMouseEvent object.
Exceptions
- ArgumentException
when eventType or parameters values are null.