WebUIView.ScriptNotify Evento

Definición

Se produce cuando el contenido contenido del control pasa una cadena a la aplicación mediante JavaScript.

// Register
event_token ScriptNotify(TypedEventHandler<IWebViewControl, WebViewControlScriptNotifyEventArgs const&> const& handler) const;

// Revoke with event_token
void ScriptNotify(event_token const* cookie) const;

// Revoke with event_revoker
WebUIView::ScriptNotify_revoker ScriptNotify(auto_revoke_t, TypedEventHandler<IWebViewControl, WebViewControlScriptNotifyEventArgs const&> const& handler) const;
public event TypedEventHandler<IWebViewControl,WebViewControlScriptNotifyEventArgs> ScriptNotify;
function onScriptNotify(eventArgs) { /* Your code */ }
webUIView.addEventListener("scriptnotify", onScriptNotify);
webUIView.removeEventListener("scriptnotify", onScriptNotify);
- or -
webUIView.onscriptnotify = onScriptNotify;
Public Custom Event ScriptNotify As TypedEventHandler(Of IWebViewControl, WebViewControlScriptNotifyEventArgs) Implements ScriptNotify

Tipo de evento

Implementaciones

Se aplica a