Web Component: j-Draggable
j-Draggable
A simple component which can capture drag & drop operation.
- jComponent
v19|v20
Configuration:
selector
{String}
jQuery selector for capturing of element for "drag"exec
{String}
a path to methodfunction(meta, el)
function method(meta, el) {
// meta.pageX; {Number}
// meta.pageY; {Number}
// meta.offsetX; {Number}
// meta.offsetY; {Number}
// meta.el; {jQuery element} dragged element
// meta.target; {jQuery element} target (where the element has been dropped?)
}
Created
05. october 2019
Updated
25. january 2023
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com