0.0.1-alpha.4 • Published 8 months ago

@image-auto-crop/angular v0.0.1-alpha.4

Weekly downloads
-
License
-
Repository
-
Last release
8 months ago

@image-auto-crop/angular

npm

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/angular

Usage

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

8 months ago

0.0.1-alpha.3

8 months ago