@daxiazilong/image-preview
Advanced tools
Comparing version 2.1.1 to 2.1.2
{ | ||
"name": "@daxiazilong/image-preview", | ||
"version": "2.1.1", | ||
"version": "2.1.2", | ||
"description": "preview image on web page。rotate,zoom.etc. 移动端JS 图片预览 插件 支持 预览图片,旋转,放大(双指/双击)。", | ||
@@ -5,0 +5,0 @@ "keywords": ["image preview", "viewer", "preview image"], |
@@ -13,6 +13,8 @@ ENGLISH | [简体中文](./REAEME-zh-CN.md) | ||
### How to use it: | ||
There are two ways: | ||
#### 1. Copy release | ||
There are three ways: | ||
#### 1. npm install | ||
`npm i @daxiazilong/image-preview` | ||
#### 2. Copy release | ||
* The `release/image-preview` directory is built for different module-system , include AMD,CommonJS,ES6,UMD,IIFE. You can choose one adapt to your project. | ||
#### 2.Install: | ||
#### 3.Install: | ||
* Clone it ,then `npm i & npm run build` | ||
@@ -36,2 +38,6 @@ * For different module-sysetem: | ||
``` | ||
or if installed in node_modules | ||
```javascript | ||
import {ImagePreview} from '@daxiazilong/image-preview' | ||
``` | ||
#### usage: | ||
@@ -38,0 +44,0 @@ html: |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1236756
95