Skip to content

linto17/angular-croppie

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angularCroppie

Image Cropper using Croppie

Install

Bower: bower install angular-croppie

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