Module: alfresco/upload/UploadFolder

alfresco/upload/UploadFolder

Extends AlfDocument to provide a way of rendering a container node that is primarily used for the purposes of uploading. It provides drag-and-drop upload capabilities by mixing in the _AlfDndDocumentUploadMixin so that files can easily be dropped anywhere on the widgets rendered to trigger an upload.
Since:
  • 1.0.34
Author:
  • Dave Draper
License:
Source:

Members

cssRequirements :object[]

An array of the CSS files to use with this widget.
Type:
  • object[]
Default Value:
  • [{cssFile:"./css/UploadFolder.css"}]
Source:

Methods

getUploadConfig()

Override the inherited function to set the upload destination as the NodeRef of the Node being displayed.
Source:

postCreate()

Extends the inherited function to set up the widgets DOM element with drag-and-drop file upload capabilities.
Source: