Skip to content

Commit 68b4e9c

Browse files
committed
default value for customCoordinates
1 parent ac16464 commit 68b4e9c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,12 @@ transformation = [
220220
]
221221
```
222222

223+
See the complete list of transformations supported in ImageKit [here](https://docs.imagekit.io/features/image-transformations). The SDK gives a name to each transformation parameter e.g. `height` for `h` and `width` for `w` parameter. It makes your code more readable. If the property does not match any of the following supported options, it is added as it is.
224+
223225
### List of supported transformations
224226
<details>
225227
<summary>Expand</summary>
226228

227-
The complete list of transformations supported and their usage in ImageKit can be found [here](https://docs.imagekit.io/features/image-transformations). The SDK gives a name to each transformation parameter, making the code readable. If the property does not match any of the following, it is appended in the URL.
228-
229229
| Supported Transformation Name | Translates to parameter |
230230
| ----------------------------- | ----------------------- |
231231
| height | h |

src/components/IKUpload.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default {
1818
tags: { type: Array, required: false },
1919
folder: { type: String, default: "/", required: false },
2020
isPrivateFile: { type: Boolean, default: false, required: false },
21-
customCoordinates: { type: String, required: false },
21+
customCoordinates: { type: String, default:"", required: false },
2222
responseFields: { type: Array, required: false },
2323
onError: { type: Function, required: false },
2424
onSuccess: { type: Function, required: false }

0 commit comments

Comments
 (0)