Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

The change of data in controller doesn't update automatically

$
0
0

Thanks for your reminding. Then can do it even better with:

return new Promise((resolve, reject) => {
  window.imagePicker.getPictures((results) => {
    for (var i = 0; i < results.length; i++ ) {
      this.thumbnail = results[i]
      return resolve(result[i]);
    }
  }, (error) => {
    return reject(error);
  });
}

Am I right?


Viewing all articles
Browse latest Browse all 228595

Trending Articles



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