-
FEATURED COMPONENTS
First time here? Check out the FAQ!
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
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?)
Asked: 2022-09-23 04:23:42 +0800
Seen: 6 times
Last updated: Sep 26 '22