dispatchEvent

open fun dispatchEvent(type: String, eventInitDict: <Error class: unknown class>): Boolean?

Dispatches a custom event.