vue-croep
<h1 align="center">vue-croep ✅</h1>
Last updated 8 months ago by giseudo .
MIT · Original npm · Tarball · package.json
$ cnpm install vue-croep 
SYNC missed versions from official npm registry.

vue-croep ✅

License


Example


Install

yarn add vue-croep or npm install vue-croep

Example

<template>
  <div>
    <vue-croep ref="croep" />

    <button @click="crop">crop</button>
  </div>
</template>

<script>
import VueCroep from 'vue-croep'
import 'vue-croep/dist/vue-croep.css'

export default {
  name: 'example',

  components: { VueCroep },

  methods: {
    crop () {
      this.$refs.croep.crop()
    }
  }
}
</script>

Props

Name type default About
size Number 300 container size
src String mengão picture image to crop

Event

Name About
cropped return base64 of cropped image

contributors:

Made in: @convenia

Current Tags

  • 0.1.17                                ...           latest (8 months ago)

18 Versions

  • 0.1.17                                ...           8 months ago
  • 0.1.16                                ...           8 months ago
  • 0.1.15                                ...           8 months ago
  • 0.1.14                                ...           8 months ago
  • 0.1.13                                ...           8 months ago
  • 0.1.12                                ...           8 months ago
  • 0.1.11                                ...           8 months ago
  • 0.1.10                                ...           8 months ago
  • 0.1.9                                ...           9 months ago
  • 0.1.8                                ...           9 months ago
  • 0.1.7                                ...           9 months ago
  • 0.1.6                                ...           9 months ago
  • 0.1.5                                ...           9 months ago
  • 0.1.4                                ...           9 months ago
  • 0.1.3                                ...           9 months ago
  • 0.1.2                                ...           9 months ago
  • 0.1.1                                ...           9 months ago
  • 0.1.0                                ...           9 months ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (15)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |