[...]
on: {
init: function () {
var f7 = this;
if (f7.device.cordova) {
// Init cordova APIs (see cordova-app.js)
cordovaApp.init(f7);
}
console.log("init");
sync();
},
}
[...]
Inside the sync() function calling app.progressbar.show()
throws an error
“Cannot read property ‘progressbar’ of undefined”
. What is the common way of working with this? Thanks in advance!