@PECNET wrote:
Hello,
I use cordova-plugin-x-socialsharing plugins to share posts.
I try to get my link found in this variable -> itemCtrl.item.guid|trustHtml -> {{itemCtrl.item.guid}}
but I can not retrieve in my onclick
if I do this, it works very well
<button class="button button-icon button-clear ion-share" menu-toggle="right" onclick="window.plugins.socialsharing.share('http://www.example.com')"></button>
but if I do that, it does not work, I see how I can get my link
<button class="button button-icon button-clear ion-share" menu-toggle="right" onclick="window.plugins.socialsharing.share('{{itemCtrl.item.guid}}')"></button>
can you tell me how I should do to recover my link? thank you
Posts: 1
Participants: 1