Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49247

Adding a DOM element and use it with directive

$
0
0

@netexpo wrote:

There is one thing i can’t figure out. I have a directive so i can move (absolute drag) elements with HammerJS (https://www.joshmorony.com/building-an-absolute-drag-directive-in-ionic-2/). What i want to do is, if i add a new element in the DOM (here comes the hard part) … it needs the behaviour of the drag and drop directive. Anyone have ideas to put me in the right direction? Duplicating the element isn’t the problem, but the directive is not getting attached/binded.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49247

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>