beforeUnloadEvent top-level property

dynamic get beforeUnloadEvent

The beforeunload event is fired when the window, the document and its resources are about to be unloaded.

MDN Reference

Implementation

_i2.dynamic get beforeUnloadEvent => _i4.getProperty(
      _self,
      'BeforeUnloadEvent',
    );