You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/stencil-library/custom-elements.json
+7
Original file line number
Diff line number
Diff line change
@@ -1058,6 +1058,13 @@
1058
1058
"text": "string"
1059
1059
},
1060
1060
"description": "When the image crop changes, emits the dataurl for the new cropped image."
1061
+
},
1062
+
{
1063
+
"name": "imageFileCropChanged",
1064
+
"type": {
1065
+
"text": "File"
1066
+
},
1067
+
"description": "Emits both when a file is initially select and when the crop has changed.\r\nCompared to imageCropChanged, this event emits the file itself, which can be useful for uploading the file to a server including its name."
* Emits both when a file is initially select and when the crop has changed. Compared to imageCropChanged, this event emits the file itself, which can be useful for uploading the file to a server including its name.
|`imageCropChanged`| When the image crop changes, emits the dataurl for the new cropped image. |`CustomEvent<string>`|
31
+
|`imageFileCropChanged`| Emits both when a file is initially select and when the crop has changed. Compared to imageCropChanged, this event emits the file itself, which can be useful for uploading the file to a server including its name. |`CustomEvent<File>`|
0 commit comments