trigger
Dispatches a bubbling, cancelable event of the given type on the element.
Import:
import 'obsidian-test-mocks/setup';Signature:
function trigger(this: HTMLElement, eventType: string): voidParameters:
| Parameter | Type | Description |
|---|---|---|
this |
HTMLElement | |
eventType |
string | The event type to dispatch, such as change. |
Returns: void