I have the following html in my home.html page :
<ion-content>
<ion-refresher (ionRefresh)="doRefresh($event)">
<ion-refresher-content></ion-refresher-content>
</ion-refresher>
<div class="googleCalendar">
<iframe src="https://calendar.google.com/calendar/embed?showDate=0&showPrint=0&showCalendars=0&height=600&wkst=2&hl=ro&bgcolor=%233366ff&src=catalintium%40gmail.com&color=%231B887A&ctz=Europe%2FBucharest?nocache"
style="border-width:0" width="400" height="600" frameborder="0" scrolling="no"></iframe>
</div>
</ion-content>
And this inside my home.ts Homepage class :
doRefresh(refresher) {
console.log('Begin async operation', refresher);
setTimeout(() => {
console.log('Async operation has ended');
refresher.complete();
}, 2000);
}
The calendar itself is showing,but everytime I add events in Google calendar, they won't appear in my calendar no matter how much i refresh the page. Thanks for helping.