|
|
|
|
@ -35,7 +35,13 @@ export class OfferDetailsComponent implements OnInit {
|
|
|
|
|
return temporalDivElement.textContent || temporalDivElement.innerText || "";
|
|
|
|
|
}
|
|
|
|
|
share() {
|
|
|
|
|
this.socialSharing.share(this.stripHtml(this.details.Description), this.stripHtml(this.details.Title), this.details.Banner_Image).then((result) => {
|
|
|
|
|
console.log(this.details);
|
|
|
|
|
const options = {
|
|
|
|
|
message: this.stripHtml(this.details.Description),
|
|
|
|
|
// subject: this.stripHtml(this.details.Title),
|
|
|
|
|
files: ['https://www.geo.tv/assets/uploads/updates/2021-09-05/368882_8709303_updates.jpg']
|
|
|
|
|
}
|
|
|
|
|
this.socialSharing.shareWithOptions(options).then((result) => {
|
|
|
|
|
console.log(result);
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|