Forms fields
vue
<script setup>
import { ref } from 'vue'
import { VuePDF, usePDF } from '@tato30/vue-pdf'
const { pdf } = usePDF('/14.pdf')
function onAnnotation(value) {
console.log(value)
}
</script>
<template>
<div>
<VuePDF :pdf="pdf" annotation-layer @annotation="onAnnotation" />
</div>
</template>