Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49186

Get zoom for ionicScrollDelegate

$
0
0

@vance wrote:

How does one get the current zoom level? I don't see it in the API doc. Only thing I see in the forum is a hack by selecting the element by class and getting the scale attribute. does the delegate not handle this?

nevermind. i see it in the docs. i'd delete this post but it's not apparent how to do that.

getScrollPosition()
Returns: object The scroll position of this view, with the following properties:
{number} left The distance the user has scrolled from the left (starts at 0).
{number} top The distance the user has scrolled from the top (starts at 0).
{number} zoom The current zoom level.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 49186

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>