Data Types

UploadWidgetMethods

This object is passed to the onInit callback in the UploadWidgetConfig.

It contains methods that allow you to change the state of the widget after it has opened.

{
"close": Function,
"reset": Function
}

Closes the Upload Widget, removing all of its elements from the DOM.

An empty array of files will be returned from the open method (and from the onComplete callback if using a UI framework like React).

Type: Function

Required: Yes

Resets the Upload Widget to its initial state.

Type: Function

Required: Yes

Was this section helpful? Yes No

You are using an outdated browser.

This website requires a modern web browser -- the latest versions of these browsers are supported: