2.1.1 • Published 2 years ago

vue-imagen-drag v2.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

vue-imagen-drop

JOSE CIENTY DEVELOPER.

A beautiful vue component for upload image with select or drag and drop.

Notice: This component is designed for pc.

GitHub issues GitHub forks GitHub stars Twitter

Change log

- Compatible vue2

Screenshot

screenshot

Brower compatibility

IE10+

Install

npm

$ npm i vue-imagen-drag

Usage

Props

NameTypeDefaultDescription
idString'image-drag-drop'Necesary id to component
heightString,Number'auto'height size of component
valueString''Image route, return base64File

Examples

<div id="app">
  <vue-imagen-drag
    height="200px"
    v-model="imagen"
  />
</div>

<script>
  import Vue from 'vue';
  import VueImagenDrag from 'vue-imagen-drag';
	
  new Vue({
		el: '#app',
		data: {
			imagen:''
		},
		components: {
			'vue-imagen-drag': VueImagenDrag
		},
	});
</script>