Newton's Poleless Magnet

    @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

    Install

    npm i @cropper/element-crosshair

    DownloadsWeekly Downloads

    1,685

    Version

    2.0.0-beta

    License

    MIT

    Unpacked Size

    41.7 kB

    Total Files

    10

    Last publish

    Collaborators

    • chenfengyuan