Svelte Internet Connection

Connect and disconnect the internet to view the example:



<InternetConnection let:status>
  Status: {status}
</InternetConnection>