DhModule.addOnBeforeUnload

Overview | Methods | This Package | All Packages

DhModule.addOnBeforeUnload

Assigns a delegate to the beforeUnload event.

Syntax

public final void addOnBeforeUnload ( EventHandler h )

Parameters

h

The EventHandler delegate to be notified when the event occurs.

Remarks

This delegate specifies a method that is called when the document is about to be unloaded. This event is automatically routed to onDocumentUnload.

See Also   removeOnBeforeUnload