Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tato30/vue-pdf

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tato30/vue-pdf - npm Package Compare versions

Comparing version 1.7.0 to 1.7.1

2

package.json
{
"name": "@tato30/vue-pdf",
"version": "1.7.0",
"version": "1.7.1",
"description": "PDF viewer for Vue 3",

@@ -5,0 +5,0 @@ "author": {

@@ -63,2 +63,4 @@ <div align="center">

### Text and Annotations
This component supports text-selection and annotation-interaction by enabling them with `text-layer` and `annotation-layer` props respectively, but for this layers renders correctly is necessary setting `css` styles, it can be done by importing default styles from `@tato30/vue-pdf/style.css`.

@@ -79,7 +81,2 @@

Check the follow examples:
- [Text-Layer](../examples/basic/text_layer.md)
- [Annotation-Layer](../examples/basic/annotation_layer.md.md)
You can also create your own custom styles and set them in your project, use this examples as guide:

@@ -90,2 +87,22 @@

### XFA Forms <badge type="tip" text="v1.7" vertical="middle" />
XFA forms also can be supported by enabling them from `usePDF`.
```vue
<script setup>
import { VuePDF, usePDF } from '@tato30/vue-pdf'
import '@tato30/vue-pdf/style.css'
const { pdf } = usePDF({
url: '/example_xfa.pdf',
enableXfa: true,
})
</script>
<template>
<VuePDF :pdf="pdf" />
</template>
```
## Server-Side Rendering

@@ -92,0 +109,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc