I am using Angular 4 for my application development. I need to check If the network connection is available for its have any Connection issue using Angular for. Is it possib
You do not have to use any library for this, you can use navigator global object like window. You can use in in angular4
navigator
public onlineOffline: boolean = navigator.onLine;