image-salon-sdk 1.0.8 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -38,6 +38,8 @@ const handleImageUpload = () => {
|
|
|
38
38
|
return <div id="example" />;
|
|
39
39
|
```
|
|
40
40
|
|
|
41
|
+
# Svelte implementation
|
|
42
|
+
|
|
41
43
|
```typescript svelte
|
|
42
44
|
---
|
|
43
45
|
**NOTE**
|
|
@@ -58,14 +60,14 @@ onMount(() => {
|
|
|
58
60
|
parameters for ImageUpload class
|
|
59
61
|
|
|
60
62
|
```typescript
|
|
61
|
-
folderName: string;
|
|
62
|
-
handleUpload: () => void;
|
|
63
|
+
folderName: string; // folder name to upload file
|
|
64
|
+
handleUpload: () => void; //callback to handle upload event on click.
|
|
63
65
|
```
|
|
64
66
|
|
|
65
67
|
parameters for create method
|
|
66
68
|
|
|
67
69
|
```typescript
|
|
68
|
-
imageUploadMainContainerId: string;
|
|
70
|
+
imageUploadMainContainerId: string; //id of the container where you want to load message snippet.
|
|
69
71
|
```
|
|
70
72
|
|
|
71
73
|
upload response
|