-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Description
Hello,
I'm trying to use HammerJS in my angular17 project.
I import it in my app.config.ts file:
importProvidersFrom(HammerModule),
And also I'm my component:
@Component({
imports: [HammerModule],
providers: [
{
provide: HAMMER_GESTURE_CONFIG,
useClass: HammerGestureConfig,
},
],
})
I tried this and this not working for me and I get this error in the console:
The "swipeleft" event cannot be bound because Hammer.JS is not loaded and no custom loader has been specified
I will thank for any help to solve this problem
rorymulcahey
Metadata
Metadata
Assignees
Labels
No labels