$dragCreate

the method is called at the moment when drag-n-drop has started

HTMLElement $dragCreate(HTMLElement source,Event event,string pointer);

Parameters

sourceHTMLElementa DOM element on which a dnd action started
eventEventa native HTML event
pointerstringdefines what pointer started dnd

Returns

HTMLElementa DOM element of the drag marker
Details

Pointer has two states: "mouse" and "touch".

Back to top