getState method
The getState()
method of the NavigationPreloadManager interface
returns a Promise
that resolves to an object with properties that
indicate whether preload is enabled and what value will be sent in the
HTTP header.
Implementation
external JSPromise<NavigationPreloadState> getState();