Replies: 1 comment 1 reply
-
|
You can hide the “More Options” dropdown by passing a const toolbarOptions: Partial<ToolbarOptions> = {
docPropertiesEnabled: false,
jumpNavigatable: false,
pageViewSwitchable: false,
pointerSwitchable: false,
rotatable: false,
scrollingSwitchable: false,
};This will hide the “More Options” icon on Desktop view. If you also want to remove the dropdown on mobile, you can additionally disable: downloadable: false,
fullscreen: false,
newFileOpenable: false,
printable: false,You can find the full list of options in the toolbarOptions API reference. Let me know if this works for you! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need a very basic PDF viewer and would like to hide the "More Options" dropdown button. As far as I can tell, the API doesn't provide a way to do this directly. Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions