Skip to content

Commit 951d546

Browse files
Update README.md
1 parent 7d325c2 commit 951d546

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ You can find an example project here: https://github.com/alessiomaffeis/vue-pict
8888
Default value: 'btn btn-secondary button secondary'.
8989
- **prefill**: (image url or File object, optional) use this to specify the path to a default image (or a File object) to prefill the input with. Default value: empty.
9090
- **toggleAspectRatio** (boolean, optional) set *:toggleAspectRatio="true"* to show a button for toggling the canvas aspect ratio (Landscape/Portrait) on a non-square canvas. Default value: false.
91+
- **autoToggleAspectRatio** (boolean, optional) set *:autoToggleAspectRatio="true"* to enable automatic canvas aspect ratio change to match the selected picture's. Default value: false.
9192
- **aspectButtonClass**: (string, optional) the class which will be applied to the 'Landscape/Portrait' button.
9293
Default value: 'btn btn-secondary button secondary'.
9394
- **customStrings**: (object, optional) use this to provide one or more custom strings (see the example above). Here are the available strings and their default values:

0 commit comments

Comments
 (0)