Assign handler to destroy event (such as page being unloaded)
Description
Assign handler to destroy event (such as page being unloaded)
Usage
addHandlerDestroy(x, ...)
Arguments
x
the object
...
Used to pass through handler, and action
values. The handler is a function whose first argument is a list
that contains components obj to return the object and
action, holding the action value, and possibly others.