down.js
Detects when the user connection goes down
Usage
ES6
; const down = ;
CDN
API
const down = ; thisisOnline = !this$downisDown;this$down; this$down;
Compatability
This library requires a polyfill for fetch
.
Detects when the user connection goes down
ES6
; const down = ;
CDN
const down = ; thisisOnline = !this$downisDown;this$down; this$down;
This library requires a polyfill for fetch
.
npm i down.js
1
0.0.0
MIT
5.29 kB
4