The Zoomify Image Viewer supports many built-in callbacks. These
options cover key operations of the Viewre and are listed below.
In addition to these built-in callbacks, creation of custom callbacks
is quite easy. Simply adding a validation call at the desired
point in the code - that is, at the point of execution when an
action is complete or otherwise warrants the callback to be created.
For example:
Z.Utils.validateCallback('myCustomCallback');
Next - step 2 of 2 - set a callback. This requires naming the
function to execute when the callback is validated:
Z.setCallback('viewUpdateComplete', showViewChanged)"
See the example titled "Set-Callback" in the product
Viewer Examples folder to see this two-step process implemented.
Built-in callbacks include:
|