I think there should a better solution then using jquery. I can not believe 
there is no solution to do this on angular2.
There are two possibilites in my opionion,

a) perhaps I can start DragEvent manually?
b) I can do al the UI staff on my own, but I don't understand how can I 
append a DIV to my directive, I would like to copy parent DOM and append IT 
do directive DOM or something like that.

no way?



Am Mittwoch, 6. April 2016 10:43:40 UTC+2 schrieb Michael Burger:
>
> 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.

Reply via email to