@image-auto-crop/web
v0.0.1-alpha.4
Published
![npm](https://img.shields.io/npm/v/%40image-auto-crop%2Fweb)
Downloads
1
Readme
@image-auto-crop/web
A Web Component wrapper for image-auto-crop.
Install
Install with the peer dependency @image-auto-crop/core
:
npm i @image-auto-crop/core @image-auto-crop/web
Usage
This package provides an custom element which extends the standard img
element.
Example:
import '@image-auto-crop/web';
<img is="auto-crop" src="example.png" alt="Example" />