Vue Event Plugin Listening for Online/Offline Changes

vue-connection-listener

Connection listener is a vue event bus plugin that listens for changes online/offline. When the navigator’s connection state changes, a “connection” event is issued with a logical payload indicating the new state (connected = true, not connected = false). How to make use of it: Installation npm install –save vue-connection-listener Usage import Vue from “Vue”; … Read more