다음을 통해 공유


NavigationCompletedEvent object

Note

The features described in this document are no longer being maintained. For more information on the new WebView2 control, see Introduction to Microsoft Edge WebView2 (Preview).

An object that represents an event fired when the webview has finished loading the current content or if navigation has failed.

Properties

uri

The Uniform Resource Identifier (URI) of the navigation.

This property is read-only.

var uri = NavigationCompletedEvent.uri;

Property value

Type: DOMString

isSuccess

Gets a value that indicates whether the navigation completed successfully.

This property is read-only.

var isSuccess = NavigationCompletedEvent.isSuccess;

Property value

Type: Boolean

webErrorStatus

If the navigation was unsuccessful, gets a value that indicates why.

This property is read-only.

var webErrorStatus = NavigationCompletedEvent.webErrorStatus;

Property value

Type: unsigned long