Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
agoncalvesos authored Jul 18, 2019
1 parent 8c57740 commit 86093f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@ cordova plugin add https://github.com/agoncalvesos/image-editor-plugin.git
Opens the image editor main screen, allowing the user to use all the features, on the base64 passed as input parameter

```javascript
windown.imageeditorplugin.editImageFromBase64(base64, onSuccess, onError);
window.imageeditorplugin.editImageFromBase64(base64, onSuccess, onError);
```

## editImageFromCamera

Opens the phone camera allowing the user to take a photo and edit it right away

```javascript
windown.imageeditorplugin.editImageFromCamera(onSuccess, onError);
window.imageeditorplugin.editImageFromCamera(onSuccess, onError);
```

## editImageFromGallery

Opens the phone gallery allowing the user to choose a photo and edit it right away

```javascript
windown.imageeditorplugin.editImageFromGallery(onSuccess, onError);
window.imageeditorplugin.editImageFromGallery(onSuccess, onError);
```

## Description
Expand Down

0 comments on commit 86093f6

Please sign in to comment.