cot-pdf-maker
v1.0.16
Published
Libreria para rayar el pdf y agregar cajas de texto en un PDF
Downloads
76
Readme
cot-pdf-maker
COT PDF MAKER
npm / yarn
npm i cot-pdf-maker
yarn add cot-pdf-maker
cot-pdf-maker
import "cot-pdf-maker/style.css";
<template>
<div>
<pdf-editor
@save-text="test"
@save-line="test"
@clean-all="test"
@save-document="test"
src="../src/sample (1).pdf"
></pdf-editor>
</div>
</template>
<script lang="ts">
import { defineComponent } from "vue";
import { PdfEditor } from "../packages/";
import pdf from "../src/sample (1).pdf";
export default defineComponent({
name: "App",
components: {
PdfEditor,
},
setup(props) {
//metodo
const test = (evento: any) => {
console.log(evento);
};
return { test };
},
});
</script>
<style>
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
</style>