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.mode
The viewer's operating mode, as configured — see
SDKMode and the resting tool
.
getter
Properties
since 1.0.0
Copy link to this page
Signature
Copy link
get
mode
():
SDKMode
Returns
Copy link
SDKMode
More in PDFViewer
Copy link
currentPageIndex
scale
config
tools
hasUnsavedChanges
isReady
activeTool
activePanel
goToPage
nextPage
prevPage
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
activeTool
Next
activePanel