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

2.0.0-beta • Public • Published

@cropper/elements

A series of custom elements for the Cropper.

Main npm package files

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

Getting started

Installation

npm install @cropper/elements

Usage

import { CropperElement, CropperCanvas, CropperImage } from '@cropper/elements';

class MyCropperElement extends CropperElement {}

MyCropperElement.$define();
CropperCanvas.$define();
CropperImage.$define();

Versioning

Maintained under the Semantic Versioning guidelines.

License

MIT

Package Sidebar

Install

npm i @cropper/elements

Weekly Downloads

3,825

Version

2.0.0-beta

License

MIT

Unpacked Size

287 kB

Total Files

10

Last publish

Collaborators

  • chenfengyuan