Click event in ng2-dragula bag not working
问题 I'm using Angular 2 and ng2-dragula . I want to make the drag 'n' drop items in a dragula bag clickable. This is my app.component.html : <div id="rootFrame"> <div class="tasksFrame"> <div id="tasksCont" class='container' [dragula]='"first-bag"'> <div (click)="onClick('ha')">Task 1</div> <div (click)="onClick('ba')">Task 2</div> <div (click)="onClick('ca')">Task 3</div> </div> </div> <div class="editorFrame"> <div id="editorCont" class='container' [dragula]='"first-bag"'> </div> </div> <div