Reputation: 275
How to detect zoom event (using multitouchale divice) on an element of a webpage and handle it? Thanks for help!
Upvotes: 2
Views: 940
Reputation: 32286
So, if you want to implement zoom-like behavior (in plain JavaScript) in place of handing it to the browser, you need to handle [multi] touchstart/touchmove events yourself. Here's the touch event specification it's pretty comprehensive.
Upvotes: 0
Reputation: 114347
This type of zoom is handled internally by the browser and is not scriptable.
Upvotes: 1