Click Fusions
Drag Mode
How to use the dragmode
effect for making DOM elements draggable
Overview
The dragmode
effect allows you to make any DOM element draggable when using the ClickFusion
component.
Usage
To enable Drag Mode, set the effect
property to “dragmode” in your ClickFusion
component.
Customization
You can customize the draggable area dimensions and background color using the particleOptions
property.
Particle Options
width
: (optional) Width of the draggable areaheight
: (optional) Height of the draggable areacolor
: (optional) Background color of the draggable area
Custom dragmode in Action