DEV Community

Discussion on: Solution working Hammer.js after upgrading to angular 9

 
adri4no profile image
Adriano Valadares • Edited

Hi Anand,

Did you import hammer.js in main.ts in your project? like this:

import "hammerjs";

You have to provide the custom config on the app.module of your project for your whole project be able to see it.

Thread Thread
 
manandkumaar profile image
Anand Kumar

Thank you Adriano.
I only removed it as i thought which is optional and not required anymore :D.

Thread Thread
 
adri4no profile image
Adriano Valadares

so... did work's?

Thread Thread
 
manandkumaar profile image
Anand Kumar

Yes, it works. Thanks for the input 👍