WebUIView.NewWindowRequested WebUIView.NewWindowRequested WebUIView.NewWindowRequested WebUIView.NewWindowRequested WebUIView.NewWindowRequested Event

Definition

Occurs when a user performs an action in the control that causes content to be opened in a new window.

public : event TypedEventHandler<IWebViewControl, WebViewControlNewWindowRequestedEventArgs> NewWindowRequested
// Register
event_token NewWindowRequested(TypedEventHandler<IWebViewControl, WebViewControlNewWindowRequestedEventArgs> const& handler) const;

// Revoke with event_token
void NewWindowRequested(event_token const& cookie) const;

// Revoke with event_revoker
NewWindowRequested_revoker NewWindowRequested(auto_revoke_t, TypedEventHandler<IWebViewControl, WebViewControlNewWindowRequestedEventArgs> const& handler) const;
public event TypedEventHandler<IWebViewControl, WebViewControlNewWindowRequestedEventArgs> NewWindowRequested
Public Event NewWindowRequested As TypedEventHandler (Of IWebViewControl, WebViewControlNewWindowRequestedEventArgs)
function onNewWindowRequested(eventArgs){/* Your code */}


webuiView.addEventListener("newwindowrequested", onNewWindowRequested);
webuiView.removeEventListener("newwindowrequested", onNewWindowRequested);