WebUIView.ScriptNotify 이벤트

정의

컨트롤에 포함된 콘텐츠가 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

이벤트 유형

구현

적용 대상