1.1.1 • Published 4 years ago

antdv-image-cropper v1.1.1

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

antdv-image-cropper

An image cropper component for Ant Design Vue uploader. Based on vue-cropper component.

npm npm bundle size

Demo

Live demo

Install

npm i antdv-image-cropper

Global registration

import Vue from 'vue'
import AImageCropper from 'antdv-image-cropper'

Vue.component('a-image-cropper', AImageCropper)

Local registration

import AImageCropper from 'antdv-image-cropper'

export default {
    components: {
        AImageCropper
    },
    ...

Props

You can use all props from vue-cropper component which are described here. As well as properties small list of the component itself.

PropTypeDefaultDescription
modalTitleStringImage editingText that displayed into modal header
modalControlStringSaveText that displayed into crop button
modalWidthNumber610Width of modal window in pixels
containerWidthNumber520Width of cropper container in pixels
containerHeightNumber520Height of cropper container in pixels

License

MIT License (c)

1.1.1

4 years ago

1.1.0

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.0

4 years ago