alexcrack / alexcrack/angular-ui-notification

Notificiation appears when comeback to the browser

オープン
#122 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
529
フォーク
164
PR マージ指標
30日以内にマージされた PR はありません

説明

HI
I have timer to get data from server in evrey second
if the request is fail i generate error notif and when one of the request is ok i use . "clearAll()" . functon to remove the error message.

the problem is when the notification was in the background and im not on the page , and the connection lost and and comeback and I m still on othe page when I come back to the page I got the error message for second and then clear all again . .. event the connection is good for a while.

how can I make sure that will not happen

in error I call to . Notification.error and change the flag to true
and in success i use clearAll . and change the flag .

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。