JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15
  • Score
    100M100P100Q27145F
  • License ISC

vue picture custom crop

Package Exports

  • v-custom-crop

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (v-custom-crop) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Vue Custom Picture Crop

Demo

<custom-crop
        url: string //传入图片的base64 URL
        proportion:number  //长宽比(canvas)
        //抛出一些事件
        @out-picture:function
        @close-custom: function
        //抛出裁剪后图片的base64 URL
        :newUrl.sync= string
></custom-crop>