Module: alfresco/creation/WidgetDragWrapper

alfresco/creation/WidgetDragWrapper

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:

templateString :String

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

Methods

getSubWidgetDefinitions(widgetDefs, widget, index)

Parameters:
Name Type Description
widgetDefs object[] The array of widget definitions to add to
widget object The current widget to inspect for widget defintions
index number The index of the current widget to inspect.
Source:

getWidgetDefinitions() → {object[]}

Source:
Returns:
An array of widget definitions from the nested widget (and its sub-widgets).
Type
object[]

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: