0

Mobile pinch & zoom feature via ZK PE 9.x

asked 2022-09-23 04:23:42 +0800

ValiRadoi gravatar image ValiRadoi
1

Hi, We are in the process of developing a responsive design web app using the ZK PE 9.x edition. Wondering what’s an easy way to implement the pinch & zoom feature when the access is via mobile devices.

Thanks, Vali

delete flag offensive retag edit

1 Answer

Sort by » oldest newest most voted
0

answered 2022-09-26 17:14:06 +0800

MDuchemin gravatar image MDuchemin
2535 1 6
ZK Team

Hey there Vali,

ZK executes inside of a web browser (even in a hybrid application, you'd still be opening a hidden web browser as the container for the ZK UI) which usually takes care of that behavior.

For the "the whole UI" behavior, since the browser is in charge of the page, you'd simply put in a viewport meta tag with the desired behavior: https://developer.mozilla.org/en-US/docs/Web/HTML/Viewportmetatag

Are you referring to the ability for the user to pinch and zoom "the whole UI", or are you trying to implement that on a specific component? (like, having specific behaviors when pinching and zooming only a specific div like google maps does when embedded in another website?)

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2022-09-23 04:23:42 +0800

Seen: 6 times

Last updated: Sep 26 '22

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More