Assigns a delegate to the unload event.
final public void addOnUnload ( EventHandler h )
h
The event handler callback method.
This delegate specifies a method that is called when the document is ready to unload. By default, this event is automatically routed to onDocumentUnload.
See Also removeOnUnload