Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The change
event fires when connection information changes, and the event is received by the NetworkInformation
object.