Web UI component: j-Movable


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-Movable

The component handles similar draggable element and supports movement between each other. Each element according to the selector must have defined draggable="true" attribute.

Configuration:

  • selector {String} jQuery selector for watching
  • exec {String} A path to method which will be executed if the user moves element
  • global {Boolean} drag & drop events will be binded to document (default: false)
  • parent {String} selector for finding of element where will be binded drag & drop envets (default: current element)

Example of Exec method:

function exec_method(list, dragged, target) {
    // @list jQuery list
}

Good to know:

  • path performs CHANGE()

Author