WebKit2.ScriptDialog.prototype.prompt_get_default_text
function prompt_get_default_text(): String { // Gjs wrapper for webkit_script_dialog_prompt_get_default_text() }
Get the default text of a WebKit2.ScriptDialog of type WebKit2.ScriptDialogType.prompt. It's an error to use this method with a WebKit2.ScriptDialog that is not of type WebKit2.ScriptDialogType.prompt.
- Returns
the default text of dialog