This function allows you to trigger a function of your own when the thumbnails order has been changed (ie. the pages have been reordered).
Parameters
- docuViewareID
- The identifier for the DocuVieware™ instance.
- callback
- The function you want to execute on event.
The callback provides an argument having a prototype { source, destination }.
- source is an array that contains the page number (or page numbers in case of multiple selection) that have been moved.
- destination is the position the selection has been moved to.
Return Value
1 if error.
Example of usage
This JavaScript makes sure the DocuVieware control is properly loaded and initialized and then subscribes to the event on load.