Documentation - v6.7.1
    Preparing search index...

    Interface Navigator

    Extends the standard Navigator with the Network Information API.

    interface Navigator {
        connection?: NetworkInformation;
        onLine: boolean;
    }
    Index
    connection?: NetworkInformation

    Network connection info; may be absent in some browsers.

    onLine: boolean

    Whether the browser is online.