You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
Hi, I am trying to show a warning when idle and hide the warning when interrupted. The warning is displayed and successfully hidden on timeout. However when an interrupt is detected, the countdown stops but the warning still displays. I am using ngif to show/hide the warning.
... in my component.ts constructor
idle.onTimeoutWarning.subscribe((countdown) => {
this.showWarning= true;
this.idleTimer = 'Auto log out in ' + countdown + ' seconds!';
});
It was doing my head, I thought I'm going crazy because on example it works.
I have replicated example on my machine with Angular 6.1.0, Angular CLI 6.2.1 and Typescript 2.9.2 it was working, but then I have removed keepalive and ping - and it was not working!
Appeared that it's problem with Angular view not detecting changes.
Hi, I am trying to show a warning when idle and hide the warning when interrupted. The warning is displayed and successfully hidden on timeout. However when an interrupt is detected, the countdown stops but the warning still displays. I am using ngif to show/hide the warning.
... in my component.ts constructor
...in my html
I am using angular 6.
Thanks!
The text was updated successfully, but these errors were encountered: