javascript - change position of all selected svn-elements via translate() -


with pointermove-event make svg-element dragable. after draging new position saved doing `save()'

canvas.on({     'element:pointermove': function(elementview, event, x, y) {         save();     } }); 

but want move multiple elements: elements want move have class highlighted.

so pointermove-event can move 1 element, other highlighted elements (if there other highlighted elements) should same movement. think can translate().

but how can 'connect' $('.highlighted')-elements translate() make them same movement?


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -