JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q29793F
  • License MIT

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

Custom-Picture-Crop

A Picture(base64) custom shape clipping vue component.

Github Page Demo

Demo

Install

npm i v-custom-crop

Usage

import vCustomCrop from "v-custom-crop";
Vue.use(vCustomCrop);
<custom-crop
        url: string  //base64 image
        proportion:number  
        @out-picture:function
        @close-custom: function
        :newUrl.sync= string  //base64 image
></custom-crop>