当前位置: 动力学知识库 > 问答 > 编程问答 >

angularjs - How to detect slow connection/no connection in angular js?

问题描述:

I need to do the following in angular js app:

When user uses a phone, he might be in a place where the connection is too slow, i want to do a simple popup that behave like this:

If connection is slow/connection is not exist at all for the time, the popup shows, when things come back to normal (there is a response, a good response), the popup should be removed.

Is it possible?

分享给朋友:
您可能感兴趣的文章:
随机阅读: