Implement this interface to handle events related to JavaScript dialogs. The methods of this class will be called on the CEF UI thread.
Namespace: CefSharpCefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntaxpublic interface IJsDialogHandler
public interface class IJsDialogHandler
The IJsDialogHandler type exposes the following members.
Methods Name Description OnBeforeUnloadDialogCalled to run a dialog asking the user if they want to leave a page. Return false to use the default dialog implementation. Return true if the application will use a custom dialog or if the callback has been executed immediately. Custom dialogs may be either modal or modeless. If a custom dialog is used the application must execute callback once the custom dialog is dismissed.
OnDialogClosedCalled when the dialog is closed.
OnJSDialogCalled to run a JavaScript dialog.
OnResetDialogStateCalled to cancel any pending dialogs and reset any saved dialog state. Will be called due to events like page navigation irregardless of whether any dialogs are currently pending.
Top See AlsoRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4