makeDraggable()
makeDraggable<
T
>(e
,options
?):Element
Example: https://public.datagrok.ai/js/samples/ui/interactivity/drag-and-drop
Type parameters
Type parameter |
---|
T |
Parameters
Parameter | Type |
---|---|
e | Element |
options ? | object |
options.allowCopy ? | () => boolean |
options.check ? | () => boolean |
options.dragObjectType ? | string |
options.getDragCaption ? | () => any |
options.getDragContext ? | () => any |
options.getDragHint ? | () => string |
options.getDragObject ? | () => any |
options.onDragEnd ? | () => void |
options.onDragStart ? | (me ) => boolean |
Returns
Element