swapy
Reactive icon

Swapy

version 0.4.2 (Compatible with OutSystems 11)
Uploaded
 on 25 November 2024
 by 
0.0
 (0 ratings)
swapy

Swapy

Details
Convert any layout into a drag-to-swap one
Read more

Note: This is under development and will not be considered stable before version 1.0.


Swapy is a simple JavaScript tool for converting any layout you have to drag-to-swap layout.

The Swapy block defines your swappable layout. Inside it, you place how many slots (SwapySlot) you want. Each slot can have only one SwapyItem - this is the container that will be dragged.
By default, items are draggable from any spot. You can specify a handle by adding the SwapyHandle block inside a SwapyItem.

You can customize the slot you are currently selecting by styling `[data-swapy-highlighted]` in your CSS.


This component is OutSystems wrapper for https://github.com/TahaSh/swapy.

Release notes (0.4.2)
  • Improved demo
  • Added missing descriptions
  • Internal improvements
  • Added Try now


License (0.4.2)
Reviews (0)
Team
Other assets in this category