Dispatches HTML DOM event types e.g. 'click'.
Parameter | Type | Defaults | Description |
---|---|---|---|
type | string | '' | DOM event type e.g. 'click'. |
eventInit | object | null | Optional event specific properties. See eventInit for more details. |
options | object | null |
eventInit
Since eventInit is event-specific, please refer to the events documentation for the lists of initial properties: