Open ghost opened 9 years ago
I really need help. I'm using angularjs in my project.
I installed it via cordova add.
I added those angularjs lines at the end of my controller.
Then i use a ng-click to call a function that has
navigator.screenshot.save(function(error,res){ if(error){ console.error(error); }else{ console.log('ok',res.filePath); }
nothing happens });
i just needed to add cordova.js to my index.html and that worked for me
I really need help. I'm using angularjs in my project.
I installed it via cordova add.
I added those angularjs lines at the end of my controller.
Then i use a ng-click to call a function that has
navigator.screenshot.save(function(error,res){ if(error){ console.error(error); }else{ console.log('ok',res.filePath); }
nothing happens });