Owner's avatar

safetychanger/iron-cropper

Polymer 1.0 element that wraps around Cropper.js

Overview

<iron-cropper> is a Polymer 1.0 element that wraps around Cropper.js

Demo

https://safetychanger.github.io/iron-cropper/

Install

Install the component using Bower:

$ bower install iron-cropper --save

Usage

Import Custom Element:

<link rel="import" href="bower_components/iron-cropper/iron-cropper.html">

And then use it:

<iron-cropper src="sample.jpg" on-crop="crop"></iron-cropper>

See the Documentation for more options.

Discussing

If you have any questions, you can find me on the Polymer Slack Channel, or just raise an Issue.

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -m 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT License © Ruben Stolk

Throughput Graph

Download

Download ZIP

Activity

Created 22 days ago

Last updated 22 days ago

Bower Dependencies

polymer ^1.4.0

iron-ajax ^1.4.3

cropperjs ^0.8.1

Made with by a bunch of awesome contributors. Brought to you by Liferay.