Reactar a conexão com a Internet de verificação
// Trigger sth, when Connection comes back | Connection gets lost
function poopityScoop(){
window.ononline = (event) => {
console.log("Back Online")
};
window.onoffline = (event) => {
console.log("Connection Lost")
};
}
Light Lemur