Drag and Drop

Drag and Drop (ODC)

Stable version 0.1.0 (Compatible with ODC)
Uploaded on 26 October 2023 by OutSystems Labs
Drag and Drop

Drag and Drop (ODC)

Documentation
0.1.0

To use this component, you need to

  1. Download and install this library.
  2. Drag the Web block onto the screen.
  3. Insert a list in the the ListId property.
  4. Create the necessary event with client actions provided.

This component has some client actions:

  • Create - Create new Sortable instance.
  • GetActiveSortable - Gets the active Sortable instance.
  • GetCloneElement - Gets the clone element.
  • GetDraggedElement - Gets the element being dragged.
  • GetGhostElement - Gets the ghost element.
  • GetOption - Get the option.
  • GetSortable - Get the Sortable instance on an element.
  • SetOption - Set the option.
  • Sort - Sorts the elements according to the array.
  • ToArray - Serializes the sortable's item data-id's (dataIdAttr option) into an array of string.