Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

online/offline can also be used as events and are not covered by (only boolean property is covered) #4633

PrimeLens opened this issue Nov 20, 2018 · 0 comments


Copy link

PrimeLens commented Nov 20, 2018

Steps to Replicate

  1. go to and in the search field type online
  2. you will see search result for online/offline status boolean
  3. online/offline event is missing

Example usage of event
window.addEventListener('online', function(){console.log('online')});
window.addEventListener('offline', function(){console.log('offline')});
// then turn your wifi on and off and view console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants