jrquick17 / ng-speed-test

A light weight Angular 2+ library for checking internet speed
https://ng-speed-test.jrquick.com
MIT License
12 stars 3 forks source link

Throws error when internet is not available(offline mode) #5

Closed sksaifuddin closed 4 years ago

sksaifuddin commented 4 years ago

When the system is offline or there is no internet available it throws error ng-speed-test: Error downloading file.

It will be great if it first check internet availability and for no internet it should return speed 0. It will be also good to have if as soon as system get online the function gets triggered and it returns speed.

jrquick17 commented 4 years ago

This has been added in v1.3.0.

Thanks!