@cropper/element-crosshair
TypeScript icon, indicating that this package has built-in type declarations

2.0.0-beta • Public • Published

@cropper/element-crosshair

A custom crosshair element for the Cropper.

Main npm package files

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

Getting started

Installation

npm install @cropper/element-crosshair

Usage

import CropperCrosshair from '@cropper/element-crosshair';

CropperCrosshair.$define();
<cropper-crosshair></cropper-crosshair>

Versioning

Maintained under the Semantic Versioning guidelines.

License

MIT

Package Sidebar

Install

npm i @cropper/element-crosshair

Weekly Downloads

3,793

Version

2.0.0-beta

License

MIT

Unpacked Size

41.7 kB

Total Files

10

Last publish

Collaborators

  • chenfengyuan