Use  jquery Ui (Draggable and droppable)for this....and bind events to your
angular controller.Make sure that the jquery Ui version you are using is
compatible with angular 2

On Wed, Apr 6, 2016 at 2:13 PM, Michael Burger <[email protected]>
wrote:

> I need to add handle drag&drop on mobile devices, the touchstart event is
> firing as expected but there is naturally no VISIBLE effect for drag&drop.
>
> So is there a possibilty to start a native DRAG and DROP on touchStart or
> how should I handl the drag and drop for touch systems in angular2?
>
>
>
> this.htmlElement.ontouchstart = (touchEvent: TouchEvent) => { // here I
> check if user intend starting a drag&drop or if there are some other touch
> behaviours if (dragging) { //WHAT to do here to start visbile drag and
> drop, can I launch a DRAGSTART for HTML or something like that } }
>
> --
> You received this message because you are subscribed to the Google Groups
> "AngularJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Regards,
Ashish Kumar

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to