public class EventsUtil extends Object
Modifier and Type | Method and Description |
---|---|
static void |
dispatchEvent(TestBenchElement element,
String eventType,
Map<String,Object> customEventInit)
Dispatches (fires) a custom event of the given type on the element with
the given properties
|
public static void dispatchEvent(TestBenchElement element, String eventType, Map<String,Object> customEventInit)
element
- element that will dispatch the eventeventType
- the type of custom event to dispatchcustomEventInit
- map with properties and values that will be used to initialize
the eventCopyright © 2019. All rights reserved.