I want to know if there is a way to detect user is doing pinch zoom.
I want to do two things when user zooming in:
- let the div align the left side of screen
- set the width of div equal to the viewport width
I found Android has touchstart
, touchend
and touchmove
, but they won't be triggered during multitouch. I want to complete above function right after finishing zooming.
Are there any other approaches?
I am not doing the web app. I am just adding some functions to the mobile version.