|
|
|
|
@ -35,8 +35,16 @@ export class OfferDetailsComponent implements OnInit {
|
|
|
|
|
return temporalDivElement.textContent || temporalDivElement.innerText || "";
|
|
|
|
|
}
|
|
|
|
|
share() {
|
|
|
|
|
this.socialSharing.share(this.details.Description, this.details.Title, this.details.Banner_Image).then((result) => {
|
|
|
|
|
this.socialSharing.share(this.stripHtml(this.details.Description), this.stripHtml(this.details.Title), this.details.Banner_Image).then((result) => {
|
|
|
|
|
console.log(result);
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
openRelated(item) {
|
|
|
|
|
this.cs.sharedService.setSharedData(item, OfferDiscountService.selected_offers);
|
|
|
|
|
this.cs.back();
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
this.cs.navigateForward('/offersdiscount/offer-details');
|
|
|
|
|
}, 200);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|