eip-ui-cropper

1.1.2 • Public • Published

uiCropper

Image Crop directive for AngularJS customised for the Particle CMS.

Installing

Download directly

Download eip-ui-cropper

Bower

bower install eip-ui-cropper

NPM

npm install eip-ui-cropper

Meteor

meteor npm install --save eip-ui-cropper

How to Use

angular.module('app', ['uiCropper'])
.controller(function($scope){
    $scope.myImage = 'https://raw.githubusercontent.com/CrackerakiUA/ui-cropper/master/screenshots/live.jpg';
    $scope.myCroppedImage = ''; // in this variable you will have dataUrl of cropped area.
});
<ui-cropper image="myImage" result-image="myCroppedImage"></ui-cropper>

Documentation

You can checkout all options under our wiki page

Readme

Keywords

none

Package Sidebar

Install

npm i eip-ui-cropper

Weekly Downloads

4

Version

1.1.2

License

ISC

Unpacked Size

499 kB

Total Files

33

Last publish

Collaborators

  • ioakeimidisg