onbeforeunload property
dynamic Function(Event)?
get
onbeforeunload
Implementation
_i2.dynamic Function(_i3.Event)? get onbeforeunload =>
(_i3.Event p0) => _i4.callMethod(
_i4.getProperty(
this,
'onbeforeunload',
),
r'call',
[
this,
p0,
],
);
set
onbeforeunload
(dynamic value(Event)?)
Implementation
set onbeforeunload(_i2.dynamic Function(_i3.Event)? value) {
_i4.setProperty(
this,
'onbeforeunload',
value == null ? _i6.undefined : _i4.allowInterop(value),
);
}