Ionic v4 drag gesture without hammer.js?

I want to add a drag feature to resize a google-map DIV for both web/PWA and mobile.

I looked into the ondrag/start/end events and discovered mobile browsers do not offer support. I suppose I could use mousedown/up events instead, but is there platform independent support for gestures without hammer.js?

see:

hammer.js is the go to solution for those gestures.

Can you please tell How can I install or add or import hammer.js in Ionic v4?

npm install --save hammerjs

After installing, import it on your app’s entry point (e.g. src/main.ts ).

import 'hammerjs';

I’ll give it try, Thank you :slight_smile: