Get zoom for ionicScrollDelegate


#1

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.