history.current object

When applicable, provides access to the app's current URL.

Syntax

var object = new Navigation.history.current; // Returns an Object object.

Members

The current object does not define any members.

Remarks

The location array of the current object (that is, WinJS.Navigation.history.current.location) contains, when applicable, the current URL for the Windows app using JavaScript.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

history

See also

history