This function allows you to trigger a function of your own when the Snap-In panel is resized.
This callback won't be triggered when the Snap-In panel is collapsed or expanded, if you need to do something when it happens, please see RegisterOnSnapInPanelToggle.
Parameters
- docuViewareID
- The identifier for the DocuVieware™ instance.
- callback
- The function you want to execute on event.
The callback will recieve an integer as argument that is the Snap-In panel width after resize.
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.