
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
org.webjars.bowergithub.vaadin:vaadin-pdf-viewer
Advanced tools
<vaadin-pdf-viewer> is a Web Component providing <element-functionality>, part of the Vaadin components.
Live Demo ↗ | API documentation ↗
<vaadin-pdf-viewer>
...
</vaadin-pdf-viewer>
The Vaadin components are distributed as Bower and npm packages. Please note that the version range is the same, as the API has not changed. You should not mix Bower and npm versions in the same application, though.
Unlike the official Polymer Elements, the converted Polymer 3 compatible Vaadin components are only published on npm, not pushed to GitHub repositories.
Install vaadin-pdf-viewer:
bower i vaadin/vaadin-pdf-viewer --save
Once installed, import it in your application:
<link rel="import" href="bower_components/vaadin-pdf-viewer/vaadin-pdf-viewer.html">
Install vaadin-pdf-viewer:
npm i @vaadin/vaadin-pdf-viewer --save
Once installed, import it in your application:
import '@vaadin/vaadin-pdf-viewer/vaadin-pdf-viewer.js';
Vaadin components use the Lumo theme by default.
To use the Material theme, import the correspondent file from the theme/material folder.
The component with the Lumo theme:
theme/lumo/vaadin-pdf-viewer.html
The component with the Material theme:
theme/material/vaadin-pdf-viewer.html
Alias for theme/lumo/vaadin-pdf-viewer.html:
vaadin-pdf-viewer.html
Fork the vaadin-pdf-viewer repository and clone it locally.
Make sure you have npm installed.
When in the vaadin-pdf-viewer directory, run npm install and then bower install to install dependencies.
Make sure you have polymer-cli installed globally: npm i -g polymer-cli.
Run npm start, browser will automatically open the component API documentation.
You can also open demo or in-browser tests by adding demo or test to the URL, for example:
vaadin-pdf-viewer directory, run polymer testWe are using ESLint for linting JavaScript code. You can check if your code is following our standards by running gulp lint, which will automatically lint all .js files as well as JavaScript snippets inside .html files.
Cross-browser Testing Platform and Open Source <3 Provided by Sauce Labs.
To contribute to the component, please read the guideline first.
Commercial Vaadin Add-on License version 3 (CVALv3). For license terms, see LICENSE.
Vaadin collects development time usage statistics to improve this product. For details and to opt-out, see https://github.com/vaadin/vaadin-usage-statistics.
FAQs
WebJar for vaadin-pdf-viewer
We found that org.webjars.bowergithub.vaadin:vaadin-pdf-viewer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.