Skip to content

Commit

Permalink
Merge pull request #76 from dlnsk/master
Browse files Browse the repository at this point in the history
Some small fixes
  • Loading branch information
TaTo30 authored Jan 2, 2024
2 parents 4e1c281 + 6284bac commit 7ee421a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/examples/advanced/toc.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
```vue
<script setup>
import { ref, triggerRef, watchEffect } from 'vue';
import { VuePDF, getPDFDestination, usePDF } from '@tato30/vue-pdf';
import { VuePDF, usePDF } from '@tato30/vue-pdf';
import { withBase } from '@vuepress/client';
import ChaptersList from './ChaptersList.vue';
const { pdf, info } = usePDF(withBase('/example_045.pdf'))
const { pdf, info, getPDFDestination } = usePDF(withBase('/example_045.pdf'))
const outlineTree = ref([])
watchEffect(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/VuePDF.vue
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const alayerProps = computed(() => {
return {
annotationsMap: props.annotationsMap,
annotationsFilter: props.annotationsFilter,
imageResourcePath: props.imageResourcesPath,
imageResourcesPath: props.imageResourcesPath,
hideForms: props.hideForms,
}
})
Expand Down

0 comments on commit 7ee421a

Please sign in to comment.