@zhiguang/crop-image
TypeScript icon, indicating that this package has built-in type declarations

0.2.6 • Public • Published

About

How to use

// js
import { cropImage } from '@zhiguang/crop-image';
cropImage( imageContainer:HTMLElement, onLoad:Function, onError:Function );

// html
.image-container
  img.cri-placeholder(src="...")
  .cri-frame
    img.cri-image(src="...")

Readme

Keywords

Package Sidebar

Install

npm i @zhiguang/crop-image

Weekly Downloads

0

Version

0.2.6

License

ISC

Unpacked Size

14.9 kB

Total Files

7

Last publish

Collaborators

  • zhiguang