kotlin-stdlib / org.w3c.dom / CustomEvent / initCustomEvent initCustomEvent JS 1.1 fun initCustomEvent( type: String, bubbles: Boolean, cancelable: Boolean, detail: Any?)(source)