WebKit2.WebView::enter-fullscreen

connect('enter-fullscreen', function (webView, ): Boolean);
  

Emitted when JavaScript code calls <function>element.webkitRequestFullScreen</function>. If the signal is not handled the WebKit2.WebView will proceed to full screen its top level window. This signal can be used by client code to request permission to the user prior doing the full screen transition and eventually prepare the top-level window (e.g. hide some widgets that would otherwise be part of the full screen window).

webView

instance of WebKit2.WebView that is emitting the signal

Returns

true to stop other handlers from being invoked for the event. false to continue emission of the event.