MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / dispatchInputEvent

Function dispatchInputEvent

front_end/testing/DOMHelpers.ts:181–184  ·  view source on GitHub ↗
(element: T, options: InputEventInit = {})

Source from the content-addressed store, hash-verified

179}
180
181export function dispatchInputEvent<T extends Element>(element: T, options: InputEventInit = {}) {
182 const inputEvent = new InputEvent('input', options);
183 element.dispatchEvent(inputEvent);
184}
185
186/**
187 * Dispatches a mouse over event.

Callers 8

editHeaderRowFunction · 0.85
changeEditableFunction · 0.85
setTextFilterFunction · 0.85

Calls 1

dispatchEventMethod · 0.80

Tested by 3

editHeaderRowFunction · 0.68
changeEditableFunction · 0.68
setTextFilterFunction · 0.68