0

I have a div

<div dragula='"bag-one"'>Div1 </div>

In controller, the event is triggered but element is not dragging.

    $scope
        .$on('bag-one.drag', function (e, el) {
console.log("called");
        })

How do I fix this?

bevacqua
  • 47,502
  • 56
  • 171
  • 285
sim kaur
  • 163
  • 2
  • 14

1 Answers1

0

If you see no errors, just try to add couple lines in the container of dragula.

<div dragula='"bag-one"'>
   <span>Row one</span>
   <span>Row two</span>
</div>
Honchar Denys
  • 1,408
  • 4
  • 29
  • 54