up.Layer up.Layer.prototype.location
Property

This feature is experimental. Please share your experiences so we know what to keep or change.

This layer's location URL.

If the layer has no visible history, this property still returns the URL of the content in the overlay. In this case the browser's address bar will show the location of an ancestor layer.

When up.history.config.enabled turns off the 'location' aspect, this property returns the URL of the rendered content, while the address bar keeps its URL.


Value

location

The layer's current location.

Type: string