Module: alfresco/creation/PublicationDropZone

alfresco/creation/PublicationDropZone

Author:
  • Dave Draper
License:
Source:

Members

acceptTypes :string[]

The types that this drop zone will accept. By default this is set to null but if not specified in the configuration this will be initialised to ["widget"].
Type:
  • string[]
Source:

Methods

emitOnWidgetUpdate()

This function is called as an after aspect of the onDrop function of the DND target. It is used to capture widgets being added into the DropZone and emits an event intended for it's own DropZoneWrapper and DropZones in it's hierarchy (if any exist) so that they can update their own configuration with the details of their internal DropZones. This is done so that when an outer DropZone is updates (e.g. it's configuration is changed) that the internals can be faithfully be recreated.
Source: