NavigationPrecommitController Class

https://html.spec.whatwg.org/multipage/nav-history-apis.html#the-navigationprecommitcontroller-interface

public sealed class NavigationPrecommitController

Methods

NameDescription
AddHandler(NavigationInterceptHandler)https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationprecommitcontroller-addhandler
Redirect(string, NavigationNavigateOptions?)https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationprecommitcontroller-redirect

AddHandler(NavigationInterceptHandler)

NavigationApi.cs

https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationprecommitcontroller-addhandler

public void AddHandler(NavigationInterceptHandler handler)

Redirect(string, NavigationNavigateOptions?)

NavigationApi.cs

https://html.spec.whatwg.org/multipage/nav-history-apis.html#dom-navigationprecommitcontroller-redirect

public void Redirect(string url, NavigationNavigateOptions? options = null)