I cant Get data from api
https://framework7.io/docs/request.html
// If we need it in place where we don't have access to app instance or before we init the app
Framework7.request.get('somepage.html', function (data) {
console.log(data);
});
// After we init the app we can access it as app instance property
var app = new Framework7({ /*...*/ });
app.request.get('somepage.html', function (data) {
console.log(data);
});
app.request.get('blog-post.php', { foo:'bar', id:5 }, function (data) {
$$('.articles').html(data);
console.log('Load was performed');
});