docs: readme
parent
7936bd38fc
commit
608dfc807c
12
README.md
12
README.md
|
|
@ -4,10 +4,7 @@
|
|||
|
||||
PDF viewer component for Vue 2 and Vue 3
|
||||
|
||||
```
|
||||
TODO: shields.io
|
||||
```
|
||||
|
||||
[](https://npmjs.com/package/pdf-viewer-vue)[](https://npmjs.com/package/pdf-viewer-vue)[](https://github.com/DingRui12138/vue-pdf-viewer)[](https://github.com/DingRui12138/vue-pdf-viewer/blob/master/LICENSE)
|
||||
|
||||
|
||||
## Compatibility
|
||||
|
|
@ -106,10 +103,13 @@ export default {
|
|||
### Props
|
||||
|
||||
| Name | Type | Accepted values | Description |
|
||||
| -------- | ---------- | --------------------------------------------------------------------------------------------------------------- | ------------------ |
|
||||
| -------------- | ---------- | --------------------------------------------------------------------------------------------------------------- | ------------------ |
|
||||
| source | `string` | document `URL` or `Base64` | source of document |
|
||||
| controls | `string[]` | `[`<br/>`'download',`<br/>`'print',`<br/>`'rotate',`<br/>`'zoom',`<br/>`'catalog',`<br/>`'switchPage',`<br/>`]` | visible controls |
|
||||
| | | | |
|
||||
| loading-text | `string` | - | loading text |
|
||||
| rendering-text | `string` | - | rendering text |
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue