Module: alfresco/dnd/Constants

alfresco/dnd/Constants

Some constants used by multiple modules in the "alfresco/dnd" package.
Author:
  • Dave Draper
License:
Source:

Members

deleteItemEvent :String

Emitted when clicking on a DroppedItemWrapper to delete that item.
Type:
  • String
Default Value:
  • "onAlfDndItemDelete"
Source:

itemAddedTopic :String

This topic is published by a DragAndDropTarget whenever a dropped item is inserted into a target. This topic is subscribed to by DragAndDropItems that are configured to only allow an item to be used so that the deleted item can be reinstated.
Type:
  • String
Default Value:
  • "ALF_DND_ITEM_ADDED"
Source:

itemDeletedTopic :String

This topic is published by a DroppedItemWrapper whenever a dropped item is deleted. This topic is subscribed to by DragAndDropItems that are configured to only allow an item to be used so that the deleted item can be reinstated.
Type:
  • String
Default Value:
  • "ALF_DND_DROPPED_ITEM_DELETED"
Source:

itemSavedEvent :String

Emitted when an item value is updated
Type:
  • String
Default Value:
  • "onAlfItemSaved"
Source:

itemSelectedEvent :String

Emitted when a draggable item is selected.
Type:
  • String
Default Value:
  • "onAlfItemSelected"
Source:

itemSelectedTopic :String

This topic is published whenever an item in a DragAndDropItems widget is selected. This is intended to cover the scenario where multiple DragAndDropItems widgets are included on the same page.
Type:
  • String
Default Value:
  • "ALF_DND_SOURCE_ITEM_SELECTED"
Source:

nestedDragOutEvent :string

Emitted when a item is dragged out of a DragAndDropNestedTarget.
Type:
  • string
Default Value:
  • "onNestedDragOutEvent"
Source:

nestedDragOverEvent :string

Emitted when a item is dragged over a DragAndDropNestedTarget.
Type:
  • string
Default Value:
  • "onNestedDragOverEvent"
Source:

reorderItemsEvent :String

Emitted when an item is moved up or down within its parent
Type:
  • String
Default Value:
  • "onAlfItemsReordered"
Source:

requestAdditionalConfigEvent :string

Emitted when an item requested additional configuration options from an item it has been dropped into.
Type:
  • string
Default Value:
  • "onAdditionalConfigRequest"
Source:

requestItemToAddTopic :string

This topic is published when using the keyboard to insert a node. It requests the node to be inserted.
Type:
  • string
Default Value:
  • "ALF_DND_REQUEST_ITEM_TO_ADD"
Source:

requestWidgetsForConfigTopic :string

This topic is published when using a modelling service render the widgets that allow the user to configure the dropped item.
Type:
  • string
Default Value:
  • "ALF_DND_REQUEST_WIDGETS_FOR_CONFIG"
Source:

requestWidgetsForDisplayTopic :string

This topic is published when using a modelling service to render the dropped items. It is published to request the widgets to display for a given value.
Type:
  • string
Default Value:
  • "ALF_DND_REQUEST_WIDGETS_FOR_DISPLAY"
Source:

requestWidgetsForNestedConfigTopic :string

This topic is published when using a modelling service render the widgets that allow the user to configure the dropped item using options provided from the item that the widget has been dropped into.
Type:
  • string
Default Value:
  • "ALF_DND_REQUEST_WIDGETS_FOR_NESTED_CONFIG"
Source:

updateItemsEvent :String

Emitted when an item is dropped or deleted.
Type:
  • String
Default Value:
  • "onAlfItemsUpdated"
Source: