bettysteger / angular-croppie

Angular 1.5+ Component for Croppie

Home Page:https://lingohub.com/blog/2016/03/angularjs-directives-image-cropping/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

angularCroppie

Image Cropper using Croppie

Install

Npm: npm install angular-croppie

Usage

Add the dependency: angular.module('myApp', ['angularCroppie']). Use the Angular 1.5 component:

<croppie src="cropped.source" ng-model="cropped.image"></croppie>

or with Croppie options:

<croppie src="cropped.source" ng-model="cropped.image" options="{ viewport: { width: 400, height: 280 } }"></croppie>

Simple Example: plnkr

Documentation

Documentation