d-image-crop
Image crop for Derby.js.
##Demo
https://derby-demos.herokuapp.com/d-image-crop
##Installation
npm install d-image-crop
app.component(require('d-image-crop'));
@import '../../node_modules/d-image-crop'
##Usage
<d-image-crop translate="t" src="{{_page.misc.crop}}" on-submit="cropped()"></d-image-crop>
Localization: translate
attribute is optional. If used, it should point the app.proto.t
translate function in plain string, i.e. in that case it would be just t
as in the example.