🔛 Angular 5+ Detect Online/Offline State Javascript

ngx online status is an Angular 5+ Module to track online and offline state.

online offline status, navigator online javascript, navigator online not working, onlineoffline indicator css, react check online status, navigator online not working in android

Slim Progress Bars Library For Vanilla JavaScript | qier-progress

How to make use of it:


npm install ngx-online-status --save

Import OnlineStatusModule to your module.

import { OnlineStatusModule } from 'ngx-online-status';

  declarations: [
    // ...
  imports: [
  providers: [

Inject OnlineStatusService and use it:

import { OnlineStatusService, OnlineStatusType } from 'ngx-online-status';

export class AppComponent {
  status: OnlineStatusType;

  constructor(private onlineStatusService: OnlineStatusService) {
    this.onlineStatusService.status.subscribe((status: OnlineStatusType) => {
      // use status
      this.status = status;

Detect Online/Offline State, ngx online status Plugin/Github

See Demo And Download

Official Website(VadimDez): Click Here

This superior jQuery/javascript plugin is developed by VadimDez. For extra Advanced Usages, please go to the official website.

Related Posts


A Quick jQuery-Based Country Picker With Flags | Country Select JS

Country Select JS is a jQuery plugin to select a country, based on the international phone input plugin. Adds a flag dropdown to any input, which lists…


Simple and Fast Autocomplete and Typeahead Javascript Library | autoComplete.js

autoComplete.js is a simple, pure, and incrementally designed JavaScript library for speed, high versatility, and seamless integration with a wide variety of projects and systems. Features Pure…


Bootstrap Notification Message Alert Plugin with jQuery

BootstrapMsg is a jQuery plugin for displaying messages with Bootstrap alert classes to generate hierarchical in-page navigation for an extended webpage sectioned by heading components. Using Bootstrap…


jQuery Plugin for Transforming HTML Tables Into Charts Using Google Charts

Chartinator is a jQuery plugin for converting HTML tables, Google Sheets and js arrays into charts using Google Charts. Use data from HTML tables Chartinator is designed…


Customizable & Composable Charts for VueJS | vue-wcharts

WCharts is a library that makes it easy to create your own charts using Vuejs. You can easily create reusable chart components. Use a basic layout or…


A Modern GIF | Emoji Picker Vue3 Components For Your App

vue3 discord picker is a new emoji/gif picker for your app! based on disagreement. This component is only available in vue3. Reworking the Print and Configuration API….