WebKit2.ScriptDialog.prototype.get_dialog_type

function get_dialog_type(): WebKit2.ScriptDialogType {
    // Gjs wrapper for webkit_script_dialog_get_dialog_type()
}
  

Get the dialog type of a WebKit2.ScriptDialog.

Returns

the WebKit2.ScriptDialogType of dialog