When using both the built in Rotate Page buttons, and custom made ones:
rotateLeft() {
const { docViewer } = this.viewerInstance;
console.error(docViewer.getCurrentPage());
this.viewerInstance.rotateCounterClockwise(docViewer.getCurrentPage());
}
all pages are rotated instead of just one page. Tried on a couple of PDF documents.
big_pdf.pdf (652.5 KB)
You can test it with this file.