Implementation Guide
Step 1: Preparing Draggable Items
Place your items inside the GhostDrag_Source block. For an element to be recognized:
Step 2: Configuring the Landing Zone
Place the GhostDrag_Target inside a Container. This container defines the maximum width the target will take when expanded.
Step 3: Move vs. Copy Logic
Technical Specifications
Data Transfer (The Payload)
The system normalizes data keys. If your source has data-item-product-name, the target receives:
JSON
{
"productName": "Sample Value"
}
The component automatically handles the conversion from HTML kebab-case to OutSystems-friendly camelCase.
CSS State Hooks
You can customize the look and feel by overriding these global classes in your theme:
Best Practices