Back to Cropperjs

@cropper/element-selection

packages/element-selection/README.md

2.1.1991 B
Original Source

@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.

License

MIT