dispatchEventWith

abstract fun dispatchEventWith(type: String, bubbles: Boolean, data: Any?)

Creates and dispatches an event with the given name, bubbling flag, and payload.


open fun dispatchEventWith(type: String, bubbles: Boolean)

Creates and dispatches an event without a payload.


open fun dispatchEventWith(type: String)

Creates and dispatches a non-bubbling event without a payload.