From b192638526752728d62c4e624d7682e36084ebb0 Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio@bekerle.com> Date: Wed, 17 Mar 2021 15:47:37 +0100 Subject: [PATCH] Add documentation comment (#37) --- src/dbp-signature-lit-element.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/dbp-signature-lit-element.js b/src/dbp-signature-lit-element.js index 9cbcf55..caf92f9 100644 --- a/src/dbp-signature-lit-element.js +++ b/src/dbp-signature-lit-element.js @@ -134,6 +134,14 @@ export default class DBPSignatureLitElement extends DBPSignatureBaseLitElement { this.queuedFilesAnnotationsCount++; } + /** + * Add multiple annotations to a PDF file + * + * @param file + * @param annotations + * @param i18n + * @returns {File} + */ async addAnnotationsToFile(file, annotations, i18n) { // We need to work with the AnnotationFactory because the pdf file is broken if // we add the multiple annotations to the file itself -- GitLab