mtr / angular-iscroll

AngularJS module that enables iScroll 5 functionality, wrapping it in an easy-to-use directive.
MIT License
74 stars 27 forks source link

Support zoom option? #30

Closed Ridermansb closed 7 years ago

Ridermansb commented 8 years ago

This support zoom on cordova project?

I try to use like..

Import angular module

import 'angular-iscroll';
angular.module('app', ['ngAria', 'angular-iscroll']) ..

Apply directive

<img iscroll="{}" class="zoom" ng-if="question.image" ng-src="{{question.image | showAsBase64}}" alt="Imagem motivadora" style="width: 100%">

And css

img.zoom { -webkit-transform:translate3d(0,0,0) }

When I run the app.. and try to zoom on the image nothing happens

The image is base64

mtr commented 7 years ago

I am sorry, I haven't tried to use this with zooming in Cordova.