returnValue property
The Event property
returnValue indicates whether the default action for
this event has been prevented or not.
It is set to true by
default, allowing the default action to occur. Setting this property to
false prevents the default action.
Note: While
returnValuehas been adopted into the DOM standard, it is present primarily to support existing code. UseEvent.preventDefault, andEvent.defaultPreventedinstead of this historical property.
Implementation
external bool get returnValue;
Implementation
external set returnValue(bool value);