Skip to content

CloseEvent

Maciej Sitko edited this page Sep 9, 2018 · 9 revisions

CloseEvent | MDN

external code : t => int

external reason : t => string

external wasClean : t => bool

There's also a code type variant with a mapping that denote all closure codes.

Clone this wiki locally