Sortable Extension

Uses jQuery UI's sortable plugin to realize sortable functionality. You can pass sortable options via data attributes.

Options

URL | data-sortable-handle | String | Optional

The destination URL to be used after the user clicks on the element.

Example

<div data-gx-extension="sortable" data-sortable-handle=".drag-handle">
  <img src="handle.jpg" class="drag-handle" />
</div>

This extension is based in the jQuery UI sortable interaction utility: http://api.jqueryui.com/sortable

Source:

Requires

  • module:jQueryUI