Hi, please, can you help me?
I have ion-card. I want to show it only when the value of variable changes, but without reload the page.
<ion-card *ngIf="!global.internet"> <ion-card-content text-center style="background-color: darkred; color:#FFFFFF;"> <strong>OFFLINE MODE</strong> </ion-card-content> </ion-card>
Above, if globa.internet is false, does not show the card. Its happaning, but I need to reload de page. How can I show/hide this Card when the variable is changed without refresh the page?