(element: T, options: InputEventInit = {})
| 179 | } |
| 180 | |
| 181 | export 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. |