Hi all,
i am facing a problem when trying to change a variable in an event listener:
pagename.ts
// subscribe to the event events.subscribe('connection:online', () => { this.connection = true; });
pagename.html
<div [hidden]="connection"> <h1 text-center>No connection</h1> </div>
When i am on the page and the event gets fired (in my case activating internet on my device), the view does not update and hide the [hidden] section).
any idea?
thanks, martin