# @cropper/element-selection

> A custom selection element for the Cropper.

## Main npm package files

```text
dist/
├── element-selection.js         (UMD, bundled)
├── element-selection.min.js     (UMD, bundled, compressed)
├── element-selection.raw.js     (UMD, unbundled, default)
├── element-selection.esm.js     (ECMAScript Module, bundled)
├── element-selection.esm.min.js (ECMAScript Module, bundled, compressed)
├── element-selection.esm.raw.js (ECMAScript Module, unbundled)
└── element-selection.d.ts       (TypeScript Declaration File)
```

## Getting started

### Installation

```sh
npm install @cropper/element-selection
```

### Usage

```js
import CropperSelection from '@cropper/element-selection';

CropperSelection.$define();
```

```html
<cropper-selection></cropper-selection>
```

## Versioning

Maintained under the [Semantic Versioning guidelines](https://semver.org).

## License

[MIT](https://opensource.org/licenses/MIT)
