I don't know why but hammer-js doesn't work at all with my angular 2 project and it doesn't show any mistakes.
This is how I connect it to project
<script src="https://cdnjs.cloudflare.com/ajax/libs/hammer.js/2.0.8/hammer.js"></script>
<script>
TouchEmulator();
</script>
and Then I just put (swiperight)="test()" to my html tag but nothing happen when I try swipe it. Test function has just console.log()