This function allows you to trigger a function of your own when a page has been deleted.
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 { pages : Array}.
- - pages : contains an array of number corresponding to pages that have been deleted
- The callback provides an argument having a prototype { pages : Array}.
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 to display the corresponding comment id and page in the console.