- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Extends
Mixes In
- external:dojo/_TemplatedMixin
- module:alfresco/core/Core
- module:alfresco/core/CoreWidgetProcessing
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: