The connectionInfoUpdate handler is executed when information about the signal strength and the link speed have been updated.
Properties
 
  
   | Property | Type | Description | 
 
 
  
   | targetRead only | EventTarget | The event target (the topmost target in the DOM tree). | 
  
   | typeRead only | DOMString | The type of event. | 
  
   | bubblesRead only | boolean | Does the event normally bubble? | 
  
   | cancelableRead only | boolean | Is it possible to cancel the event? | 
  
   | networkRead only | nsIVariant (object) | Network object with an SSID field. | 
  
   | signalStrengthRead only | short (int) | Strength of the signal to network, in dBm between -55 and -100 dBm. | 
  
   | relSignalStrengthRead only | short (int) | Relative signal strength between 0 and 100. | 
  
   | linkSpeedRead only | long (int) | Link speed in Mb/s. | 
  
   | ipAddressRead only | DOMString (string) | Word describing the current status of the wifi manager. See possible values above. | 
 
Example
navigator.wifi.onconnectioninfoupdate = function( event ) {
  console.log( "Currently connnected to '" + event.network.SSID + "' at " + event.linkSpeed + "MB/s" );
};
              
                
                
                  Document Tags and Contributors
  
                    
                    
                       Last updated by:
                      fscholz,