Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue-croppa

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-croppa - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

5

package.json
{
"name": "vue-croppa",
"version": "0.0.8",
"version": "0.0.9",
"description": "A simple straightforward customizable image cropper for vue.js.",

@@ -8,4 +8,5 @@ "main": "dist/vue-croppa.js",

"test": "echo \"Error: no test specified\" && exit 1",
"build": "rollup -c --environment BUILD:production",
"build:full": "rollup -c --environment BUILD:production",
"build:min": "rollup -c --environment BUILD:production-min",
"build": "npm run build:full && npm run build:min",
"dev": "rollup -c -w"

@@ -12,0 +13,0 @@ },

12

README.md

@@ -36,2 +36,6 @@ # vue-croppa

```
**NOTE:** This is an almost-full-use example. Usually you don't need to specify so many props to customize it, because they all have default values. Most simply, you can even do:
```html
<croppa v-model="myCroppa"></croppa>
```

@@ -87,3 +91,3 @@

#### v-model
A two-way binding prop. It syncs an object from within the croppa component with a data in parent. We can use this object to invoke useful methods (Check out "Methods" section).
A two-way binding prop. It syncs an object from within the croppa component with a data in parent. We can use this object to invoke useful methods (Check out "[Methods](#-methods)" section).
- type: `object`

@@ -152,3 +156,3 @@ - default: `null`

#### disable-click-to-choose
Disables the default "click to Choose an image" user interaction. You can instead open the file chooser window programmatically by invoking `chooseFile()` method.
Disables the default "click to choose an image" user interaction. You can instead trigger the file chooser window programmatically by invoking `chooseFile()` method.
- type: `boolean`

@@ -168,3 +172,3 @@ - default: `false`

#### reverse-zooming-gesture
Reverses the zoom-in/zoom-out direction when scrolling.- type: `boolean`
Reverses the zoom-in/zoom-out direction when scrolling.
- type: `boolean`

@@ -174,3 +178,3 @@ - default: `false`

#### prevent-white-space
Prevents revealing background white space when moving and zooming the image.
Prevents revealing background white space when moving or zooming the image.
- type: `boolean`

@@ -177,0 +181,0 @@ - default: `false`

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc