PDA

View Full Version : zoom in zoom out div element



y0uzha
8 Nov 2014, 8:22 AM
i have a div element and i want to make feature zoom in and zoom out for that div element. anybody can help me give example to make function like that.?

50949

slemmon
10 Nov 2014, 3:01 PM
Hi,

There is not an ExtJS API for zooming in on a dom element like you're describing. You can transform by scale using CSS on some browsers and that might come in handy, but you'd want to evaluate the CSS rule to see if it works with your use case / target browsers.

Its a bit outside of Sencha support, but you might read up more on it here:
https://developer.mozilla.org/en-US/docs/Web/CSS/transform