Skip to content

Commit 4a79cdd

Browse files
committed
chore: clean README
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent b253d24 commit 4a79cdd

1 file changed

Lines changed: 0 additions & 31 deletions

File tree

README.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -31,40 +31,9 @@ A Vue 2 component for rendering PDFs with draggable and resizable element overla
3131

3232
- `pdf-elements:end-init` - Emitted when PDF is loaded
3333

34-
### Methods
35-
36-
- `adjustZoomToFit()` - Manually trigger zoom adjustment to fit viewport (useful when calling programmatically)
37-
3834
### Slots
3935

4036
- `element-{type}` - Custom element rendering (e.g., `element-signature`)
4137
- `custom` - Fallback for elements without specific type
4238
- `actions` - Custom action buttons
4339

44-
### Usage Example
45-
46-
```vue
47-
<template>
48-
<PDFElements
49-
ref="pdfElements"
50-
:init-files="pdfFiles"
51-
:init-file-names="['document.pdf']"
52-
:auto-fit-zoom="true"
53-
@pdf-elements:end-init="onPdfLoaded"
54-
>
55-
<template #element-signature="{ object, onDelete }">
56-
<CustomSignature :data="object" @delete="onDelete" />
57-
</template>
58-
</PDFElements>
59-
</template>
60-
61-
<script>
62-
export default {
63-
methods: {
64-
onPdfLoaded() {
65-
// PDF is loaded, auto-fit zoom is active
66-
},
67-
},
68-
}
69-
</script>
70-
```

0 commit comments

Comments
 (0)