Tap and pinch to zoom for scroller zoom

This commit is contained in:
Max Lynch
2015-09-01 10:24:35 -05:00
parent 3157f2ff66
commit 3e516dce46
2 changed files with 42 additions and 18 deletions

View File

@ -20,7 +20,7 @@ class MyApp {
Http.get(baseUrl + '?method=flickr.groups.pools.getPhotos&group_id=1463451@N25&safe_search=1&api_key=' + FLICKR_API_KEY + '&jsoncallback=JSON_CALLBACK&format=json&tags=' + tags, {
method: 'jsonp'
}).then((val) => {
this.images = val.photos.photo;
this.images = val.photos.photo.slice(0, 20);
this.slider.update();
}, (err) => {
alert('Unable to load images');