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

0.0.1-alpha.4 • Public • Published

@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" />

/@image-auto-crop/angular/

    Package Sidebar

    Install

    npm i @image-auto-crop/angular

    Weekly Downloads

    1

    Version

    0.0.1-alpha.4

    License

    none

    Unpacked Size

    8.14 kB

    Total Files

    9

    Last publish

    Collaborators

    • wentaoliu