This is a migrated thread and some comments may be shown as answers.

How to Constrain the Pinch and Zoom?

2 Answers 18 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rodney
Top achievements
Rank 2
Rodney asked on 06 Feb 2014, 05:00 PM
I'm using a Kendo Mobile View and I've set the data-zoom attribute to true ("data-zoom = true") so that my view can Pinch and Zoom. 

Is there an attribute or css style that I can set to limit the size in which the Pinch and Zoom resizes the contents? I want to set a max and min size. 

I want to make my view so that it can zoom in but I want to constrain the view so that it doesn't get smaller than 100% of the viewport width. I like to set the min-width equal to the viewport width in some way. How do you do this?

Any help would be greatly appreciated. 


2 Answers, 1 is accepted

Sort by
0
Kiril Nikolov
Telerik team
answered on 07 Feb 2014, 08:24 AM
Hello Rodney,

Currently there is not an option that you can set to control the min-width property of a zoomable view. You can check our uservoice section and post it as a suggestion there, so it will be considered for a future implementation.

Regards,
Kiril Nikolov
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Rodney
Top achievements
Rank 2
answered on 07 Feb 2014, 04:25 PM
I requested the additional functionality to Kendo's Mobile at http://uservoice.com/a/Z0yma  Please go and upvote my suggestion. Thanks
Tags
General Discussions
Asked by
Rodney
Top achievements
Rank 2
Answers by
Kiril Nikolov
Telerik team
Rodney
Top achievements
Rank 2
Share this question
or