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

Ionic lifecycle

$
0
0

If I understand well, I think the best way is to do it like this :

YOUR_MODULE.run(function () {
_db = new PouchDB('name', { adapter: 'websql' });
})

In a run of an angular module.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



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