Network Information API

Overview

Network Information API allows web apps to access information about the network connection in use by the device.

This can be used to serve high definition content or low definition content based on the network connection.

Demo

https://nectar.website/demo/web-apis/network-information/

Usage

You can refer to the code present in /partials/web-apis/network-information.html file and use it accordingly.

Reference

https://developer.mozilla.org/en-US/docs/Web/API/Network_Information_API

Last updated