Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
vue_pdfjs_viewer
Advanced tools
Readme
npm install vue_pdfjs_viewer
<template>
<div id="app" style="height:593px">
<PDFView
:src.sync="src" // Valid PDF Source (read below for more info)
ref="pdfView"
fileName="order" // Name of the file that's going to be downloaded (default: {Date.now()}.pdf )
:sidebarFeatureVisible="false" // Should the sidebar feature be visible ? (default: true)
:downloadFeatureVisible="false" // Should the download button feature be active ? (default: true)
:dropzoneFeatureVisible="false" // Should the pdf dropzone feature be active ? (default: true)
:toolbarVisible="false" // Should the toolbar be visible ? (default: true)
scale.sync="scale" // String value for the page scale ["0.75", "1", "1.25", "1.5", "auto"] are supported
>
<template slot="right-toolbox"></template> <!-- Add more buttons/features on the right side of the toolbar -->
<template slot="left-toolbox"></template> <!-- Add more buttons/features on the left side of the toolbar -->
<template slot="error"></template> <!-- Change the error message design -->
<template slot="loading"></template> <!-- Change the pdf loader design -->
</PDFView>
</div>
</template>
<script>
import {PDFView} from 'vue_pdfjs_viewer';
export default {
components:{
// ...
PDFView
},
data(){
return {
scale: "1.25"
}
}
}
</script>
PDF Uint8Array Buffer
Base64 encoded PDF buffer
data:application/pdf;base64, ....
You can also drag/drop pdf files into the viewer !
FAQs
Vue viewer component built on top of pdfjs
The npm package vue_pdfjs_viewer receives a total of 33 weekly downloads. As such, vue_pdfjs_viewer popularity was classified as not popular.
We found that vue_pdfjs_viewer demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.