Call a function from photo browser


#1

I have added photo browser plugin i my F72 vue app and its working fine, i would like to know how can i call function on clicking on a opened photo? basically im trying to share the image with cordova social share plugin, but how can i add a button in the photo brower, currently it shows next and prev buttons by default, and i searched in docs but i found no way to call a function and no way to add a button in that page, can someone help me

thanks for the photobrowser plugin


#2

Hi @rashnk,
As you dont tell us the plugin name nor put a link to it, its almost impossible to help you without knowing the plugin, asi is my case.
Please share the link of the plugin.


#3

There are renderNavbar / renderToolbar parameters where you can return custom navbar/toolbar html with all the required buttons. Here is what it returns by default: