@cropper/element-handle
Version:
A custom handle element for the Cropper.
45 lines (30 loc) • 947 B
Markdown
# @cropper/element-handle
> A custom handle element for the Cropper.
## Main npm package files
```text
dist/
├── element-handle.js (UMD, bundled)
├── element-handle.min.js (UMD, bundled, compressed)
├── element-handle.raw.js (UMD, unbundled, default)
├── element-handle.esm.js (ECMAScript Module, bundled)
├── element-handle.esm.min.js (ECMAScript Module, bundled, compressed)
├── element-handle.esm.raw.js (ECMAScript Module, unbundled)
└── element-handle.d.ts (TypeScript Declaration File)
```
## Getting started
### Installation
```sh
npm install @cropper/element-handle
```
### Usage
```js
import CropperHandle from '@cropper/element-handle';
CropperHandle.$define();
```
```html
<cropper-handle></cropper-handle>
```
## Versioning
Maintained under the [Semantic Versioning guidelines](https://semver.org).
## License
[MIT](https://opensource.org/licenses/MIT)