Skip to content
Kernstra
Docs
Web SDK
v1.0.0
/
Nothing matches “
”. Try an option name like
accentColor
or a method like
goToPage
.
Search could not load. Type again to retry.
Get started
(opens in a new tab)
Changelog
(opens in a new tab)
Playground
(opens in a new tab)
JavaScript PDF viewer
(opens in a new tab)
Get a free key
(opens in a new tab)
Docs
›
Web SDK
›
SDK API
›
PDFViewer
PDFViewer.prevPage()
Navigate to previous page. Stops at the first page.
method
Navigation
since 1.0.0
Copy link to this page
Signature
Copy link
prevPage
():
void
Returns
Copy link
void
Throws
Copy link
INVALID_STATE
after
destroy()
.
More in PDFViewer
Copy link
currentPageIndex
scale
config
tools
hasUnsavedChanges
isReady
activeTool
mode
activePanel
goToPage
nextPage
setScale
zoomIn
zoomOut
fitToWidth
fitToPage
activateTool
deactivateTool
isToolEnabled
toolBlockedReason
snapshot
undo
redo
canUndo
canRedo
markSaved
search
clearSearch
focusField
showComment
commentPermissions
openPanel
pageToClient
clientToPage
createExporter
print
on
off
whenReady
destroy
showLoadingIndicator
Previous
nextPage
Next
setScale