Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d35fa83

Browse files
author
Kemp Sayson
committed
Updated Docs
1 parent 1327c3c commit d35fa83

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

‎README.md‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,14 @@ vue-html2pdf converts any vue component or element into PDF, vue-html2pdf is bas
2020
- [Events](#events)
2121
- [Slot](#slot)
2222
- [Guide](#guide)
23+
- [Browser](#browser)
2324

2425
## Getting started
2526
#### NPM
2627

2728
Install vue-html2pdf and its dependencies using NPM with `npm i vue-html2pdf`
2829

30+
2931
## Usage
3032
```js
3133
import VueHtml2pdf from 'vue-html2pdf'
@@ -71,6 +73,7 @@ To use it in the template
7173
</template>
7274
```
7375

76+
7477
## Props
7578
This props can seen in the Usage Part
7679

@@ -83,6 +86,7 @@ This props can seen in the Usage Part
8386
| pdf-quality | 0 - 2 (Can have decimal) | 2 is the highest quality and 0.1 is the lowest quality, 0 will make the PDF disappear. |
8487
| pdf-format | a0, a1, a2, a3, a4, letter, legal, a5, a6, a7, a8, a9, a10 | This are the PDF formats (Paper Sizes) |
8588

89+
8690
## Events
8791
This events can seen in the Usage Part
8892

@@ -92,13 +96,15 @@ This events can seen in the Usage Part
9296
| hasStartedGeneration | This only be triggered on start of the generation of the PDF. |
9397
| hasGenerated | This will be triggered after the generation of the PDF, will emit a Blob File of the PDF, can be retrived using $event.|
9498

99+
95100
## Slot
96101
This slot can seen in the Usage Part
97102

98103
| Slot | Description |
99104
|--------------------------|---------------------------------------------------------------------------------------------------------------------|
100105
| pdf-content | Use this slot to insert you component or element that will be converted to PDF |
101106

107+
102108
## Guide
103109
The recommended format for the pdf-content
104110

@@ -141,4 +147,11 @@ The recommended format for the pdf-content
141147
<img :src="remoteImageLink">
142148
</section>
143149
</section>
144-
```
150+
```
151+
152+
## Browser
153+
Package has been tested in these browsers:
154+
155+
Chrome Version 78.0.3904.108
156+
Mozilla Firefox Version 70.0.1
157+
Microsoft Edge Version 44.17763.1.0

‎package-lock.json‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vue-html2pdf",
3-
"version": "1.2.3",
3+
"version": "1.2.4",
44
"description": "",
55
"main": "dist/vue-html2pdf.ssr.js",
66
"module": "dist/vue-html2pdf.esm.js",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /