@zoompinch/vue 0.0.18 → 0.0.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -38,7 +38,6 @@ npm install @zoompinch/vue
|
|
|
38
38
|
:gesture="true"
|
|
39
39
|
@init="handleInit"
|
|
40
40
|
@click="handleClick"
|
|
41
|
-
class="viewer"
|
|
42
41
|
>
|
|
43
42
|
<img width="1536" height="2048" src="https://imagedelivery.net/mudX-CmAqIANL8bxoNCToA/489df5b2-38ce-46e7-32e0-d50170e8d800/public" />
|
|
44
43
|
<template #matrix="{ composePoint, normalizeClientCoords, canvasWidth, canvasHeight }">
|
|
@@ -331,7 +330,7 @@ Client Coords → normalizeClientCoords() → Canvas Coords → composePoint()
|
|
|
331
330
|
<img src="image.jpg" draggable="false" style="user-select: none;" />
|
|
332
331
|
```
|
|
333
332
|
|
|
334
|
-
4. **Use clamp bounds
|
|
333
|
+
4. **Use clamp bounds:**
|
|
335
334
|
```vue
|
|
336
335
|
<zoompinch :clamp-bounds="true" :min-scale="0.5" :max-scale="4">
|
|
337
336
|
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zoompinch/vue",
|
|
3
3
|
"description": "Vue wrapper for ZoomPinch - reactive pinch & zoom component",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.20",
|
|
5
5
|
"private": false,
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "./dist/zoompinch-vue.umd.js",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"vue-tsc": "^3.2.0"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@zoompinch/core": "^0.0.
|
|
33
|
+
"@zoompinch/core": "^0.0.20"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
36
|
"vue": "^3.5.26"
|