d-image-crop

0.2.1 • Public • Published

d-image-crop

Image crop for Derby.js.

image

##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.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i d-image-crop

Weekly Downloads

2

Version

0.2.1

License

MIT

Last publish

Collaborators

  • ile