makeDraggable()
makeDraggable<
T>(e,options?):Element
Defined in: ui.ts:722
Example: https://public.datagrok.ai/js/samples/ui/interactivity/drag-and-drop
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
e | Element |
options? | { allowCopy?: () => boolean; check?: () => boolean; dragObjectType?: string; getDragCaption?: () => any; getDragContext?: () => any; getDragHint?: () => string; getDragObject?: () => any; onDragEnd?: () => void; onDragStart?: (me) => boolean; } |
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 |