title: how to find connected WiFi has internet on or off in ionic 3
body: <pre><code>networking() {
    let connectSubscription = this.network.onConnect().subscribe(() =&gt; {
      alert('network connected!');
  
      setTimeout(() =&gt; {
        alert("Your network type "+this.network.type)             
      }, 3000);
    });
  }
  </code></pre>
  
  <blockquote>
    <p>I have connected to WiFi </p>
    
    <p>It's showing connected to WiFi. //that was no problem </p>
    
    <p>So How do I check the status of internet connection of WiFi? i.e. ON or OFF. </p>
    
    <p>In Ionic 3</p>
  </blockquote>
  
  <p>how i can do this???</p>
  
  <p><a href="https://ionicframework.com/docs/v3/native/network/" rel="nofollow noreferrer">ref link</a></p>