-
Notifications
You must be signed in to change notification settings - Fork 3
Allow to set viewerCssTheme which allows setting dark, light or automatic mode. #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@prabirshrestha Implemented and will be available in the next release |
@prabirshrestha Since v2.5.0 you can use |
Don't think v2.5.0 is correctly released. Tried both with pnpm and npm and also verified in yarnkpkg site.
I don't see the latest change.
|
@prabirshrestha You are right, it was my mistake. Sorry for that |
It works now. Would be good to have this site updated too. https://alekswebnet.github.io/pdfjs-viewer-element/#api |
@prabirshrestha You are right, I will update it soon |
@prabirshrestha The website is updated. Thanks for sharing! |
Thanks for the quick fix! |
ref: mozilla/pdf.js#12625
Even better if we can pass options to the component or give us callback which allows to set the options.
The text was updated successfully, but these errors were encountered: