title: Cordova trigger offline network event for wifi only
body: <p>I installed the plugin cordova-plugin-network-information
  <a href="http://cordova.apache.org/docs/en/8.x/reference/cordova-plugin-network-information/" rel="nofollow noreferrer">http://cordova.apache.org/docs/en/8.x/reference/cordova-plugin-network-information/</a></p>
  
  <p>it contains an event called "offline". This event triggers fine, but my problem is that it only seems to trigger based on the initial connection that was available at the time of my apps initiation.</p>
  
  <p>For example:</p>
  
  <p>User is on 4G and also has local WiFI connection. I only want the offline to trigger if the WiFi is offline. Currently, it will only trigger if I disable the 4G.</p>
  
  <p>The only way I can get the offline event to fire for the WiFi is if I have the device completely already starting with 4G turned off and WiFi is the only interface on.</p>
  
  <p>Anyone have any ideas on the best way to only monitor wifi offline event?</p>
  
  <p>Thanks</p>