try_close


Description:

[ Version ( since = "2.12" ) ]
public void try_close ()

Tries to close the this.

This will fire the onbeforeunload event to ask the user for confirmation to close the page. If there isn't an onbeforeunload event handler or the user confirms to close the page, the close signal is emitted, otherwise nothing happens.

Parameters:

this

a WebView