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
›
Configuration
›
Toolbar
toolbar.actions.onClick
Called when the button is pressed. A rejected promise is logged and reported through the
error
event.
() => void | Promise<void>
Required
Copy link to this page
More in Toolbar
Copy link
enabled
layout
groups
print
download
history
offlineNotice
actions
actions.id
actions.label
actions.icon
actions.variant
icons
Previous
actions.variant
Next
icons