WebKit2.WebView::run-as-modal

connect('run-as-modal', function (webView, ): void);
  

Emitted after WebKit2.WebView::ready-to-show on the newly created WebKit2.WebView when JavaScript code calls <function>window.showModalDialog</function>. The purpose of this signal is to allow the client application to prepare the new view to behave as modal. Once the signal is emitted a new mainloop will be run to block user interaction in the parent WebKit2.WebView until the new dialog is closed.

webView

instance of WebKit2.WebView that is emitting the signal