Edit this page

up.network up.network.loadPage(options)
JavaScript function

This feature is experimental. It may be changed or removed in a future version.

Makes a full-page request, replacing the entire browser environment with a new page from the server response.

Aborts all pending requests.

Also see up.Request#loadPage().

Parameters

options.url string

The URL to load.

[options.method='get'] string optional

The method for the request.

Methods other than GET or POST will be wrapped in a POST request.

[options.params] Objectorup.ParamsorFormDataorstringorArray optional

Parameters that should be sent as the request's query string or payload.

When making a GET request to a URL with a query string, the given { params } will be added to the query parameters.