Join egghead, unlock knowledge.

Want more egghead?

This lesson is for members. Join us? Get access to all 3,000+ tutorials + a community with expert developers around the world.

Unlock This Lesson
1×
Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.

Autoplay

    Check Online Status by using the NavigatorOnLine API

    vueVue.js
    ^2.5.2

    Even if you have your application fully cached, you couldn’t perform any external request without internet connection. That’s why in order to build an offline-capable application, you must know when it’s actually offline.

    This lesson shows you how to use the NavigatorOnLine API and online/offline events in order to disable the functionality to send messages of the application.