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
| actions |`array`| Array with custom actions to show in the tool's settings menu. See details below. |
86
+
| features |`object`| Allows you to enable/disable additional features such as border, background tunes and caption. See details below. |
86
87
87
88
Note that if you don't implement your custom uploader methods, the `endpoints` param is required.
88
89
@@ -96,6 +97,8 @@ Note that if you don't implement your custom uploader methods, the `endpoints` p
96
97
97
98
3. Add background
98
99
100
+
4. Add caption
101
+
99
102
Add extra setting-buttons by adding them to the `actions`-array in the configuration:
100
103
```js
101
104
actions: [
@@ -113,6 +116,17 @@ actions: [
113
116
114
117
**_NOTE:_** return value of `action` callback for settings whether action button should be toggled or not is *deprecated*. Consider using `toggle` option instead.
115
118
119
+
You can disable features such as border, background tunes and caption by defining `features` in the configuration:
120
+
```js
121
+
features: {
122
+
border:false,
123
+
caption:'optional',
124
+
stretch:false
125
+
}
126
+
```
127
+
128
+
**_NOTE:_** set caption to `optional` in order to configure caption as a tune.
129
+
116
130
## Output data
117
131
118
132
This Tool returns `data` with following format
@@ -136,7 +150,7 @@ This Tool returns `data` with following format
0 commit comments