@id3/bioseal-upload
v1.1.5
Published
Bioseal upload is a library that contains a full js dropzone filtered to images and pdf. It also applies a black & white compression using OpenCV to lower the size of the image sent to the API.
Downloads
9
Readme
BiosealUpload
Bioseal upload is a library that contains a full js dropzone filtered to images and pdf. It also applies a black & white compression using OpenCV to lower the size of the image sent to the API.
Installation
npm install @id3/bioseal-upload
Usage
The library contains an uploader component styled with the standards of id3 technologies.
Import the module in your app.module.ts:
import {BiosealUploadModule} from '@id3/bioseal-upload';
You can now use the upload component
<lib-uploader></lib-uploader>
the components has arguments to load images and values inside the upload component.
- uploadMessage //message to show before uploading the message
- uploadSuccessMessage // message after upload
- uploadImg //Icon to show before upload
- uploadSuccessImg // Icon after upload
- uploadButtonIcon //Icon button
- uploadButtonTitle //title of button
- bioSealEvent // is the file returned
- backgroundColor // for component color