Screenshot Plugin with Ionic and Crosswalk


#1

Hi All,

This might be a basic question, but i am a beginner and i would really appreciate any help.

I have added the plugin for sceenshot to my app.

However, i do not know how to invoke this. What is the syntax i should use to trigger the action.

I am trying to have an icon in my app, which should take screenshot when pressed. I am not able to figure this out.

Please assist.

Thanks,
Aadil


#2

Just copy all code in the link and create a controller . just call capture method in service.

in your template (your icon) on ng-click just call your controller method


#3

Thank you, i was able to figure it out. :slight_smile: