Ionic 2 at new Hammer undefined


#1

when use tutorial sample show error cannot read property ‘addEventListener’ of null

ionic slider not working


#2

What kind of tutorial is this that combines Ionic and jQuery?


#4

yes im using ionic 2 and jquery


#5

I know. I saw it in your error message.

My question was which tutorial tells you to do that. It is a very, very bad idea as it is complicated to get working.


#6

im use ionic start MyIonicProject tutorial to sample and its ok, but when i edit sample and add another library like jquery, hammerjs, my script file , … is not working, when use slide for show images slide not working correctly, im guess ionic has problem with rtl project, my lang is persian


#7

No, your project has a problem with some of the code your wrote, from the stacktrace something in “new Hammer” doesn’t work.

So this has nothing to do with any tutorial, but you are just doing stuff that doesn’t work. Correct?


#8

im fine. thank you :heart_eyes: