Angular2 component wrapper for CropperJS


Keywords
image, cropper, cropperjs
License
WTFPL
Install
npm install dgm-bs3-ngcrop@0.0.5

Documentation

Angular2 component wrapper for CropperJS

Dependencies

This component require

Manual

This package export two module, InlineCropperModule and NgCropModule. InlineCropperModule export only the <image-cropper> element which you can put any where. NgCropModule provide <input-image-crop> can be used with reactive form module. See example folder for more detail.

// module

@NgModule({
	imports: [
		// ...
		InlineCropperModule,
	]

	// ...
})
// template
<image-cropper [imageUrl]="someUrl"/>

License

					DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
									Version 2, December 2004

Copyright (C) 2016 DgmTeam <contact@digimed.vn>

Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.

					DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
	TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

0. You just DO WHAT THE FUCK YOU WANT TO.