Skip to content

Commit

Permalink
Fix typo in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Mawi137 committed Dec 30, 2018
1 parent 87f254b commit 8867700
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ All inputs are optional. Either the `imageChangedEvent` or `imageBase64` should
| `aspectRatio` | number | 1 / 1 | The width / height ratio (e.g. 1 / 1 for a square, 4 / 3, 16 / 9 ...) |
| `resizeToWidth` | number | 0 (disabled) | Cropped image will be resized to this width (in px) |
| `cropperMinWidth` | number | 0 (disabled) | The cropper cannot be made smaller than this number of pixels (relative to original image's size) (in px) |
| `onlyScaleDown` | boolean | false | When the `resizeWidth` is set, enabling this option will make sure smaller images are not scaled up |
| `onlyScaleDown` | boolean | false | When the `resizeToWidth` is set, enabling this option will make sure smaller images are not scaled up |
| `cropper` | { x1: number, y1: number, x2: number, y2: number } | | To be able to overwrite the cropper coordinates, you can use this input. Create a new object of type `CropperPosition` and assign it to this input. Make sure to create a new object each time you wish to overwrite the cropper's position and wait for the `cropperReady` event to have fired. |
| `imageQuality` | number | 92 | This only applies when using jpeg or webp as output format. Entering a number between 0 and 100 will determine the quality of the output image. |
| `autoCrop` | boolean | true | When set to true, the cropper will emit an image each time the position or size of the cropper is changed. When set to false, you can call the crop method yourself (use @ViewChild to get access to the croppers methods). |
Expand Down

0 comments on commit 8867700

Please sign in to comment.