Hi, I using some angular 2 components in my project, and I need to change 
some of component's position. I use DOM to change the position first, like 
replaceChild or insertBefore, something like that. But I notice that 
angular 2 doesn't know the DOM change, seems like my DOM change is over the 
angular 2 life cycle. So, is there any way I can edit DOM in angular 2 ? 
 or some way I can change the order of components?  

For you can understand what I'm doing, I'm building some components and I 
want to drag them and switch there position. I find a plug-in write in 
JQuery, you can find a gif on its GitHub site 
(https://github.com/Barrior/DDSort/blob/master/img/ddsort.gif). I want to 
implement something like that gif. 

I find something maybe help on GitHub, but I don't know how to use it. 
https://github.com/angular/angular/blob/master/modules/angular2/src/core/linker/view_manager.ts

-- 
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 http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to