CloseEventInit

inline fun CloseEventInit(
    wasClean: Boolean? = false,
    code: Short? = 0,
    reason: String? = "",
    bubbles: Boolean? = false,
    cancelable: Boolean? = false,
    composed: Boolean? = false
): CloseEventInit
(source)

Platform and version requirements: JS