There is a zooming-API available for scroll-views, but I can’t figure out, how to use it.
When I call zoomTo, the scroll view jumps to an random position, bot no zooming happens.
Is this feature already working right now?
fw
There is a zooming-API available for scroll-views, but I can’t figure out, how to use it.
When I call zoomTo, the scroll view jumps to an random position, bot no zooming happens.
Is this feature already working right now?
fw
Ionic haven’t expose a way to adjust the zoom level.
You can do it by manually set it. The following code works for me:
var scrollDelegate = $ionicScrollDelegate.$getByHandle('viewer');
var view = scrollDelegate.getScrollView();
//reset zoom level
view.__zoomLevel = 1;
scrollDelegate.scrollTo(0,0);