I am trying to detect when the user closes the PDF reader so that I can store the page he is on when he closes it.
I do not see any methods for this event in the plugins js file. I know we have the RadaeePDFPlugin.getPageNumber function, but I still need to be able to bind it to the closing of the PDF reader to get the last page the user reads.
Does this plugin have a method that I missed, or is there a way to manipulate the getPageNumber function so that I can get the page the user is on when he closes the PDF reader.
Can you provide a working example of how to use the functions as callbacks?
I'm struggling with how to correctly call the RadaeePDFPlugin.willCloseReader() to be able to detect when the user closes the reader.