Module: alfresco/creation/DropZoneWrapper

alfresco/creation/DropZoneWrapper

Author:
  • Dave Draper
License:
Source:

Members

cssRequirements :Array

An array of the CSS files to use with this widget.
Type:
  • Array
Source:

i18nRequirements :Array

An array of the i18n files to use with this widget.
Type:
  • Array
Source:

moduleName :string

Type:
  • string
Default Value:
  • ""
Source:

templateString :string

The HTML template to use for the widget.
Type:
  • string
Source:

Methods

onWidgetDelete(evt)

Emits a custom a "onWidgetDelete" event to indicate that the widget should be deleted.
Parameters:
Name Type Description
evt object The click event that triggers the delete.
Source:

postCreate()

Source:

processWidget(rootNode, widgetConfig, index)

Sets the a reference to the wrapper on each child widget.
Parameters:
Name Type Description
rootNode element The DOM node where the widget should be created.
widgetConfig object The configuration for the widget to be created
index number The index of the widget configuration in the array that it was taken from
Source: