0.0.1-alpha.4 • Published 7 months ago
@image-auto-crop/web v0.0.1-alpha.4
@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" />
0.0.1-alpha.4
7 months ago
0.0.1-alpha.3
7 months ago