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
|`name`| string | Used to locate the component in the UIRegistry once it is created. | true | None |
121
+
|`uploaderConfig`| object | Used to initialize the Image Uploader UIComponent. | true | None |
122
+
|`contentTypeId`| string | The ID of the parent content type this will be used in. | true | None |
123
+
|`dataStore`| DataStore | The DataStore that the selected image should be stored in. | true | None |
124
+
|`initialValue`| Object[]| The value that should be used for the initial state of the component. | true | None |
125
+
|`onChangeCallback`| Function | A callback that will be called when an image is selected. | false | The image will be saved to the provided `dataStore` using `uploaderConfig.dataScope` as the key. |
126
+
|`onDeleteCallback`| Function | A callback that will be called when the current used image is deleted from storage. | false | The image will be removed from to the provided `dataStore` using `uploaderConfig.dataScope` as the key. |
127
+
116
128
2. Add configuration for the uploader in the `<content-type-name>.xml` file to initialize the uploader.
117
129
118
130
3. Register the listener to specify when the image is loaded from the uploader UI component:
0 commit comments