initCustomEvent

fun initCustomEvent(type: String, bubbles: Boolean, cancelable: Boolean, detail: JsAny?)