Component name: <v-pdf>
# code example
Code
<div class="app">
<v-pdf src="/assets/vue.js.pdf" :height="400"></v-pdf>
</div>
1
2
3
2
3
# API
Name | Type | Description | Default |
---|---|---|---|
src | String | URL of the PDF file to show | - |
height | Number | Component height in pixels | 400 |
General notice
All other properties that are not defined above, will be passed to the component as html attributes. This is especially useful for adding the class
attribute.