beforeunloads

open val beforeunloads: Listener<Event, T>

occurs before the document is about to be unloaded