PDFViewer.canUndo()
Returns
true if undo is available. For buttons that follow the stack, listen to documentChanged, which carries canUndo and canRedo.methodHistorysince 1.0.0
Signature
canUndo(): boolean
Returns
boolean