ServiceWorkerRegistration.navigationPreload

The navigationPreload read-only property of the ServiceWorkerRegistration interface returns the NavigationPreloadManager associated with the current service worker registration.

Syntax

var navigationPreloadManager = serviceWorkerRegistration.navigationPreload;

Value

An instance of NavigationPreloadManager.

Specifications

Specification Status Comment
Service Workers
The definition of 'navigationPreload' in that specification.
Working Draft Initial definition.

Browser compatibility

BCD tables only load in the browser