Vue 3 + TypeScript + Vite + Element Plus + html2Canvas
===========
JavaScript HTML renderer
This script allows you to directly upload images in the user's browser and perform secondary editing (drag and drop, zoom in and out), punctuation on the images, and save multiple images
Browser compatibility
The library should work fine on the following browsers (with Promise
polyfill):
- Firefox 3.5+
- Google Chrome
- Opera 12+
- IE9+
- Safari 6+
As each CSS property needs to be manually built to be supported, there are a number of properties that are not yet supported.
Building
install:
$ npm install image-punctuation-multiple --save
Usage
script setup
import { ref } from 'vue'
import ImagePunctuationMultiple from 'image-punctuation-multiple'
import 'image-punctuation-multiple/dist/image-punctuation-multiple.css'
const fileList = ref([])
<template>
<ImagePunctuationMultiple v-model:model-value="fileList"/>
</template>