Page 1 of 1

Bind an event to Network Online / Offline

Posted: Fri Feb 06, 2015 6:06 am
by M&M

Is it possible that I can bind an event which fires when the network goes offline and comes online?

The reason I want to do that is I don't want to regularly poll the network status. Polling is generally bad idea - unless there is absolutely no choice.


Bind an event to Network Online / Offline

Posted: Fri Feb 06, 2015 6:47 am
by Evgene Karachevtsev

Hello M&M,

[quote:]Is it possible that I can bind an event which fires when the network goes offline and comes online?[/quote]
Yes, exact the same event names you can see for the page component.


Bind an event to Network Online / Offline

Posted: Fri Feb 06, 2015 7:10 am
by M&M

cool thanks. it seems to be new addition. I don't remember having seen it earlier :-)

Thanks Evgene