Mobile-friendly Picture File Input Component For Vue.js
Mobile-friendly picture file input Vue.js component with image preview, drag and drop, EXIF orientation, and more.
vue-picture-input
Mobile-friendly picture file input Vue.js component with image preview, drag and drop, EXIF orientation, and more.
Installation
npm
npm install --save vue-picture-input
yarn
yarn add vue-picture-input
Usage
<template>
<div class="hello">
<picture-input
ref="pictureInput"
width="600"
height="600"
margin="16"
accept="image/jpeg,image/png"
size="10"
button-class="btn"
:custom-strings="{
upload: '<h1>Bummer!</h1>',
drag: 'Drag a
Github Repository
Tags: #VueJs