Movatterモバイル変換


[0]ホーム

URL:


CefSharp API Doc
CefSharp API Doc
Namespaces
CefSharp
IJsDialogHandler Interface
IJsDialogHandler Methods
Click or drag to resizeClick or drag to resize

IJsDialogHandler Interface

Version 118.6.80
Implement this interface to handle events related to JavaScript dialogs. The methods of this class will be called on the CEF UI thread.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)
Syntax
publicinterfaceIJsDialogHandler
publicinterface classIJsDialogHandler

TheIJsDialogHandler type exposes the following members.

Methods
 NameDescription
Public methodOnBeforeUnloadDialog
Called 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 executecallback once the custom dialog is dismissed.
Public methodOnDialogClosed
Called when the dialog is closed.
Public methodOnJSDialog
Called to run a JavaScript dialog.
Public methodOnResetDialogState
Called 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 Also

Reference

CefSharp Namespace

https://raw.githubusercontent.com/cefsharp/CefSharp/master/LICENSE


[8]ページ先頭

©2009-2025 Movatter.jp