0.0.1-alpha.4 • Published 2 years ago
@image-auto-crop/angular v0.0.1-alpha.4
@image-auto-crop/angular
An Angular wrapper for image-auto-crop.
Install
Install with the peer dependency @image-auto-crop/core:
npm i @image-auto-crop/core @image-auto-crop/angularUsage
This package provides an ImageAutoCropDirective directive which can be applied to a standard img element.
Example:
import { ImageAutoCropDirective } from '@image-auto-crop/angular';
@Component({
imports: [ImageAutoCropDirective],
...
})<img autoCrop src="example.png" alt="Example" />0.0.1-alpha.4
2 years ago
0.0.1-alpha.3
2 years ago